[Skiboot] [PATCH] npu2: Use phys-map to get MMIO BARs

Andrew Donnellan andrew.donnellan at au1.ibm.com
Mon Jun 26 17:08:09 AEST 2017


On 26/06/17 16:57, Andrew Donnellan wrote:
> Commit bdea201a4c4b ("hw/npu2.c: Use phys-map to get GPU memory BARs")
> added use of phys-map for setting GPU memory BARs.
>
> Move the MMIO BARs over to using phys-map as well.
>
> Acked-by: Alistair Popple <alistair at popple.id.au>
> Signed-off-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>
> ---
> v2-v3: use dev->index rather than macros when setting npu2_bar->index for
> NTL bars

Argh, missed v3 in the subject. This is indeed v3.



-- 
Andrew Donnellan              OzLabs, ADL Canberra
andrew.donnellan at au1.ibm.com  IBM Australia Limited



More information about the Skiboot mailing list