summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorMadhavan Srinivasan <maddy@linux.ibm.com>2020-10-21 14:23:29 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2020-11-19 16:56:56 +1100
commit2ca13a4cc56c920a6c9fc8ee45d02bccacd7f46c (patch)
treef681c01bc4c81f76b0bcdd0b32f1fff0f31ef545 /include/linux
parentd9f7088dd6d8859f385565ca8acd2681e1f700f9 (diff)
downloadcachepc-linux-2ca13a4cc56c920a6c9fc8ee45d02bccacd7f46c.tar.gz
cachepc-linux-2ca13a4cc56c920a6c9fc8ee45d02bccacd7f46c.zip
powerpc/perf: Use regs->nip when SIAR is zero
In power10 DD1, there is an issue where the SIAR (Sampled Instruction Address Register) is not latching to the sampled address during random sampling. This results in value of 0s in the SIAR. Add a check to use regs->nip when SIAR is zero. Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20201021085329.384535-5-maddy@linux.ibm.com
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions