]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv/npu-dma.c: Fix opal_npu_destroy_context() call
authorAlistair Popple <alistair@popple.id.au>
Fri, 19 May 2017 20:56:35 +0000 (06:56 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 25 May 2017 13:07:39 +0000 (23:07 +1000)
commit05bc6fcdf0823f565f30017a047a22e76b95e166
tree0e6178a5670f6860b9cfea74ce34617b298d0da8
parent2d40d8bba37fe6fcf09fc8780aa0d12f5a53d281
powerpc/powernv/npu-dma.c: Fix opal_npu_destroy_context() call

opal_npu_destroy_context() should be called with the NPU PHB, not the
PCIe PHB.

Fixes: 775d3584b1e7 ("powerpc/powernv: Introduce address translation services for Nvlink2")
Signed-off-by: Alistair Popple <alistair@popple.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/npu-dma.c