Thread (79 messages) 79 messages, 4 authors, 2026-03-06

Re: [PATCH v9 10/30] KVM: arm64: Document the KVM ABI for SME

From: Mark Brown <broonie@kernel.org>
Date: 2026-02-16 17:56:06
Also in: kvm, kvmarm, linux-doc, linux-kselftest, lkml

On Mon, Feb 09, 2026 at 03:18:43PM +0000, Peter Maydell wrote:
On Tue, 23 Dec 2025 at 01:22, Mark Brown [off-list ref] wrote:
A late reply, but I just noticed that the cover letter says:
quoted
Userspace access to ZA and (if configured) ZT0 is always available, they
will be zeroed when the guest runs if disabled in SVCR and the value
read will be zero if the guest stops with them disabled. This mirrors
the behaviour of the architecture, enabling access causes ZA and ZT0 to
be zeroed, while allowing access to SVCR, ZA and ZT0 to be performed in
any order.
but the doc patch itself says:
quoted
+Access to the ZA and ZT0 registers is only available if SVCR.ZA is set
+to 1.
Which one is the intention here ?
I guess the second if we're going with the approach of making everything
depend on the state of SVCR, it's less pressing to do so than with
SVCR.SM but it'd be consistent.  I'll update, thanks for spotting this.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help