]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: arm64: Expand valid block mappings to FEAT_LPA/LPA2 support
authorMarc Zyngier <maz@kernel.org>
Mon, 28 Jul 2025 15:29:56 +0000 (16:29 +0100)
committerMarc Zyngier <maz@kernel.org>
Sat, 20 Sep 2025 10:05:13 +0000 (11:05 +0100)
commit5da3a3b27a0108562547086e0ba7d9593f147cfe
tree19373651e8a77fe32b5581e20d8d52b4b7d22551
parentdd82412c2b2b30bf4aa08ef069eb38c7795cd9b8
KVM: arm64: Expand valid block mappings to FEAT_LPA/LPA2 support

With 52bit PAs, block mappings can exist at different levels (such
as level 0 for 4kB pages, or level 1 for 16kB and 64kB pages).

Account for this in walk_s1().

Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/at.c