]> 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)
commit81929530256564844efb49947b6ebf2abfd71044
tree0e6178a5670f6860b9cfea74ce34617b298d0da8
parentb9a8d4c649073921bdf6ee4d2092dcbb6ed7f1d2
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: 3c06842eef12 ("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