]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv/npu: Move tlb flush before launching ATSD
authorAlistair Popple <alistair@popple.id.au>
Fri, 11 Aug 2017 06:22:56 +0000 (16:22 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 1 Sep 2017 06:42:55 +0000 (16:42 +1000)
commit3c86af36d84344ecf40ea136730a4fa65ee5be9f
tree48ec20e36ee76c5303b88725a14e7c69f4fb45a6
parentbde55ab7849a63706576c846eab024cd63c01c34
powerpc/powernv/npu: Move tlb flush before launching ATSD

The nest MMU tlb flush needs to happen before the GPU translation
shootdown is launched to avoid the GPU refilling its tlb with stale
nmmu translations prior to the nmmu flush completing.

Fixes: 775d3584b1e7 ("powerpc/powernv: Introduce address translation services for Nvlink2")
Cc: stable@vger.kernel.org # v4.12+
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