Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1411711

[PATCH 19/20] x86, rapl: add Skylake server model detection

From Dave Hansen <dave@sr71.net>
Newsgroups linux.kernel
Subject [PATCH 19/20] x86, rapl: add Skylake server model detection
Date 2016-06-02 02:20 +0200
Message-ID <rFowH-7d9-39@gated-at.bofh.it> (permalink)
References <rFowF-7d9-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Jacob Pan <jacob.jun.pan@linux.intel.com>

SKX uses similar RAPL interface as Broadwell server.

Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
---

 b/arch/x86/events/intel/rapl.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN arch/x86/events/intel/rapl.c~x86-intel-familites-rapl-skx arch/x86/events/intel/rapl.c
--- a/arch/x86/events/intel/rapl.c~x86-intel-familites-rapl-skx	2016-06-01 15:45:10.645238850 -0700
+++ b/arch/x86/events/intel/rapl.c	2016-06-01 15:45:10.650239079 -0700
@@ -807,6 +807,7 @@ static const struct x86_cpu_id rapl_cpu_
 
 	X86_RAPL_MODEL_MATCH(INTEL_FAM6_MODEL_SKYLAKE_MOBILE, skl_rapl_init),
 	X86_RAPL_MODEL_MATCH(INTEL_FAM6_MODEL_SKYLAKE_DESKTOP, skl_rapl_init),
+	X86_RAPL_MODEL_MATCH(INTEL_FAM6_MODEL_SKYLAKE_X, hsx_rapl_init),
 	{},
 };
 
_

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 19/20] x86, rapl: add Skylake server model detection Dave Hansen <dave@sr71.net> - 2016-06-02 02:20 +0200

csiph-web