[V2] powerpc: Fix oops due to wrong access of lppaca on non virtualized platform
patch-notifications at ellerman.id.au
Wed Apr 4 02:03:45 AEST 2018
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 <aneesh.kumar at linux.ibm.com>
Applied to powerpc next, thanks.
More information about the Linuxppc-dev