[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <42br5r4gvTzB4NJ@ozlabs.org>
Date: Fri, 19 Oct 2018 13:51:28 +1100 (AEDT)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Christophe Leroy <christophe.leroy@....fr>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>, aneesh.kumar@...ux.ibm.com
Cc: linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: powerpc/book3e: redefine pte_mkprivileged() and pte_mkuser()
On Wed, 2018-10-17 at 13:03:22 UTC, Christophe Leroy wrote:
> Book3e defines both _PAGE_USER and _PAGE_PRIVILEGED, so the nohash
> default pte_mkprivileged() and pte_mkuser() are not usable.
>
> This patch redefines them for book3e.
>
> In theorie, only pte_mkprivileged() needs to be redefined because
> _PAGE_USER includes _PAGE_PRIVILEGED, but it is less confusing
> to redefine both.
>
> Fixes: a0da4bc166f2 ("powerpc/mm: Allow platforms to redefine some helpers")
> Signed-off-by: Christophe Leroy <christophe.leroy@....fr>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/bde1a1335c5031758d3917d83dd5b8
cheers
Powered by blists - more mailing lists