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