diff options
author | Punit Agrawal <punit.agrawal@arm.com> | 2018-12-11 20:10:34 +0300 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2018-12-18 18:14:46 +0300 |
commit | 3f58bf63455588a260b6abc8761c48bc8977b919 (patch) | |
tree | fbc5d4c5ae2b96bb06961ae195461480a7c2f960 /lib/earlycpio.c | |
parent | 60c3ab30d8c2ff3a52606df03f05af2aae07dc6b (diff) | |
download | linux-3f58bf63455588a260b6abc8761c48bc8977b919.tar.xz |
KVM: arm/arm64: Share common code in user_mem_abort()
The code for operations such as marking the pfn as dirty, and
dcache/icache maintenance during stage 2 fault handling is duplicated
between normal pages and PMD hugepages.
Instead of creating another copy of the operations when we introduce
PUD hugepages, let's share them across the different pagesizes.
Signed-off-by: Punit Agrawal <punit.agrawal@arm.com>
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Reviewed-by: Christoffer Dall <christoffer.dall@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'lib/earlycpio.c')
0 files changed, 0 insertions, 0 deletions