[Skiboot] [PATCH v2 2/4] npu3: Don't use the device tree to assign the phb-index of the PHB

Reza Arbab arbab at linux.ibm.com
Tue Aug 13 07:20:17 AEST 2019


On Fri, Aug 09, 2019 at 03:05:32PM +0200, Frederic Barrat wrote:
>On Axone, there's a 1-to-1 mapping between virtual PHBs and NPUs. We
>could keep assigning the phb-index of the virtual PHB from the value
>found in the npu node of the device tree, but to be consistent with
>P9/npu2 and avoid confusion, this patch assigns the phb-index when the
>virtual PHB is created, based on the npu index, similarly to what we
>do on P9.
>
>Signed-off-by: Frederic Barrat <fbarrat at linux.ibm.com>

Reviewed-by: Reza Arbab <arbab at linux.ibm.com>

-- 
Reza Arbab


More information about the Skiboot mailing list