aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mm/dma-mapping.c
diff options
context:
space:
mode:
authorSteve Capper <steve.capper@linaro.org>2013-05-17 12:32:55 +0100
committerChristoffer Dall <christoffer.dall@linaro.org>2014-10-02 20:24:58 +0200
commit6ea0cfc5fd25e82d2bdb101cff47c86c30200927 (patch)
treea256169d239a186e9522525eb36de4b64aa68abf /arch/arm/mm/dma-mapping.c
parent8bb495e3f02401ee6f76d1b1d77f3ac9f079e376 (diff)
ARM: mm: correct pte_same behaviour for LPAE.
For 3 levels of paging the PTE_EXT_NG bit will be set for user address ptes that are written to a page table but not for ptes created with mk_pte. This can cause some comparison tests made by pte_same to fail spuriously and lead to other problems. To correct this behaviour, we mask off PTE_EXT_NG for any pte that is present before running the comparison. Signed-off-by: Steve Capper <steve.capper@linaro.org> Reviewed-by: Will Deacon <will.deacon@arm.com> (cherry picked from commit dde1b65110353517816bcbc58539463396202244) Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'arch/arm/mm/dma-mapping.c')
0 files changed, 0 insertions, 0 deletions