From: catalin.marinas@arm.com (Catalin Marinas)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/2] ARM: fix the pmd_mknotpresent definition
Date: Tue, 31 May 2016 17:37:38 +0100 [thread overview]
Message-ID: <1464712660-25177-1-git-send-email-catalin.marinas@arm.com> (raw)
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(-)
next reply other threads:[~2016-05-31 16:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-31 16:37 Catalin Marinas [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1464712660-25177-1-git-send-email-catalin.marinas@arm.com \
--to=catalin.marinas@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).