[Skiboot] [PATCH 09/13] hw/npu2: Combined NPU brick configuration procedure

Frederic Barrat fbarrat at linux.ibm.com
Wed Jan 9 17:51:37 AEDT 2019



Le 09/01/2019 à 07:28, Andrew Donnellan a écrit :
> On 8/1/19 11:47 pm, Frederic Barrat wrote:
>>
>>
>> Le 12/12/2018 à 07:58, Andrew Donnellan a écrit :
>>> To support the case where we have both OpenCAPI and NVLink devices
>>> connected to the same NPU, we need to be able to configure each NPU
>>> stack/brick separately depending on the device type it is connected to.
>>>
>>> Refactor the existing code so that we can set the transport muxes and 
>>> other
>>> relevant NPU registers on a per-brick/stack basis.
>>
>> There's also some extra cleanup done in npu2 (before 2020, no less!), 
>> it may be worth mentioning it in the commit message.
> 
> Which cleanups are you referring to? I can't tell from a quick skim of 
> my own diff, it's been a month...

The new function enable_nvlink(), which cleans up a bunch of hard-coded 
scom operations.

   Fred



More information about the Skiboot mailing list