Thread (3 messages) flat view 3 messages, 3 authors, 2018-04-03

Re: [V2] powerpc: Fix oops due to wrong access of lppaca on non virtualized platform

From: Michael Ellerman <hidden>
Date: 2018-04-03 16:03:46

On Mon, 2018-04-02 at 07:33:37 UTC, "Aneesh Kumar K.V" wrote:
Commit 8e0b634b1327 ("powerpc/64s: Do not allocate lppaca if we are not
virtualized") removed allocation of lppaca on non virtualized platform. But with
CONFIG_PPC_SPLPAR enabled, we do access lppaca non-virtualized platform in some
code paths.

Fix this but adding runtime check for virtualized platform.

Fixes: 8e0b634b1327 ("powerpc/64s: Do not allocate lppaca if we are not virtualized")

Signed-off-by: Aneesh Kumar K.V <redacted>
Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/a6201da34ff9366680e97392efd06a

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help