2020-08-17 08:32:17

by Chen Yu

[permalink] [raw]
Subject: [PATCH] tools/power turbostat: Support Sapphire Rapids

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

Signed-off-by: Chen Yu <[email protected]>
---
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


2020-08-21 18:14:33

by Len Brown

[permalink] [raw]
Subject: Re: [PATCH] tools/power turbostat: Support Sapphire Rapids

Already have this one.

thanks!

Len Brown, Intel Open Source Technology Center