linux-stable/arch
Madhavan Srinivasan e1fe3f1e1c powerpc/perf: Fix thresholding counter data for unknown type
[ Upstream commit 17cfccc915 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-02-12 19:46:06 +01:00
..
alpha arch/alpha, termios: implement BOTHER, IBSHIFT and termios2 2018-11-21 09:24:10 +01:00
arc ARC: perf: map generic branches to correct hardware condition 2019-01-31 08:13:43 +01:00
arm ARM: pxa: avoid section mismatch warning 2019-02-12 19:46:04 +01:00
arm64 arm64: ftrace: don't adjust the LR value 2019-02-12 19:46:01 +01:00
blackfin
c6x
cris
frv
h8300
hexagon hexagon: modify ffs() and fls() to return int 2018-10-10 08:54:25 +02:00
ia64
m32r
m68k m68k: fix "bad page state" oops on ColdFire boot 2018-08-24 13:09:11 +02:00
metag
microblaze
mips mips: bpf: fix encoding bug for mm_srlv32_op 2019-02-12 19:46:02 +01:00
mn10300
nios2
openrisc openrisc: entry: Fix delay slot exception detection 2018-08-24 13:09:11 +02:00
parisc parisc: Fix exported address of os_hpmc handler 2018-11-13 11:14:46 -08:00
powerpc powerpc/perf: Fix thresholding counter data for unknown type 2019-02-12 19:46:06 +01:00
s390 s390/zcrypt: improve special ap message cmd handling 2019-02-12 19:46:01 +01:00
score
sh
sparc sparc64: Make proc_id signed. 2018-11-13 11:14:50 -08:00
tile
um um: Give start_idle_thread() a return code 2018-11-27 16:10:46 +01:00
unicore32
x86 x86/fpu: Add might_fault() to user_insn() 2019-02-12 19:46:01 +01:00
xtensa xtensa: fix coprocessor part of ptrace_{get,set}xregs 2018-12-05 19:41:23 +01:00
.gitignore
Kconfig compiler.h: Allow arch-specific asm/compiler.h 2018-11-04 14:52:46 +01:00