Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1578726 > unrolled thread
| Started by | Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> |
|---|---|
| First post | 2017-02-10 20:10 +0100 |
| Last post | 2017-02-10 20:30 +0100 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] perf/x86/intel: Add Kabylake support Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> - 2017-02-10 20:10 +0100
Re: [PATCH] perf/x86/intel: Add Kabylake support Thomas Gleixner <tglx@linutronix.de> - 2017-02-10 20:20 +0100
Re: [PATCH] perf/x86/intel: Add Kabylake support Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> - 2017-02-10 20:30 +0100
| From | Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> |
|---|---|
| Date | 2017-02-10 20:10 +0100 |
| Subject | [PATCH] perf/x86/intel: Add Kabylake support |
| Message-ID | <t9oJX-7y4-13@gated-at.bofh.it> |
Added Kabylake mobile and desktop models for rapl, cstates and uncore.
They should be same as Skylake.
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
---
arch/x86/events/intel/cstate.c | 3 +++
arch/x86/events/intel/rapl.c | 3 +++
arch/x86/events/intel/uncore.c | 2 ++
3 files changed, 8 insertions(+)
diff --git a/arch/x86/events/intel/cstate.c b/arch/x86/events/intel/cstate.c
index 1076c9a..aff4b5b 100644
--- a/arch/x86/events/intel/cstate.c
+++ b/arch/x86/events/intel/cstate.c
@@ -541,6 +541,9 @@ static const struct x86_cpu_id intel_cstates_match[] __initconst = {
X86_CSTATES_MODEL(INTEL_FAM6_SKYLAKE_MOBILE, snb_cstates),
X86_CSTATES_MODEL(INTEL_FAM6_SKYLAKE_DESKTOP, snb_cstates),
+ X86_CSTATES_MODEL(INTEL_FAM6_KABYLAKE_MOBILE, snb_cstates),
+ X86_CSTATES_MODEL(INTEL_FAM6_KABYLAKE_DESKTOP, snb_cstates),
+
X86_CSTATES_MODEL(INTEL_FAM6_XEON_PHI_KNL, knl_cstates),
X86_CSTATES_MODEL(INTEL_FAM6_XEON_PHI_KNM, knl_cstates),
{ },
diff --git a/arch/x86/events/intel/rapl.c b/arch/x86/events/intel/rapl.c
index 22ef4f7..22054ca 100644
--- a/arch/x86/events/intel/rapl.c
+++ b/arch/x86/events/intel/rapl.c
@@ -771,6 +771,9 @@ static const struct x86_cpu_id rapl_cpu_match[] __initconst = {
X86_RAPL_MODEL_MATCH(INTEL_FAM6_SKYLAKE_DESKTOP, skl_rapl_init),
X86_RAPL_MODEL_MATCH(INTEL_FAM6_SKYLAKE_X, hsx_rapl_init),
+ X86_RAPL_MODEL_MATCH(INTEL_FAM6_KABYLAKE_MOBILE, skl_rapl_init),
+ X86_RAPL_MODEL_MATCH(INTEL_FAM6_KABYLAKE_DESKTOP, skl_rapl_init),
+
X86_RAPL_MODEL_MATCH(INTEL_FAM6_ATOM_GOLDMONT, hsw_rapl_init),
{},
};
diff --git a/arch/x86/events/intel/uncore.c b/arch/x86/events/intel/uncore.c
index 1ab4597..758c1aa 100644
--- a/arch/x86/events/intel/uncore.c
+++ b/arch/x86/events/intel/uncore.c
@@ -1328,6 +1328,8 @@ static const struct x86_cpu_id intel_uncore_match[] __initconst = {
X86_UNCORE_MODEL_MATCH(INTEL_FAM6_SKYLAKE_DESKTOP,skl_uncore_init),
X86_UNCORE_MODEL_MATCH(INTEL_FAM6_SKYLAKE_MOBILE, skl_uncore_init),
X86_UNCORE_MODEL_MATCH(INTEL_FAM6_SKYLAKE_X, skx_uncore_init),
+ X86_UNCORE_MODEL_MATCH(INTEL_FAM6_KABYLAKE_MOBILE, skl_uncore_init),
+ X86_UNCORE_MODEL_MATCH(INTEL_FAM6_KABYLAKE_DESKTOP, skl_uncore_init),
{},
};
--
2.7.4
[toc] | [next] | [standalone]
| From | Thomas Gleixner <tglx@linutronix.de> |
|---|---|
| Date | 2017-02-10 20:20 +0100 |
| Message-ID | <t9oTE-7BA-17@gated-at.bofh.it> |
| In reply to | #1578726 |
On Fri, 10 Feb 2017, Srinivas Pandruvada wrote: > Added Kabylake mobile and desktop models for rapl, cstates and uncore. > They should be same as Skylake. Should be the same? Either they are or they are not. Thanks, tglx
[toc] | [prev] | [next] | [standalone]
| From | Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> |
|---|---|
| Date | 2017-02-10 20:30 +0100 |
| Message-ID | <t9p3j-7EV-3@gated-at.bofh.it> |
| In reply to | #1578732 |
On Fri, 2017-02-10 at 20:16 +0100, Thomas Gleixner wrote: > On Fri, 10 Feb 2017, Srinivas Pandruvada wrote: > > > Added Kabylake mobile and desktop models for rapl, cstates and > > uncore. > > They should be same as Skylake. > > Should be the same? Either they are or they are not. They are same. OK I will send an update. Thanks, Srinivas
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web