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

Stewart Smith stewart at linux.ibm.com
Tue Feb 26 17:12:54 AEDT 2019


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?

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list