KVM: arm64: nv: Add support for FEAT_ATS1A
authorMarc Zyngier <maz@kernel.org>
Sun, 23 Jun 2024 09:46:45 +0000 (10:46 +0100)
committerMarc Zyngier <maz@kernel.org>
Fri, 30 Aug 2024 11:04:20 +0000 (12:04 +0100)
commitff987ffc0c18c98f05ddc7696d56bb493b994450
treef23a58542bbe4dfb6181b57972a2d27440b02e68
parent8df747f4f3a5c680e3c0e68af3487b97343ca80a
KVM: arm64: nv: Add support for FEAT_ATS1A

Handling FEAT_ATS1A (which provides the AT S1E{1,2}A instructions)
is pretty easy, as it is just the usual AT without the permission
check.

This basically amounts to plumbing the instructions in the various
dispatch tables, and handling FEAT_ATS1A being disabled in the
ID registers.

Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/sysreg.h
arch/arm64/kvm/at.c
arch/arm64/kvm/emulate-nested.c
arch/arm64/kvm/sys_regs.c