diff options
author | Madhavan Srinivasan <maddy@linux.vnet.ibm.com> | 2017-01-18 04:42:56 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-01-18 06:15:58 +0100 |
commit | 27593d72c4ad451ed13af35354b941bcd0abcec6 (patch) | |
tree | 8be5796f02aa106470bb24138672e60bb91a3760 /arch/powerpc/kernel/ptrace.c | |
parent | selftest/powerpc: Wrong PMC initialized in pmc56_overflow test (diff) | |
download | linux-27593d72c4ad451ed13af35354b941bcd0abcec6.tar.xz linux-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