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

Stewart Smith stewart at linux.vnet.ibm.com
Mon Jul 3 13:18:40 AEST 2017


Andrew Donnellan <andrew.donnellan at au1.ibm.com> writes:
> 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
>
> ---
>  hw/npu2.c      | 96 ++++++++++++++++++++++++++++------------------------------
>  include/npu2.h |  4 +++
>  2 files changed, 50 insertions(+), 50 deletions(-)

Thanks, merged to master (and in for 5.7-rc1) as of 785c80b093c9ea608b6b91fee3634e5c8e323db3

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list