[PATCH v14 3/5] KVM: arm64: Manage GCS access and registers for guests

Mark Brown broonie at kernel.org
Sat Oct 5 07:26:38 PDT 2024


On Sat, Oct 05, 2024 at 03:02:09PM +0100, Marc Zyngier wrote:
> Mark Brown <broonie at kernel.org> wrote:

> > Ah, I see.  I'd been under the impression that the generic machinery was
> > supposed to handle this already using the descriptions in
> > emulate-nested.c and we only needed handlers for more specific actions.

> From that very file:

> /*
>  * Map encoding to trap bits for exception reported with EC=0x18.
>  [...]
>  */

> Everything else needs special handling.

I see.  I had noticed that comment on that table but I didn't register
that the comment wound up applying to the whole file rather than being
about a specific part of the handling.  I'm a bit confused about how
things like the SVE traps I mentioned work here...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20241005/220c9c58/attachment.sig>


More information about the linux-arm-kernel mailing list