]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
powerpc/powernv/npu: Use flush_all_mm() instead of flush_tlb_mm()
authorAlistair Popple <alistair@popple.id.au>
Wed, 6 Sep 2017 01:48:59 +0000 (11:48 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 12 Nov 2017 21:00:29 +0000 (08:00 +1100)
commit2a31ad093bb1b8c1f1e04cbe222ad17bc09c4534
tree4b0c8c4cf41929e5f0ce91ebf1efedbb2bbd2880
parent8d4e10e9ed9450e18fbbf6a8872be0eac9fd4999
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>
arch/powerpc/platforms/powernv/npu-dma.c