aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/ptrace.c
diff options
context:
space:
mode:
authorMadhavan Srinivasan <maddy@linux.vnet.ibm.com>2017-01-18 09:12:56 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2017-01-18 16:15:58 +1100
commit27593d72c4ad451ed13af35354b941bcd0abcec6 (patch)
tree8be5796f02aa106470bb24138672e60bb91a3760 /arch/powerpc/kernel/ptrace.c
parentselftest/powerpc: Wrong PMC initialized in pmc56_overflow test (diff)
downloadlinux-dev-27593d72c4ad451ed13af35354b941bcd0abcec6.tar.xz
linux-dev-27593d72c4ad451ed13af35354b941bcd0abcec6.zip
powerpc/perf: Use MSR to report privilege level on P9 DD1
SIER and SIAR are not updated correctly for some samples, so force the use of MSR and regs->nip instead for misc_flag updates. This is done by adding a new ppmu flag and updating the use_siar logic in perf_read_regs() to use it, and dropping the PPMU_HAS_SIER flag. Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com> [mpe: Rename flag to PPMU_NO_SIAR, and also drop PPMU_HAS_SIER] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/ptrace.c')
0 files changed, 0 insertions, 0 deletions