diff options
author | Steve Capper <steve.capper@linaro.org> | 2013-05-17 11:32:55 (GMT) |
---|---|---|
committer | Steve Capper <steve.capper@linaro.org> | 2013-06-04 15:52:37 (GMT) |
commit | dde1b65110353517816bcbc58539463396202244 (patch) | |
tree | 53521a163ffd1110ea6a22cb0a9c2b62fee1198e /arch/arm/mm | |
parent | e4aa937ec75df0eea0bee03bffa3303ad36c986b (diff) | |
download | linux-fsl-qoriq-dde1b65110353517816bcbc58539463396202244.tar.xz |
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>
Diffstat (limited to 'arch/arm/mm')
0 files changed, 0 insertions, 0 deletions