perf, x86: P4 PMU -- add missing bit in CCCR mask
authorCyrill Gorcunov <gorcunov@openvz.org>
Tue, 18 May 2010 21:19:19 +0000 (01:19 +0400)
committerIngo Molnar <mingo@elte.hu>
Wed, 19 May 2010 07:41:06 +0000 (09:41 +0200)
Should be there for the sake of RAW events.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
CC: Lin Ming <ming.m.lin@intel.com>
CC: Peter Zijlstra <a.p.zijlstra@chello.nl>
CC: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <20100518212439.354345151@openvz.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/perf_event_p4.h

index b05400a542ff6d60ea4e82bea72d05d416c0efc6..64a8ebff06fcef47dc36301e038ea2d63acad27b 100644 (file)
@@ -89,7 +89,8 @@
        P4_CCCR_ENABLE)
 
 /* HT mask */
-#define P4_CCCR_MASK_HT        (P4_CCCR_MASK | P4_CCCR_THREAD_ANY)
+#define P4_CCCR_MASK_HT                                \
+       (P4_CCCR_MASK | P4_CCCR_OVF_PMI_T1 | P4_CCCR_THREAD_ANY)
 
 #define P4_GEN_ESCR_EMASK(class, name, bit)    \
        class##__##name = ((1 << bit) << P4_ESCR_EVENTMASK_SHIFT)