KVM: arm64: nv: Make AT+PAN instructions aware of FEAT_PAN3
authorMarc Zyngier <maz@kernel.org>
Sat, 20 Jul 2024 21:06:00 +0000 (22:06 +0100)
committerMarc Zyngier <maz@kernel.org>
Fri, 30 Aug 2024 11:04:20 +0000 (12:04 +0100)
commitd95bb9ef164edb33565cb73e3f0b0a581b3e4fbb
tree1873801519042931153d7be9d86a73abc8662522
parent2441418f3aadb3f9232431aeb10d89e48a934d94
KVM: arm64: nv: Make AT+PAN instructions aware of FEAT_PAN3

FEAT_PAN3 added a check for executable permissions to FEAT_PAN2.
Add the required SCTLR_ELx.EPAN and descriptor checks to handle
this correctly.

Reviewed-by: Alexandru Elisei <alexandru.elisei@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/at.c