]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: arm64: Switch pKVM host S2 over to KVM_PGTABLE_S2_AS_S1
authorMarc Zyngier <maz@kernel.org>
Fri, 23 Jan 2026 19:16:35 +0000 (19:16 +0000)
committerMarc Zyngier <maz@kernel.org>
Sun, 25 Jan 2026 16:17:21 +0000 (16:17 +0000)
commita373930ec9406aeb9f82b5b78db56ca8d0919d99
treeedbacedaae35d0134a9909698ba31d982b066376
parent17d7b15131f3ed7fff29f2a43b6ead547e495653
KVM: arm64: Switch pKVM host S2 over to KVM_PGTABLE_S2_AS_S1

Since we have the basics to use the S1 memory attributes as the
final ones with FWB, flip the host over to that when FWB is present.

Reviewed-by: Joey Gouly <joey.gouly@arm.com>
Tested-by: Fuad Tabba <tabba@google.com>
Reviewed-by: Fuad Tabba <tabba@google.com>
Link: https://patch.msgid.link/20260123191637.715429-4-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/hyp/nvhe/mem_protect.c