linux/arch/powerpc
Madhavan Srinivasan 78a16d9fc1 powerpc/perf: Avoid FAB_*_MATCH checks for power9
Since power9 does not support FAB_*_MATCH bits in MMCR1,
avoid these checks for power9. For this, patch factor out
code in isa207_get_constraint() to retain these checks
only for power8.

Patch also updates the comment in power9-pmu raw event
encode layout to remove FAB_*_MATCH.

Finally for power9, patch adds additional check for
threshold events when adding the thresh mask and value in
isa207_get_constraint().

fixes: 7ffd948fae ('powerpc/perf: factor out power8 pmu functions')
fixes: 18201b2042 ('powerpc/perf: power9 raw event format encoding')
Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2017-02-17 21:48:55 +11:00
..
boot powerpc/boot: Update .gitignore 2017-02-02 16:35:26 +11:00
configs powerpc/powernv: Add XHCI and USB storage to defconfig 2017-02-09 10:31:36 +11:00
crypto crypto: crc32c-vpmsum - Rename CRYPT_CRC32C_VPMSUM option 2016-11-28 21:23:17 +08:00
include powerpc/pseries: Implement indexed-count hotplug memory add 2017-02-17 17:57:30 +11:00
kernel powerpc/asm: Define STACK_PT_REGS_OFFSET macro in asm-offsets.c 2017-02-15 21:47:51 +11:00
kvm powerpc/powernv: Remove separate entry for OPAL real mode calls 2017-02-07 16:40:18 +11:00
lib powerpc/kprobes: Implement Optprobes 2017-02-10 13:28:04 +11:00
math-emu Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
mm powerpc/mm: Blacklist SLB symbols from kprobe 2017-02-17 10:58:52 +11:00
net powerpc/bpf: Introduce __PPC_SH64() 2017-02-10 13:28:03 +11:00
oprofile ktime: Cleanup ktime_set() usage 2016-12-25 17:21:22 +01:00
perf powerpc/perf: Avoid FAB_*_MATCH checks for power9 2017-02-17 21:48:55 +11:00
platforms powerpc/pseries: Implement indexed-count hotplug memory remove 2017-02-17 17:57:46 +11:00
purgatory powerpc: Add purgatory for kexec_file_load() implementation. 2016-11-30 23:15:26 +11:00
scripts powerpc/ftrace: Add Kconfig & Make glue for mprofile-kernel 2016-03-07 14:53:56 +11:00
sysdev powerpc/icp-opal: Fix missing KVM case and harden replay 2017-01-17 11:50:03 +11:00
xmon powerpc/xmon: Enable disassembly files (compilation changes) 2017-02-15 20:02:42 +11:00
Kconfig powerpc/ftrace: Fix confusing help text for DISABLE_MPROFILE_KERNEL 2017-02-10 13:42:02 +11:00
Kconfig.debug powerpc/xmon: Enable disassembly files (compilation changes) 2017-02-15 20:02:42 +11:00
Makefile powerpc: Add purgatory for kexec_file_load() implementation. 2016-11-30 23:15:26 +11:00
relocs_check.sh powerpc/64: whitelist unresolved modversions CRCs 2016-09-22 14:46:31 +02:00