[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <160802920697.504444.16573519537431837820.b4-ty@ellerman.id.au>
Date: Tue, 15 Dec 2020 21:48:59 +1100 (AEDT)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Paul Mackerras <paulus@...ba.org>,
Christophe Leroy <christophe.leroy@...roup.eu>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
giuseppe@...azz.it, Michael Ellerman <mpe@...erman.id.au>
Cc: linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH v2] powerpc/powermac: Fix low_sleep_handler with CONFIG_VMAP_STACK
On Tue, 8 Dec 2020 05:24:19 +0000 (UTC), Christophe Leroy wrote:
> low_sleep_handler() can't restore the context from standard
> stack because the stack can hardly be accessed with MMU OFF.
>
> Store everything in a global storage area instead of storing
> a pointer to the stack in that global storage area.
>
> To avoid a complete churn of the function, still use r1 as
> the pointer to the storage area during restore.
Applied to powerpc/next.
[1/1] powerpc/powermac: Fix low_sleep_handler with CONFIG_VMAP_STACK
https://git.kernel.org/powerpc/c/db972a3787d12b1ce9ba7a31ec376d8a79e04c47
cheers
Powered by blists - more mailing lists