From 47a90f165b105434e5a3ef15b00ad3a7867a991b Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Thu, 9 Mar 2017 11:45:37 +1100 Subject: xive: Sync HW when moving interrupts around For now sync all queues, ensure any interrupt routed at the old queue has reached memory. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Stewart Smith --- include/xive.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/xive.h') diff --git a/include/xive.h b/include/xive.h index 58c4da9..06aad8b 100644 --- a/include/xive.h +++ b/include/xive.h @@ -180,6 +180,13 @@ #define X_VC_EQC_SCRUB_MASK 0x213 #define VC_EQC_SCRUB_MASK 0x918 #define X_VC_EQC_CWATCH_SPEC 0x215 +#define VC_EQC_CONFIG 0x920 +#define X_VC_EQC_CONFIG 0x214 +#define VC_EQC_CONF_SYNC_IPI PPC_BIT(32) +#define VC_EQC_CONF_SYNC_HW PPC_BIT(33) +#define VC_EQC_CONF_SYNC_ESC1 PPC_BIT(34) +#define VC_EQC_CONF_SYNC_ESC2 PPC_BIT(35) +#define VC_EQC_CONF_SYNC_REDI PPC_BIT(36) #define VC_EQC_CWATCH_SPEC 0x928 #define VC_EQC_CWATCH_CONFLICT PPC_BIT(0) #define VC_EQC_CWATCH_FULL PPC_BIT(8) -- cgit v1.1