powerpc/mm/radix: Avoid flushing the PWC on every flush_tlb_range
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 19 Jul 2017 04:49:06 +0000 (14:49 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 2 Aug 2017 03:11:06 +0000 (13:11 +1000)
commit424de9c6e3f89399fc11afc1f53f89c5329132da
tree1f2427b3c5e2994c5735d18238ea84057f3c6c15
parenta46cc7a90fd8d95bfbb2b27080efe872a1a51db4
powerpc/mm/radix: Avoid flushing the PWC on every flush_tlb_range

We do that because it's used by THP pmd collapsing, so use
instead a dedicated flush function.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/book3s/64/tlbflush-radix.h
arch/powerpc/mm/pgtable-radix.c
arch/powerpc/mm/tlb-radix.c