powerpc/powernv: Fix SMT4 forcing idle code
Michael Ellerman
patch-notifications at ellerman.id.au
Thu Apr 5 00:39:52 AEST 2018
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 <paulus at ozlabs.org>
> Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/a2b5e056b75ee6ef0777817644a456
cheers
More information about the Linuxppc-dev
mailing list