]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
kvm: arm64: Limit the minimum number of page table levels
authorSuzuki K Poulose <suzuki.poulose@arm.com>
Wed, 26 Sep 2018 16:32:53 +0000 (17:32 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 3 Oct 2018 10:45:14 +0000 (11:45 +0100)
commit58b3efc820acd3219e89ff014e93346a734229b8
treefd7e6d712ea2f7f759e2d3ee4f2426727cabf1e3
parent0f62f0e95be29200ab2ab98ca870e22c9b148dfa
kvm: arm64: Limit the minimum number of page table levels

Since we are about to remove the lower limit on the IPA size,
make sure that we do not go to 1 level page table (e.g, with
32bit IPA on 64K host with concatenation) to avoid splitting
the host PMD huge pages at stage2.

Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Christoffer Dall <cdall@kernel.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/include/asm/stage2_pgtable.h
arch/arm64/kvm/reset.c