From 7d2501a1884b412b097bbf48c2894cd239bd09f4 Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Sun, 15 Jan 2017 22:36:24 -0600 Subject: [PATCH] xive: Fix definition of VC_SCRUB_OFFSET Off by one on one bit Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Stewart Smith --- include/xive.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/xive.h b/include/xive.h index be976f2aaa38..ab5ab80a8893 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)