]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv/npu: Move IOMMU group setup into npu-dma.c
authorOliver O'Halloran <oohall@gmail.com>
Mon, 6 Apr 2020 03:07:45 +0000 (13:07 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 28 May 2020 13:24:38 +0000 (23:24 +1000)
commit12574c5711b464cee214447fc5610bd9ca2b4b78
tree37f763a29875287ee52087608e174277dcf8d21b
parent7f4b15ef33e93dbb98ddc9abe62689e289e65cd5
powerpc/powernv/npu: Move IOMMU group setup into npu-dma.c

The NVlink IOMMU group setup is only relevant to NVLink devices so move
it into the NPU containment zone. This let us remove some prototypes in
pci.h and staticfy some function definitions.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200406030745.24595-8-oohall@gmail.com
arch/powerpc/platforms/powernv/npu-dma.c
arch/powerpc/platforms/powernv/pci-ioda.c
arch/powerpc/platforms/powernv/pci.h