]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
powerpc/book3s: Fix flush_tlb cpu_spec hook to take a generic argument.
authorMahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Fri, 19 Dec 2014 03:11:05 +0000 (08:41 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 16 Mar 2015 20:52:48 +0000 (07:52 +1100)
commit45706bb53d118b5340a12926e26444d73b6491f9
treeb88f88494c7fd725987973c83b3cbf4cb1760911
parent7f664cf9e422105644818b180349e3b10a370de7
powerpc/book3s: Fix flush_tlb cpu_spec hook to take a generic argument.

The flush_tlb hook in cpu_spec was introduced as a generic function hook
to invalidate TLBs. But the current implementation of flush_tlb hook
takes IS (invalidation selector) as an argument which is architecture
dependent. Hence, It is not right to have a generic routine where caller
has to pass non-generic argument.

This patch fixes this and makes flush_tlb hook as high level API.

Reported-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/cputable.h
arch/powerpc/include/asm/mmu-hash64.h
arch/powerpc/kernel/cpu_setup_power.S
arch/powerpc/kernel/cputable.c
arch/powerpc/kernel/mce_power.c
arch/powerpc/kvm/book3s_hv_ras.c