linux_dsm_epyc7002/arch/arm64
Marc Zyngier 3fb884ffe9 KVM: arm64: Do not try to map PUDs when they are folded into PMD
For the obscure cases where PMD and PUD are the same size
(64kB pages with 42bit VA, for example, which results in only
two levels of page tables), we can't map anything as a PUD,
because there is... erm... no PUD to speak of. Everything is
either a PMD or a PTE.

So let's only try and map a PUD when its size is different from
that of a PMD.

Cc: stable@vger.kernel.org
Fixes: b8e0ba7c8b ("KVM: arm64: Add support for creating PUD hugepages at stage 2")
Reported-by: Gavin Shan <gshan@redhat.com>
Reported-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Alexandru Elisei <alexandru.elisei@arm.com>
Reviewed-by: Gavin Shan <gshan@redhat.com>
Tested-by: Gavin Shan <gshan@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Alexandru Elisei <alexandru.elisei@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
2020-09-04 10:52:49 +01:00
..
boot ARM: new SoC support for v5.9 2020-08-03 19:38:30 -07:00
configs ARM: SoC driver updates for v5.9 2020-08-03 19:30:59 -07:00
crypto
include arm64/x86: KVM: Introduce steal-time cap 2020-08-21 14:05:19 +01:00
kernel PPC: 2020-08-12 12:25:06 -07:00
kvm KVM: arm64: Do not try to map PUDs when they are folded into PMD 2020-09-04 10:52:49 +01:00
lib
mm mm/arm64: use general page fault accounting 2020-08-12 10:58:03 -07:00
net bpf, arm64: Add BPF exception tables 2020-07-31 00:43:40 +02:00
xen
Kbuild
Kconfig KVM/arm64 updates for Linux 5.9: 2020-08-09 12:58:23 -04:00
Kconfig.debug
Kconfig.platforms ARM: new SoC support for v5.9 2020-08-03 19:38:30 -07:00
Makefile arm64 and cross-arch updates for 5.9: 2020-08-03 14:11:08 -07:00