]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: Disable hierarchical permissions when POE is enabled
authorMarc Zyngier <maz@kernel.org>
Wed, 23 Oct 2024 14:53:42 +0000 (15:53 +0100)
committerOliver Upton <oliver.upton@linux.dev>
Thu, 31 Oct 2024 02:44:22 +0000 (02:44 +0000)
commit8a9b304d7e2276a0ebb60a23cdcf7d348052752f
tree35aa4dc274e28fe93121bf881c3d88444a9fa6f9
parent846c993df98278ce18b80183d78b5c1ca8b14f5c
KVM: arm64: Disable hierarchical permissions when POE is enabled

The hierarchical permissions must be disabled when POE is enabled
in the translation regime used for a given table walk.

We store the two enable bits in the s1_walk_info structure so that
they can be retrieved down the line, as they will be useful.

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