[Skiboot] [PATCH 02/13] xive: Fix definition of VC_SCRUB_OFFSET

Benjamin Herrenschmidt benh at kernel.crashing.org
Mon Jan 16 15:36:24 AEDT 2017


Off by one on one bit

Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
---
 include/xive.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/xive.h b/include/xive.h
index be976f2..ab5ab80 100644
--- a/include/xive.h
+++ b/include/xive.h
@@ -204,7 +204,7 @@
 #define  VC_SCRUB_WANT_DISABLE	PPC_BIT(1)
 #define  VC_SCRUB_WANT_INVAL	PPC_BIT(2) /* EQC and SBC only */
 #define  VC_SCRUB_BLOCK_ID	PPC_BITMASK(28,31)
-#define  VC_SCRUB_OFFSET	PPC_BITMASK(41,63)
+#define  VC_SCRUB_OFFSET	PPC_BITMASK(40,63)
 #define X_VC_IVC_CACHE_ENABLE	0x221
 #define VC_IVC_CACHE_ENABLE	0x988
 #define  VC_IVC_CACHE_EN_MASK	PPC_BITMASK(0,15)
-- 
2.9.3



More information about the Skiboot mailing list