]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: arm64: Add KVM_PGTABLE_S2_AS_S1 flag
authorMarc Zyngier <maz@kernel.org>
Fri, 23 Jan 2026 19:16:34 +0000 (19:16 +0000)
committerMarc Zyngier <maz@kernel.org>
Sun, 25 Jan 2026 16:17:21 +0000 (16:17 +0000)
commit17d7b15131f3ed7fff29f2a43b6ead547e495653
treede891068fa6ddad07b7c983d02b9a268365093fe
parentd4236f1ef270347b26ed34bcd0eb28d285b86bcb
KVM: arm64: Add KVM_PGTABLE_S2_AS_S1 flag

Plumb the MT_S2{,_FWB}_AS_S1 memory types into the KVM_S2_MEMATTR()
macro with a new KVM_PGTABLE_S2_AS_S1 flag.

Nobody selects it yet.

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