Subject: Re: powerpc/powernv: Fix SMT4 forcing idle code

From: Michael Ellerman <[email-masked]>
Date: Thu, 5 Apr 2018 00:39:52 +1000 (AEST)

On Sun, 2018-04-01 at 05:38:13 UTC, Nicholas Piggin wrote:
> PSSCR value is not stored to PACA_REQ_PSSCR in case the CPU does
> not have the XER[SO] bug.
> 
> Fix this by storing up-front, outside the workaround code. The
> initial test is not required because it is a slow path.
> 
> The workaround is made to depend on CONFIG_KVM_BOOK3S_HV_POSSIBLE, to
> match pnv_power9_force_smt4_catch() where it is used.
> 
> Fixes: 7672691a08 ("powerpc/powernv: Provide a way to force a core into SMT4 mode")
> Cc: Paul Mackerras <[email-masked]>
> Signed-off-by: Nicholas Piggin <[email-masked]>

Applied to powerpc next, thanks.

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

cheers