]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: Implement AT S1PIE support
authorMarc Zyngier <maz@kernel.org>
Wed, 23 Oct 2024 14:53:29 +0000 (15:53 +0100)
committerOliver Upton <oliver.upton@linux.dev>
Thu, 31 Oct 2024 02:44:21 +0000 (02:44 +0000)
commit364c081029a68b47e0ecb475a0cf337a89c9f960
tree2474da19c6807100184b35e2022ad3fbc97cd6d1
parent5e21b297872237a96a23b637e670548987a09bb9
KVM: arm64: Implement AT S1PIE support

It doesn't take much effort to implement S1PIE support in AT.

It is only a matter of using the AArch64.S1IndirectBasePermissions()
encodings for the permission, ignoring GCS which has no impact on AT,
and enforce FEAT_PAN3 being enabled as this is a requirement of
FEAT_S1PIE.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Joey Gouly <joey.gouly@arm.com>
Link: https://lore.kernel.org/r/20241023145345.1613824-22-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/kvm/at.c