diff options
author | Alistair Popple <alistair@popple.id.au> | 2017-09-06 11:48:59 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-11-13 08:00:29 +1100 |
commit | 2a31ad093bb1b8c1f1e04cbe222ad17bc09c4534 (patch) | |
tree | 4b0c8c4cf41929e5f0ce91ebf1efedbb2bbd2880 /arch/powerpc/platforms | |
parent | 8d4e10e9ed9450e18fbbf6a8872be0eac9fd4999 (diff) | |
download | talos-obmc-linux-2a31ad093bb1b8c1f1e04cbe222ad17bc09c4534.tar.gz talos-obmc-linux-2a31ad093bb1b8c1f1e04cbe222ad17bc09c4534.zip |
powerpc/powernv/npu: Use flush_all_mm() instead of flush_tlb_mm()
With the optimisations introduced by commit a46cc7a908 ("powerpc/mm/radix:
Improve TLB/PWC flushes"), flush_tlb_mm() no longer flushes the page walk
cache with radix. Switch to using flush_all_mm() to ensure the pwc and tlb
are properly flushed on the nmmu.
Signed-off-by: Alistair Popple <alistair@popple.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms')
-rw-r--r-- | arch/powerpc/platforms/powernv/npu-dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/powernv/npu-dma.c b/arch/powerpc/platforms/powernv/npu-dma.c index 2cb6cbea4b3b..2fff9a65975b 100644 --- a/arch/powerpc/platforms/powernv/npu-dma.c +++ b/arch/powerpc/platforms/powernv/npu-dma.c @@ -549,7 +549,7 @@ static void mmio_invalidate(struct npu_context *npu_context, int va, * Unfortunately the nest mmu does not support flushing specific * addresses so we have to flush the whole mm. */ - flush_tlb_mm(npu_context->mm); + flush_all_mm(npu_context->mm); /* * Loop over all the NPUs this process is active on and launch |