[Skiboot] [PATCH 2/3] npu2-hw-procedures: Fix zcal in mixed opencapi and nvlink mode

christophe lombard clombard at linux.vnet.ibm.com
Tue Mar 26 02:33:51 AEDT 2019


On 15/03/2019 17:44, Frederic Barrat wrote:
> The zcal procedure needs to be run once per obus. We keep track of
> which obus is already calibrated in an array indexed by the obus
> number. However, the obus number is inferred from the brick index,
> which works well for nvlink but not for opencapi.
> 
> Create an obus_index() function, which, from a device, returns the
> correct obus index, irrespective of the device type.
> 
> Signed-off-by: Frederic Barrat <fbarrat at linux.ibm.com>
> ---

Reviewed-by: Christophe Lombard <clombard at linux.vnet.ibm.com>



More information about the Skiboot mailing list