KVM: arm64: Mark PAuth as a restricted feature for protected VMs
authorFuad Tabba <tabba@google.com>
Thu, 14 Dec 2023 10:01:56 +0000 (10:01 +0000)
committerMarc Zyngier <maz@kernel.org>
Mon, 18 Dec 2023 11:25:51 +0000 (11:25 +0000)
commit21de26dbc5170dde8e4dfbfa1ecb77804ed6a377
tree37d3a5be0ed53b84c928f7ebe5f3afd2f87ff201
parent73e3ce3f4a0e561e24ca71b20de00f03b427981e
KVM: arm64: Mark PAuth as a restricted feature for protected VMs

Protected VMs will only support basic PAuth (FEAT_PAuth). Mark it
as restricted to ensure that later versions aren't supported for
protected guests.

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