summaryrefslogtreecommitdiff
path: root/arch/arm64/kvm/hyp/switch.c
diff options
context:
space:
mode:
authorSuzuki K Poulose <suzuki.poulose@arm.com>2019-01-29 19:12:17 +0000
committerMarc Zyngier <marc.zyngier@arm.com>2019-02-07 11:44:47 +0000
commit280cebfd05c8e381a392c662006dfaa6377feefc (patch)
tree625f789034b7d12fc9559d021923401e863530e4 /arch/arm64/kvm/hyp/switch.c
parent309a205688060fbb000e9402078cf53cebde0793 (diff)
KVM: arm64: Relax the restriction on using stage2 PUD huge mapping
We restrict mapping the PUD huge pages in stage2 to only when the stage2 has 4 level page table, leaving the feature unused with the default IPA size. But we could use it even with a 3 level page table, i.e, when the PUD level is folded into PGD, just like the stage1. Relax the condition to allow using the PUD huge page mappings at stage2 when it is possible. Cc: Christoffer Dall <christoffer.dall@arm.com> Reviewed-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm64/kvm/hyp/switch.c')
0 files changed, 0 insertions, 0 deletions