diff options
author | Pratik R. Sampat <psampat@linux.ibm.com> | 2021-08-02 20:03:53 +0530 |
---|---|---|
committer | Vasant Hegde <hegdevasant@linux.vnet.ibm.com> | 2021-08-04 12:59:50 +0530 |
commit | 04d1863c95d5be4f22e055ad67ee2c305adba90a (patch) | |
tree | 899fee748b84653c9c50a53674b7ab0b8b108a03 /core/direct-controls.c | |
parent | 54f52f163c27dfb75744558a018b996ecd703f18 (diff) | |
download | skiboot-04d1863c95d5be4f22e055ad67ee2c305adba90a.zip skiboot-04d1863c95d5be4f22e055ad67ee2c305adba90a.tar.gz skiboot-04d1863c95d5be4f22e055ad67ee2c305adba90a.tar.bz2 |
POWER9 Cleanups: de-assert SPW
De-assert special wakeup bits for the case when SPWU bit is set, however
the core is gated to maintain a coherent state for special wakeup.
Signed-off-by: Pratik R. Sampat <psampat@linux.ibm.com>
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Diffstat (limited to 'core/direct-controls.c')
-rw-r--r-- | core/direct-controls.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/direct-controls.c b/core/direct-controls.c index 65cf122..0274367 100644 --- a/core/direct-controls.c +++ b/core/direct-controls.c @@ -302,6 +302,8 @@ static int p9_core_set_special_wakeup(struct cpu_thread *cpu) * raise error. */ if (dctl_core_is_gated(cpu)) { + /* Deassert spwu for this strange error */ + xscom_write(chip_id, swake_addr, 0); prlog(PR_ERR, "Failed special wakeup on %u:%u" " as CORE_GATED is set\n", chip_id, core_id); |