[Skiboot] [PATCH v2 4/4] npu3: Register virtual PHBs with static IDs
Reza Arbab
arbab at linux.ibm.com
Tue Aug 13 07:28:00 AEST 2019
On Fri, Aug 09, 2019 at 03:05:34PM +0200, Frederic Barrat wrote:
>--- a/include/phb4.h
>+++ b/include/phb4.h
>@@ -245,10 +245,15 @@ static inline void phb4_set_err_pending(struct phb4 *p, bool pending)
> }
>
> #define PHB4_PER_CHIP 6 /* Max 6 PHBs per chip on p9 */
>+#define PHB4_MAX_PHBS_PER_CHIP_P9 PHB4_PER_CHIP
>+#define PHB4_MAX_PHBS_PER_CHIP_P9P 0x10 /* extra for virt PHBs */
Minor nit; why in hex? 16 instead of 0x10 seems more consistent.
Otherwise,
Reviewed-by: Reza Arbab <arbab at linux.ibm.com>
--
Reza Arbab
More information about the Skiboot
mailing list