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

Stewart Smith stewart at linux.ibm.com
Tue Dec 11 17:29:28 AEDT 2018


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.
>
> Signed-off-by: Alexey Kardashevskiy <aik at ozlabs.ru>

Thanks, merged to master as of d8b161f4b361f70a7bb43be47d4a32b8f937287a


-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list