powerpc/mm: Trace tlbie(l) instructions
authorBalbir Singh <bsingharora@gmail.com>
Tue, 11 Apr 2017 05:23:25 +0000 (15:23 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 23 Jun 2017 11:14:49 +0000 (21:14 +1000)
commit0428491cba9277db42d66eb245d74255bd3dbfe7
tree4021f2a47bd5efea707220253377fac0b3a0e4b6
parentd4cfb11387ee29ba4626546c676fd25c7abbbbb2
powerpc/mm: Trace tlbie(l) instructions

Add a trace point for tlbie(l) (Translation Lookaside Buffer Invalidate
Entry (Local)) instructions.

The tlbie instruction has changed over the years, so not all versions
accept the same operands. Use the ISA v3 field operands because they are
the most verbose, we may change them in future.

Example output:

  qemu-system-ppc-5371  [016]  1412.369519: tlbie:
   tlbie with lpid 0, local 1, rb=67bd8900174c11c1, rs=0, ric=0 prs=0 r=0

Signed-off-by: Balbir Singh <bsingharora@gmail.com>
[mpe: Add some missing trace_tlbie()s, reword change log]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/trace.h
arch/powerpc/kvm/book3s_hv_rm_mmu.c
arch/powerpc/mm/hash_native_64.c
arch/powerpc/mm/hash_utils_64.c
arch/powerpc/mm/pgtable-radix.c
arch/powerpc/mm/pgtable_64.c
arch/powerpc/mm/tlb-radix.c