Skip to contentSkip to conversation

perf/x86/intel/uncore: Fix Skylake UPI event format

PATCH New [email protected] 2 participants 2 messages Mar 2, 2018 – Mar 4, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perf/x86/intel/uncore: Fix Skylake UPI event format

From: Kan Liang <[email protected]>

There is no event extension (bit 21) for SKX UPI.

Using event instead of event_ext.

Fixes cd34cd97b7b4 ("perf/x86/intel/uncore: Add Skylake server uncore support")
---
 arch/x86/events/intel/uncore_snbep.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/events/intel/uncore_snbep.c +1 -1
index 5be5e15..8ff1aac 100644
@@ -3618,7 +3618,7 @@ static struct intel_uncore_type skx_uncore_imc = {
 };
 
 static struct attribute *skx_upi_uncore_formats_attr[] = {
-	&format_attr_event_ext.attr,
+	&format_attr_event.attr,
 	&format_attr_umask_ext.attr,
 	&format_attr_edge.attr,
 	&format_attr_inv.attr,
Signature · 1 line
2.7.4
#1 lore raw
perf/x86/intel/uncore: Fix Skylake UPI event format
Commit-ID:  317660940fd9dddd3201c2f92e25c27902c753fa
Gitweb:     https://git.kernel.org/tip/317660940fd9dddd3201c2f92e25c27902c753fa
Author:     Kan Liang <[email protected]>
AuthorDate: Fri, 2 Mar 2018 07:22:30 -0800
Committer:  Ingo Molnar <[email protected]>
CommitDate: Sun, 4 Mar 2018 09:59:00 +0100

perf/x86/intel/uncore: Fix Skylake UPI event format

There is no event extension (bit 21) for SKX UPI, so use 'event' instead of 'event_ext'.

Cc Alexander Shishkin <[email protected]>
Cc Arnaldo Carvalho de Melo <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Linus Torvalds <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Vince Weaver <[email protected]>
Fixes cd34cd97b7b4 ("perf/x86/intel/uncore: Add Skylake server uncore support")
---
 arch/x86/events/intel/uncore_snbep.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/events/intel/uncore_snbep.c +1 -1
index 6d8044ab1060..22ec65bc033a 100644
@@ -3606,7 +3606,7 @@ static struct intel_uncore_type skx_uncore_imc = {
 };
 
 static struct attribute *skx_upi_uncore_formats_attr[] = {
-	&format_attr_event_ext.attr,
+	&format_attr_event.attr,
 	&format_attr_umask_ext.attr,
 	&format_attr_edge.attr,
 	&format_attr_inv.attr,