linux-uconsole/arch/powerpc
Paul Mackerras 89323c1e44 powerpc/perf: Fix sampling enable for PPC970
commit 9f5f9ffe50 upstream.

The logic to distinguish marked instruction events from ordinary events
on PPC970 and derivatives was flawed.  The result is that instruction
sampling didn't get enabled in the PMU for some marked instruction
events, so they would never trigger.  This fixes it by adding the
appropriate break statements in the switch statement.

Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-11-22 10:47:30 -08:00
..
boot Merge branch 'hostprogs-wmissing-prototypes' of git://git.kernel.org/pub/scm/linux/kernel/git/josh/linux-misc 2009-11-17 09:14:49 -08:00
configs powerpc: pasemi_defconfig update 2009-11-11 15:44:02 +11:00
include/asm compat: Make compat_alloc_user_space() incorporate the access_ok() 2010-09-20 13:17:57 -07:00
kernel powerpc/perf: Fix sampling enable for PPC970 2010-11-22 10:47:30 -08:00
kvm KVM: PPC: Do not create debugfs if fail to create vcpu 2010-07-05 11:11:17 -07:00
lib powerpc: Fix handling of strncmp with zero len 2010-07-05 11:10:44 -07:00
math-emu powerpc/math-emu: Fix efp dependence 2009-03-11 06:00:08 -05:00
mm kgdb: don't needlessly skip PAGE_USER test for Fsl booke 2010-05-12 14:57:12 -07:00
oprofile powerpc/oprofile: fix potential buffer overrun in op_model_cell.c 2010-07-05 11:10:44 -07:00
platforms powerpc/eeh: Fix a bug when pci structure is null 2010-08-13 13:20:17 -07:00
sysdev powerpc/fsl: Add PCI device ids for new QoirQ chips 2010-01-28 15:00:40 -08:00
xmon powerpc/booke: Fix xmon single step on PowerPC Book-E 2009-10-27 16:42:40 +11:00
Kconfig powerpc: Cleanup Kconfig selection of hugetlbfs support 2009-10-30 15:03:54 +11:00
Kconfig.debug powerpc: Add configurable -Werror for arch/powerpc 2009-06-16 14:15:45 +10:00
Makefile powerpc: Fix typo in uImage target 2010-08-26 16:41:56 -07:00
relocs_check.pl powerpc: Check for unsupported relocs when using CONFIG_RELOCATABLE 2009-09-24 15:31:40 +10:00