Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1411697 > unrolled thread
| Started by | Dave Hansen <dave@sr71.net> |
|---|---|
| First post | 2016-06-02 02:20 +0200 |
| Last post | 2016-06-02 02:20 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 06/20] x86, msr: add missing Intel models Dave Hansen <dave@sr71.net> - 2016-06-02 02:20 +0200
| From | Dave Hansen <dave@sr71.net> |
|---|---|
| Date | 2016-06-02 02:20 +0200 |
| Subject | [PATCH 06/20] x86, msr: add missing Intel models |
| Message-ID | <rFowF-7d9-9@gated-at.bofh.it> |
From: Dave Hansen <dave.hansen@linux.intel.com> This patch presumes that Kabylake and Skylake Server will be the same as the existing Skylake parts and adds them to the MSR events code. Also add handling for "WESTMERE2". Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> --- b/arch/x86/events/msr.c | 4 ++++ 1 file changed, 4 insertions(+) diff -puN arch/x86/events/msr.c~x86-intel-familites-msr-fix arch/x86/events/msr.c --- a/arch/x86/events/msr.c~x86-intel-familites-msr-fix 2016-06-01 15:45:05.061984244 -0700 +++ b/arch/x86/events/msr.c 2016-06-01 15:45:05.064984381 -0700 @@ -40,6 +40,7 @@ static bool test_intel(int idx) case INTEL_FAM6_MODEL_NEHALEM_EX: case INTEL_FAM6_MODEL_WESTMERE: + case INTEL_FAM6_MODEL_WESTMERE2: case INTEL_FAM6_MODEL_WESTMERE_EP: case INTEL_FAM6_MODEL_WESTMERE_EX: @@ -68,6 +69,9 @@ static bool test_intel(int idx) case INTEL_FAM6_MODEL_SKYLAKE_MOBILE: case INTEL_FAM6_MODEL_SKYLAKE_DESKTOP: + case INTEL_FAM6_MODEL_SKYLAKE_X: + case INTEL_FAM6_MODEL_KABYLAKE_MOBILE: + case INTEL_FAM6_MODEL_KABYLAKE_DESKTOP: if (idx == PERF_MSR_SMI || idx == PERF_MSR_PPERF) return true; break; _
Back to top | Article view | linux.kernel
csiph-web