From: Michael Ellerman <patch-notifications@ellerman.id.au>
To: linuxppc-dev@lists.ozlabs.org, Benjamin Gray <bgray@linux.ibm.com>
Cc: npiggin@gmail.com, ruscur@russell.cc
Subject: Re: [PATCH v2] powerpc/64s: Fix __pte_needs_flush() false positive warning
Date: Thu, 06 Apr 2023 10:26:57 +1000 [thread overview]
Message-ID: <168074081763.3666874.3253471572277076314.b4-ty@ellerman.id.au> (raw)
In-Reply-To: <20230302225947.81083-1-bgray@linux.ibm.com>
On Fri, 03 Mar 2023 09:59:47 +1100, Benjamin Gray wrote:
> Userspace PROT_NONE ptes set _PAGE_PRIVILEGED, triggering a false
> positive debug assertion that __pte_flags_need_flush() is not called
> on a kernel mapping.
>
> Detect when it is a userspace PROT_NONE page by checking the required
> bits of PAGE_NONE are set, and none of the RWX bits are set.
> pte_protnone() is insufficient here because it always returns 0 when
> CONFIG_NUMA_BALANCING=n.
>
> [...]
Applied to powerpc/fixes.
[1/1] powerpc/64s: Fix __pte_needs_flush() false positive warning
https://git.kernel.org/powerpc/c/1abce0580b89464546ae06abd5891ebec43c9470
cheers
prev parent reply other threads:[~2023-04-06 0:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-02 22:59 [PATCH v2] powerpc/64s: Fix __pte_needs_flush() false positive warning Benjamin Gray
2023-04-06 0:26 ` Michael Ellerman [this message]
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=168074081763.3666874.3253471572277076314.b4-ty@ellerman.id.au \
--to=patch-notifications@ellerman.id.au \
--cc=bgray@linux.ibm.com \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=npiggin@gmail.com \
--cc=ruscur@russell.cc \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.