Skip to content

Commit d110077

Browse files
Stephane EranianIngo Molnar
authored andcommitted
perf_events: Fix Intel Westmere event constraints
Based on Intel Vol3b (March 2010), the event SNOOPQ_REQUEST_OUTSTANDING is restricted to counters 0,1 so update the event table for Intel Westmere accordingly. Signed-off-by: Stephane Eranian <eranian@google.com> Cc: peterz@infradead.org Cc: paulus@samba.org Cc: davem@davemloft.net Cc: fweisbec@gmail.com Cc: perfmon2-devel@lists.sf.net Cc: eranian@gmail.com Cc: <stable@kernel.org> # .34.x LKML-Reference: <4c10cb56.5120e30a.2eb4.ffffc3de@mx.google.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
1 parent 1610682 commit d110077

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎arch/x86/kernel/cpu/perf_event_intel.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ static struct event_constraint intel_westmere_event_constraints[] =
7272
INTEL_EVENT_CONSTRAINT(0x51, 0x3), /* L1D */
7373
INTEL_EVENT_CONSTRAINT(0x60, 0x1), /* OFFCORE_REQUESTS_OUTSTANDING */
7474
INTEL_EVENT_CONSTRAINT(0x63, 0x3), /* CACHE_LOCK_CYCLES */
75+
INTEL_EVENT_CONSTRAINT(0xb3, 0x1), /* SNOOPQ_REQUEST_OUTSTANDING */
7576
EVENT_CONSTRAINT_END
7677
};
7778

0 commit comments

Comments
 (0)