]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: arm64: Restrict ACCDATA_EL1 undef to FEAT_LS64_ACCDATA being disabled
authorMarc Zyngier <maz@kernel.org>
Wed, 3 Jul 2024 15:41:47 +0000 (16:41 +0100)
committerMarc Zyngier <maz@kernel.org>
Tue, 6 May 2025 16:35:19 +0000 (17:35 +0100)
commit9308d0b1d7abe36f0ee2052b0ffceb7869e83f8e
treeeef25f660c61f9485a6735477dc47609e40f79f8
parent2e04378f1a766b9a8962004962d32e5df06a5707
KVM: arm64: Restrict ACCDATA_EL1 undef to FEAT_LS64_ACCDATA being disabled

We currently unconditionally make ACCDATA_EL1 accesses UNDEF.

As we are about to support it, restrict the UNDEF behaviour to cases
where FEAT_LS64_ACCDATA is not exposed to the guest.

Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/sys_regs.c