linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tools/power turbostat: Support Sapphire Rapids
@ 2020-08-17  8:32 Chen Yu
  2020-08-21 18:12 ` Len Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Chen Yu @ 2020-08-17  8:32 UTC (permalink / raw)
  To: Len Brown; +Cc: linux-pm, linux-kernel, Pandruvada, Srinivas, Chen Yu

Enumerate Saphire Rapids.
Treat it like Sky Lake and Ice Lake server in turbostat.

Signed-off-by: Chen Yu <yu.c.chen@intel.com>
---
 tools/power/x86/turbostat/turbostat.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c
index 33b370865d16..bf09f8bc000b 100644
--- a/tools/power/x86/turbostat/turbostat.c
+++ b/tools/power/x86/turbostat/turbostat.c
@@ -4694,6 +4694,7 @@ unsigned int intel_model_duplicates(unsigned int model)
 		return INTEL_FAM6_ATOM_TREMONT;
 
 	case INTEL_FAM6_ICELAKE_X:
+	case INTEL_FAM6_SAPPHIRERAPIDS_X:
 		return INTEL_FAM6_SKYLAKE_X;
 	}
 	return model;
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] tools/power turbostat: Support Sapphire Rapids
  2020-08-17  8:32 [PATCH] tools/power turbostat: Support Sapphire Rapids Chen Yu
@ 2020-08-21 18:12 ` Len Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Len Brown @ 2020-08-21 18:12 UTC (permalink / raw)
  To: Chen Yu; +Cc: Linux PM list, Linux Kernel Mailing List, Pandruvada, Srinivas

Already have this one.

thanks!

Len Brown, Intel Open Source Technology Center

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-21 18:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-17  8:32 [PATCH] tools/power turbostat: Support Sapphire Rapids Chen Yu
2020-08-21 18:12 ` Len Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).