]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
powerpc/powernv/npu-dma.c: Fix opal_npu_destroy_context() call
authorAlistair Popple <alistair@popple.id.au>
Mon, 22 May 2017 17:06:00 +0000 (14:06 -0300)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 20 Jun 2017 08:45:44 +0000 (10:45 +0200)
commit51ff6c9848ce5b9a4134afd6fe922fc4d0fea620
treec686e599181c222a3202a177e4caf7f25049dfee
parentc1c4dcc224bef4bd2da0a487ccb3b51d900a4c39
powerpc/powernv/npu-dma.c: Fix opal_npu_destroy_context() call

BugLink: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1692580
opal_npu_destroy_context() should be called with the NPU PHB, not the
PCIe PHB.

Fixes: 1ab66d1fbada ("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>
(cherry picked from commit 415ba3c157b9de7edc59468d19d48c1d15972a75)
Signed-off-by: Breno Leitao <breno.leitao@gmail.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
arch/powerpc/platforms/powernv/npu-dma.c