powerpc/radix: Remove trace_tlbie call from radix__flush_tlb_all

Michael Ellerman patch-notifications at ellerman.id.au
Mon Jan 22 14:34:13 AEDT 2018


On Thu, 2017-11-30 at 09:05:54 UTC, Mahesh J Salgaonkar wrote:
> From: Mahesh Salgaonkar <mahesh at linux.vnet.ibm.com>
> 
> radix__flush_tlb_all() is called only in kexec path in real mode and any
> tracepoints at this stage will make kexec to fail if enabled.
> 
> To verify enable tlbie trace before kexec.
> 
> $ echo 1 > /sys/kernel/debug/tracing/events/powerpc/tlbie/enable
> == kexec into new kernel and kexec fails.
> 
> Fix this by not calling trace_tlbie from radix__flush_tlb_all().
> 
> Fixes: 0428491cba92 ("powerpc/mm: Trace tlbie(l) instructions")
> Signed-off-by: Mahesh Salgaonkar <mahesh at linux.vnet.ibm.com>
> Acked-by: Balbir Singh <bsingharora at gmail.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/8d81296cfcce89013a714feb8d2500

cheers


More information about the Linuxppc-dev mailing list