diff options
author | Reza Arbab <arbab@linux.vnet.ibm.com> | 2017-07-31 21:37:03 -0500 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-08-04 17:13:10 +1000 |
commit | 9fa0785d26af2e8472941470f972fbd31dde317a (patch) | |
tree | 18fb46619d70e2579bd7828049fae5cf0c6c0d98 /include | |
parent | ec99176c1cfc75a2b7e712ab817f00cd8ef18c86 (diff) | |
download | skiboot-9fa0785d26af2e8472941470f972fbd31dde317a.zip skiboot-9fa0785d26af2e8472941470f972fbd31dde317a.tar.gz skiboot-9fa0785d26af2e8472941470f972fbd31dde317a.tar.bz2 |
npu2: Adjust content of the GENID BAR
Reflect the changed GENID BAR layout in POWER9 DD2.
Signed-off-by: Reza Arbab <arbab@linux.vnet.ibm.com>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Acked-by: Alistair Popple <alistair@popple.id.au>
Cc: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/npu2-regs.h | 5 |
1 files changed, 3 insertions, 2 deletions
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 |