From 9fa0785d26af2e8472941470f972fbd31dde317a Mon Sep 17 00:00:00 2001 From: Reza Arbab Date: Mon, 31 Jul 2017 21:37:03 -0500 Subject: npu2: Adjust content of the GENID BAR Reflect the changed GENID BAR layout in POWER9 DD2. Signed-off-by: Reza Arbab Reviewed-by: Andrew Donnellan Acked-by: Alistair Popple Cc: Frederic Barrat Signed-off-by: Stewart Smith --- include/npu2-regs.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/npu2-regs.h') diff --git a/include/npu2-regs.h b/include/npu2-regs.h index fb85729..a10f74f 100644 --- a/include/npu2-regs.h +++ b/include/npu2-regs.h @@ -122,8 +122,9 @@ void npu2_write_mask(struct npu2 *p, uint64_t reg, uint64_t val, uint64_t mask); #define NPU2_GENID_BAR_ENABLE PPC_BIT(0) #define NPU2_GENID_BAR_GROUP PPC_BITMASK(3,6) #define NPU2_GENID_BAR_CHIP PPC_BITMASK(7,9) -#define NPU2_GENID_BAR_NODE_ADDR PPC_BITMASK(10,34) -#define NPU2_GENID_BAR_ADDR PPC_BITMASK(3,34) +#define NPU2_GENID_BAR_NODE_ADDR PPC_BITMASK(10,35) +#define NPU2_GENID_BAR_ADDR PPC_BITMASK(3,35) +#define NPU2_GENID_BAR_POISON PPC_BIT(39) #define NPU2_LOW_WATER_MARKS 0x040 #define NPU2_HIGH_WATER_MARKS 0x048 #define NPU2_RELAXED_ORDERING_CFG0 0x050 -- cgit v1.1