linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] ARM: fix the pmd_mknotpresent definition
@ 2016-05-31 16:37 Catalin Marinas
  2016-05-31 16:37 ` [PATCH 1/2] ARM: mm: ensure pmd_present only checks the valid bit Catalin Marinas
  2016-05-31 16:37 ` [PATCH 2/2] ARM: mm: Fix definition of pmd_mknotpresent Catalin Marinas
  0 siblings, 2 replies; 3+ messages in thread
From: Catalin Marinas @ 2016-05-31 16:37 UTC (permalink / raw)
  To: linux-arm-kernel

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(-)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-05-31 16:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-31 16:37 [PATCH 0/2] ARM: fix the pmd_mknotpresent definition Catalin Marinas
2016-05-31 16:37 ` [PATCH 1/2] ARM: mm: ensure pmd_present only checks the valid bit Catalin Marinas
2016-05-31 16:37 ` [PATCH 2/2] ARM: mm: Fix definition of pmd_mknotpresent Catalin Marinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).