summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorMadhavan Srinivasan <maddy@linux.vnet.ibm.com>2018-12-09 10:18:15 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2018-12-20 10:53:11 +0100
commit17cfccc91545682513541924245abb876d296063 (patch)
treed942541766da64abd89a138e7b6089fa910ae9b1 /arch/powerpc/include
parentpowerpc/mm/hash: Handle user access of kernel address gracefully (diff)
downloadlinux-17cfccc91545682513541924245abb876d296063.tar.xz
linux-17cfccc91545682513541924245abb876d296063.zip
powerpc/perf: Fix thresholding counter data for unknown type
MMCRA[34:36] and MMCRA[38:44] expose the thresholding counter value. Thresholding counter can be used to count latency cycles such as load miss to reload. But threshold counter value is not relevant when the sampled instruction type is unknown or reserved. Patch to fix the thresholding counter value to zero when sampled instruction type is unknown or reserved. Fixes: 170a315f41c6('powerpc/perf: Support to export MMCRA[TEC*] field to userspace') Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include')
0 files changed, 0 insertions, 0 deletions