Files
android_kernel_xiaomi_sm8450/arch/powerpc/kernel
Nicholas Piggin a2b5e056b7 powerpc/powernv: Fix SMT4 forcing idle code
The PSSCR value is not stored to PACA_REQ_PSSCR if 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. Drop the comment
on pnv_power9_force_smt4_catch() as it's no longer true.

Fixes: 7672691a08 ("powerpc/powernv: Provide a way to force a core into SMT4 mode")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2018-04-03 22:14:27 +10:00
..
2018-04-01 00:47:50 +11:00
2018-01-15 09:35:26 +01:00
2016-08-07 23:50:09 -04:00
2016-08-07 23:50:09 -04:00
2016-08-07 23:50:09 -04:00
2018-03-31 09:09:36 +11:00
2017-12-11 13:03:35 +11:00
2018-04-01 00:47:50 +11:00
2018-03-31 09:09:36 +11:00
2018-03-31 09:09:36 +11:00
2018-03-30 23:34:26 +11:00
2018-03-31 09:09:36 +11:00
2015-04-07 17:15:13 +10:00