Skip to contentSkip to conversation

perf/x86/intel/uncore: Add Broadwell-EP uncore support

PATCH New [email protected] 2 participants 2 messages Dec 4, 2015 – Jan 6, 2016

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

PATCH 1/1 perf/x86/intel/uncore: Add Broadwell-EP uncore support

From: Kan Liang <[email protected]>

The uncore subsystem for Broadwell-EP is similar to Haswell-EP. There are some differences in pci device IDs, box number and constraints. This patch extends the Broadwell-DE codes to support Broadwell-EP.

---
 arch/x86/kernel/cpu/perf_event_intel_uncore.c      |   2 +
 .../x86/kernel/cpu/perf_event_intel_uncore_snbep.c | 152 ++++++++++++++++++++-
 2 files changed, 149 insertions(+), 5 deletions(-)
arch/x86/kernel/cpu/perf_event_intel_uncore.c +2 -0
index 61215a6..b63271c 100644
@@ -966,6 +966,7 @@ static int __init uncore_pci_init(void)
 	case 63: /* Haswell-EP */
 		ret = hswep_uncore_pci_init();
 		break;
+	case 79: /* BDX-EP */
 	case 86: /* BDX-DE */
 		ret = bdx_uncore_pci_init();
 		break;
@@ -1287,6 +1288,7 @@ static int __init uncore_cpu_init(void)
 	case 63: /* Haswell-EP */
 		hswep_uncore_cpu_init();
 		break;
+	case 79: /* BDX-EP */
 	case 86: /* BDX-DE */
 		bdx_uncore_cpu_init();
 		break;
arch/x86/kernel/cpu/perf_event_intel_uncore_snbep.c +147 -5

244 lines not on this page · raw message

Signature · 1 line
1.8.3.1
#1 lore raw
perf/x86/intel/uncore: Add Broadwell-EP uncore support
Commit-ID:  d6980ef32570e2a26e05b1183788f4b70f1f27d0
Gitweb:     http://git.kernel.org/tip/d6980ef32570e2a26e05b1183788f4b70f1f27d0
Author:     Kan Liang <[email protected]>
AuthorDate: Thu, 3 Dec 2015 16:00:11 -0500
Committer:  Ingo Molnar <[email protected]>
CommitDate: Wed, 6 Jan 2016 11:15:36 +0100

perf/x86/intel/uncore: Add Broadwell-EP uncore support

The uncore subsystem for Broadwell-EP is similar to Haswell-EP. There are some differences in pci device IDs, box number and constraints. This patch extends the Broadwell-DE codes to support Broadwell-EP.

Cc Arnaldo Carvalho de Melo <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Linus Torvalds <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Stephane Eranian <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Vince Weaver <[email protected]>
---
 arch/x86/kernel/cpu/perf_event_intel_uncore.c      |   2 +
 .../x86/kernel/cpu/perf_event_intel_uncore_snbep.c | 152 ++++++++++++++++++++-
 2 files changed, 149 insertions(+), 5 deletions(-)
arch/x86/kernel/cpu/perf_event_intel_uncore.c +2 -0
index 61215a6..b63271c 100644
@@ -966,6 +966,7 @@ static int __init uncore_pci_init(void)
 	case 63: /* Haswell-EP */
 		ret = hswep_uncore_pci_init();
 		break;
+	case 79: /* BDX-EP */
 	case 86: /* BDX-DE */
 		ret = bdx_uncore_pci_init();
 		break;
@@ -1287,6 +1288,7 @@ static int __init uncore_cpu_init(void)
 	case 63: /* Haswell-EP */
 		hswep_uncore_cpu_init();
 		break;
+	case 79: /* BDX-EP */
 	case 86: /* BDX-DE */
 		bdx_uncore_cpu_init();
 		break;
arch/x86/kernel/cpu/perf_event_intel_uncore_snbep.c +147 -5

244 lines not on this page · raw message