]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv/idle: Fix restore of SPRN_LDBAR for POWER9 stop state.
authorAthira Rajeev <atrajeev@linux.vnet.ibm.com>
Tue, 2 Jul 2019 10:58:36 +0000 (16:28 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 12 Jul 2019 12:25:26 +0000 (22:25 +1000)
commit4b551d7ad77d0f15b76ed265e75f563aef5c9092
tree02376ad6a1f74b1da0c563c970c582dbafc5b9b0
parentce27ffcb0aa398769e21635ea94b8eb199bebced
powerpc/powernv/idle: Fix restore of SPRN_LDBAR for POWER9 stop state.

commit 7c6829b24785 ("powerpc/64s: Reimplement book3s idle code in C")
reimplemented book3S code to pltform/powernv/idle.c. But when doing so
missed to add the per-thread LDBAR update in the core_woken path of
the power9_idle_stop(). Patch fixes the same.

Fixes: 7c6829b24785 ("powerpc/64s: Reimplement book3s idle code in C")
Cc: stable@vger.kernel.org # v5.2+
Signed-off-by: Athira Rajeev <atrajeev@linux.vnet.ibm.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190702105836.26695-1-maddy@linux.vnet.ibm.com
arch/powerpc/platforms/powernv/idle.c