diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2018-04-16 23:03:31 +0530 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2018-04-17 03:52:10 -0500 |
commit | 674f7696f7c1e51ab159d81a05a18c445f0c896d (patch) | |
tree | e55261a42ca2c5ebd2955ac8f0aa79f7dd2afee4 /core/cpu.c | |
parent | 099801d775ee273a9b500d921f4d47f96499c766 (diff) | |
download | skiboot-674f7696f7c1e51ab159d81a05a18c445f0c896d.zip skiboot-674f7696f7c1e51ab159d81a05a18c445f0c896d.tar.gz skiboot-674f7696f7c1e51ab159d81a05a18c445f0c896d.tar.bz2 |
opal/hmi: Rework HMI handling of TFAC errors
This patch reworks the HMI handling for TFAC errors by introducing
4 rendez-vous points improve the thread synchronization while handling
timebase errors that requires all thread to clear dirty data from TB/HDEC
register before clearing the errors.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'core/cpu.c')
-rw-r--r-- | core/cpu.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -1107,7 +1107,6 @@ void init_all_cpus(void) #endif t->core_hmi_state = 0; t->core_hmi_state_ptr = &t->core_hmi_state; - t->thread_mask = 1; /* Add associativity properties */ add_core_associativity(t); @@ -1131,7 +1130,6 @@ void init_all_cpus(void) t->node = cpu; t->chip_id = chip_id; t->core_hmi_state_ptr = &pt->core_hmi_state; - t->thread_mask = 1 << thread; } prlog(PR_INFO, "CPU: %d secondary threads\n", thread); } |