android_kernel_motorola_sm6225/arch/powerpc
sukadev@linux.vnet.ibm.com e6878835ac powerpc/perf: Sample only if SIAR-Valid bit is set in P7+
powerpc/perf: Sample only if SIAR-Valid bit is set in P7+

On POWER7+ two new bits (mmcra[35] and mmcra[36]) indicate whether the
contents of SIAR and SDAR are valid.

For marked instructions on P7+, we must save the contents of SIAR and
SDAR registers only if these new bits are set.

This code/check for the SIAR-Valid bit is specific to P7+, so rather than
waste a CPU-feature bit use the PVR flag.

Note that Carl Love proposed a similar change for oprofile:

        https://lkml.org/lkml/2012/6/22/309

Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2012-09-27 12:51:05 +10:00
..
boot Merge remote-tracking branch 'agust/next' into next 2012-09-27 12:47:17 +10:00
configs powerpc/85xx: Enable USB support in p1023rds_defconfig 2012-09-19 08:38:16 -05:00
include/asm powerpc/perf: Sample only if SIAR-Valid bit is set in P7+ 2012-09-27 12:51:05 +10:00
kernel powerpc/smp: Do not disable IPI interrupts during suspend 2012-09-19 08:38:16 -05:00
kvm powerpc/mm: Convert virtual address to vpn 2012-09-17 16:31:49 +10:00
lib powerpc/kprobe: Don't emulate store when kprobe stwu r1 2012-09-18 15:32:45 +10:00
math-emu powerpc/math_emu/efp: Look for errata handler when type mismatches 2011-10-06 23:36:47 -05:00
mm Merge remote-tracking branch 'kumar/next' into next 2012-09-18 16:04:33 +10:00
net powerpc: Start using ___PPC_RA/B/S/T where necessary 2012-07-10 19:18:25 +10:00
oprofile powerpc/oprofile: Fix marked events support on Power7+ not set. 2012-09-07 11:10:54 +10:00
perf powerpc/perf: Sample only if SIAR-Valid bit is set in P7+ 2012-09-27 12:51:05 +10:00
platforms Merge remote-tracking branch 'agust/next' into next 2012-09-27 12:47:17 +10:00
sysdev powerpc/fsl-pci: fix warning when CONFIG_SWIOTLB is disabled 2012-09-19 08:41:46 -05:00
xmon powerpc: Add an xmon command to dump one or all pacas 2012-09-18 15:02:36 +10:00
Kconfig Merge remote-tracking branch 'kumar/next' into next 2012-09-18 16:04:33 +10:00
Kconfig.debug powerpc: IOMMU fault injection 2012-07-10 19:18:59 +10:00
Makefile crypto: nx - move nx build to driver/crypto Makefile 2012-06-27 14:42:00 +08:00
relocs_check.pl powerpc: Process dynamic relocations for kernel 2011-12-20 10:21:08 -05:00