From 674f7696f7c1e51ab159d81a05a18c445f0c896d Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Mon, 16 Apr 2018 23:03:31 +0530 Subject: 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 Signed-off-by: Mahesh Salgaonkar Signed-off-by: Stewart Smith --- include/cpu.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/cpu.h') diff --git a/include/cpu.h b/include/cpu.h index b7cd588..68f2463 100644 --- a/include/cpu.h +++ b/include/cpu.h @@ -97,9 +97,8 @@ struct cpu_thread { */ uint32_t core_hmi_state; /* primary only */ uint32_t *core_hmi_state_ptr; - /* Mask to indicate thread id in core. */ - uint8_t thread_mask; bool tb_invalid; + bool tb_resynced; /* For use by XICS emulation on XIVE */ struct xive_cpu_state *xstate; -- cgit v1.1