diff options
author | Frederic Barrat <fbarrat@linux.ibm.com> | 2021-08-04 12:51:26 +0530 |
---|---|---|
committer | Vasant Hegde <hegdevasant@linux.vnet.ibm.com> | 2021-08-06 12:29:27 +0530 |
commit | 58ad1e7e4efd775689fd1d2729eba7de258d7777 (patch) | |
tree | adb5edb21082bb341ffb121d13482bcbe3f3816f /include | |
parent | 62e050f2d9c6fefc52166e2e2e1df462893dbe63 (diff) | |
download | skiboot-58ad1e7e4efd775689fd1d2729eba7de258d7777.zip skiboot-58ad1e7e4efd775689fd1d2729eba7de258d7777.tar.gz skiboot-58ad1e7e4efd775689fd1d2729eba7de258d7777.tar.bz2 |
hw/phb5: Update PHB numbering to allow for virtual PHBs
Make room for a per-chip numbering of virtual PHBs used by opencapi.
We can have up to 12 opencapi PHBs (two per PAU) on P10.
Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com>
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/phb4.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/phb4.h b/include/phb4.h index 217f684..0bbfc92 100644 --- a/include/phb4.h +++ b/include/phb4.h @@ -245,9 +245,9 @@ static inline void phb4_set_err_pending(struct phb4 *p, bool pending) p->err_pending = pending; } -#define MAX_PHBS_PER_CHIP_P10 6 /* Max 6 PHBs per chip on p10 */ #define MAX_PHBS_PER_CHIP_P9 6 /* Max 6 PHBs per chip on p9 */ #define MAX_PHBS_PER_CHIP_P9P 0x10 /* extra for virt PHBs */ +#define MAX_PHBS_PER_CHIP_P10 0x12 /* 6 PCI + 12 opencapi */ static inline int phb4_get_opal_id(unsigned int chip_id, unsigned int index) { |