]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: arm64: Simplify PAGE_S2_MEMATTR
authorMarc Zyngier <maz@kernel.org>
Fri, 23 Jan 2026 19:16:37 +0000 (19:16 +0000)
committerMarc Zyngier <maz@kernel.org>
Sun, 25 Jan 2026 16:17:21 +0000 (16:17 +0000)
commit65d00e37b17f46a21e7a25e0fb211a4c33274a83
tree1619d3fa1ec73ca1d87ce1173e6066125f8afc59
parent4f27fe82aa304c50b24f92da72b4895cf73b54ba
KVM: arm64: Simplify PAGE_S2_MEMATTR

Restore PAGE_S2_MEMATTR() to its former glory, keeping the use of
FWB as an implementation detail.

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-6-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/pgtable-prot.h
arch/arm64/kvm/hyp/pgtable.c