aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2020-09-02 11:18:29 +0100
committerMarc Zyngier <[email protected]>2020-09-04 10:52:49 +0100
commit3fb884ffe921c99483a84b0175f3c03f048e9069 (patch)
treeb7a5ffc84ac51399649c443659283543ed381423 /lib/mpi
parent004a01241c5a0d375266ebf1c72f208de99294e9 (diff)
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: [email protected] Fixes: b8e0ba7c8bea ("KVM: arm64: Add support for creating PUD hugepages at stage 2") Reported-by: Gavin Shan <[email protected]> Reported-by: Eric Auger <[email protected]> Reviewed-by: Alexandru Elisei <[email protected]> Reviewed-by: Gavin Shan <[email protected]> Tested-by: Gavin Shan <[email protected]> Tested-by: Eric Auger <[email protected]> Tested-by: Alexandru Elisei <[email protected]> Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions