[PATCH 0/2] ARM: fix the pmd_mknotpresent definition
Catalin Marinas
catalin.marinas at arm.com
Tue May 31 09:37:38 PDT 2016
Following discussions on the LKML few months ago:
http://lkml.iu.edu/hypermail/linux/kernel/1602.3/01844.html
we need to adjust the LPAE pmd_mknotpresent() so that it does not clash
with the pmd_none() definition (IOW, we should allow !pmd_none() &&
!pmd_present() after pmd_mknotpresent()). This requires that
pmd_present() checks the L_PMD_SECT_VALID bit instead of a non-zero
value (similar commit for arm64: 5bb1cc0ff9a6 "arm64: Ensure
pmd_present() returns false after pmd_mknotpresent()")
Steve Capper (1):
ARM: mm: Fix definition of pmd_mknotpresent
Will Deacon (1):
ARM: mm: ensure pmd_present only checks the valid bit
arch/arm/include/asm/pgtable-2level.h | 1 +
arch/arm/include/asm/pgtable-3level.h | 5 +++--
arch/arm/include/asm/pgtable.h | 1 -
3 files changed, 4 insertions(+), 3 deletions(-)
More information about the linux-arm-kernel
mailing list