diff options
author | Punit Agrawal <punit.agrawal@arm.com> | 2018-12-11 18:10:34 +0100 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2018-12-18 16:14:46 +0100 |
commit | 3f58bf63455588a260b6abc8761c48bc8977b919 (patch) | |
tree | fbc5d4c5ae2b96bb06961ae195461480a7c2f960 /drivers/misc/cardreader | |
parent | KVM: arm/arm64: vgic-v2: Set active_source to 0 when restoring state (diff) | |
download | linux-3f58bf63455588a260b6abc8761c48bc8977b919.tar.xz linux-3f58bf63455588a260b6abc8761c48bc8977b919.zip |
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 'drivers/misc/cardreader')
0 files changed, 0 insertions, 0 deletions