[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <X7OlrpFkRKBQMNQ8@kroah.com>
Date: Tue, 17 Nov 2020 11:27:58 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: Christophe Leroy <christophe.leroy@...roup.eu>
Cc: stable@...r.kernel.org, linux-kernel@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH for 5.4] powerpc/603: Always fault when _PAGE_ACCESSED is
not set
On Mon, Nov 09, 2020 at 05:40:52PM +0000, Christophe Leroy wrote:
> [That is backport of 11522448e641e8f1690c9db06e01985e8e19b401 to linux 5.4]
>
> The kernel expects pte_young() to work regardless of CONFIG_SWAP.
>
> Make sure a minor fault is taken to set _PAGE_ACCESSED when it
> is not already set, regardless of the selection of CONFIG_SWAP.
>
> Fixes: 84de6ab0e904 ("powerpc/603: don't handle PAGE_ACCESSED in TLB miss handlers.")
> Cc: stable@...r.kernel.org
> Signed-off-by: Christophe Leroy <christophe.leroy@...roup.eu>
> Signed-off-by: Michael Ellerman <mpe@...erman.id.au>
> Link: https://lore.kernel.org/r/a44367744de54e2315b2f1a8cbbd7f88488072e0.1602342806.git.christophe.leroy@csgroup.eu
> ---
> arch/powerpc/kernel/head_32.S | 12 ------------
> 1 file changed, 12 deletions(-)
Both backports now queued up, thanks.
greg k-h
Powered by blists - more mailing lists