[Skiboot] [PATCH skiboot v2] npu2: Allow ATSD for LPAR other than 0

Alexey Kardashevskiy aik at ozlabs.ru
Wed Feb 27 17:18:31 AEDT 2019



On 26/02/2019 17:12, Stewart Smith wrote:
> Alexey Kardashevskiy <aik at ozlabs.ru> writes:
>> Each XTS MMIO ATSD# register is accompanied by another register -
>> XTS MMIO ATSD0 LPARID# - which controls LPID filtering for ATSD
>> transactions.
>>
>> When a host system passes a GPU through to a guest, we need to enable
>> some ATSD for an LPAR. At the moment the host assigns one ATSD to
>> a NVLink bridge and this maps it to an LPAR when GPU is assigned to
>> the LPAR. The link number is used for an ATSD index.
>>
>> ATSD6&7 stay mapped to the host (LPAR=0) all the time which seems to be
>> acceptable price for the simplicity.
> 
> Merged to master as of c0f17caddcd894f68340ba1c66151cc6b26aa5de.
> 
> Is there any backwards-compat things we need to deal with here?

I cannot think of any.


-- 
Alexey


More information about the Skiboot mailing list