KVM: arm64: Fix which features are marked as allowed for protected VMs
authorFuad Tabba <tabba@google.com>
Thu, 14 Dec 2023 10:01:55 +0000 (10:01 +0000)
committerMarc Zyngier <maz@kernel.org>
Mon, 18 Dec 2023 11:25:51 +0000 (11:25 +0000)
commit73e3ce3f4a0e561e24ca71b20de00f03b427981e
treed778c56d03117f19e3cff8ab589ecb45df624f7e
parent0ccd901da1886cf9dc53ab36ad8f1160b65e41f1
KVM: arm64: Fix which features are marked as allowed for protected VMs

Cache maintenance operations are not trapped for protected VMs,
and shouldn't be. Mark them as allowed.

Moreover, features advertised by ID_AA64PFR2 and ID_AA64MMFR3 are
(already) not allowed, mark them as such.

Signed-off-by: Fuad Tabba <tabba@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20231214100158.2305400-16-tabba@google.com
arch/arm64/kvm/hyp/include/nvhe/fixed_config.h