]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: Handle stage-1 permission overlays
authorMarc Zyngier <maz@kernel.org>
Wed, 23 Oct 2024 14:53:44 +0000 (15:53 +0100)
committerOliver Upton <oliver.upton@linux.dev>
Thu, 31 Oct 2024 02:44:23 +0000 (02:44 +0000)
commite39ce7033c70df5e402b47dd248137878df6c771
treef0114e6cf1c15fa22da7b45af6dae31d84103711
parent7cd5c2796cb039aaa43d3f16d875bb7d60b2c1b0
KVM: arm64: Handle stage-1 permission overlays

We now have the intrastructure in place to emulate S1POE:

- direct permissions are always overlay-capable
- indirect permissions are overlay-capable if the permissions are
  in the 0b0xxx range
- the overlays are strictly substractive

Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20241023145345.1613824-37-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/kvm/at.c