linux/arch/powerpc
Madhavan Srinivasan 17cfccc915 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>
2018-12-20 20:53:11 +11:00
..
boot powerpc/boot: Fix build failures with -j 1 2018-12-06 16:10:15 +11:00
configs powerpc/configs: Add KVM guest defconfig 2018-11-26 22:33:37 +11:00
crypto powerpc updates for 4.19 2018-08-17 11:32:50 -07:00
include powerpc/mm: add exec protection on powerpc 603 2018-12-19 18:56:32 +11:00
kernel powerpc/mm: add exec protection on powerpc 603 2018-12-19 18:56:32 +11:00
kvm powerpc/mm: move platform specific mmu-xxx.h in platform directories 2018-12-04 19:45:01 +11:00
lib powerpc: simplify patch_instruction_site() and patch_branch_site() 2018-12-19 18:56:32 +11:00
math-emu License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mm powerpc/mm/hash: Handle user access of kernel address gracefully 2018-12-20 20:52:54 +11:00
net powerpc updates for 4.19 2018-08-17 11:32:50 -07:00
oprofile powerpc: change CONFIG_6xx to CONFIG_PPC_BOOK3S_32 2018-11-26 22:33:37 +11:00
perf powerpc/perf: Fix thresholding counter data for unknown type 2018-12-20 20:53:11 +11:00
platforms powerpc/smp: Use code patching to restore reset vector 2018-12-19 18:56:32 +11:00
purgatory powerpc updates for 4.19 2018-08-17 11:32:50 -07:00
sysdev powerpc/ipic: Remove unused ipic_set_priority() 2018-12-17 22:12:30 +11:00
tools powerpc/tools/checkpatch: Ignore DT_SPLIT_BINDING_PATCH 2018-12-04 19:45:01 +11:00
xmon powerpc/xmon: fix dump_segments() 2018-12-19 18:56:32 +11:00
Kbuild powerpc: Add -Werror at arch/powerpc level 2018-10-19 00:56:17 +11:00
Kconfig powerpc: implement CONFIG_DEBUG_VIRTUAL 2018-12-19 18:56:26 +11:00
Kconfig.debug powerpc: remove redundant 'default n' from Kconfig-s 2018-10-13 22:21:25 +11:00
Makefile powerpc/32: Move the old 6xx -mcpu logic before the TARGET_CPU logic 2018-12-17 22:12:30 +11:00
Makefile.postlink License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00