diff mbox series

tools/power turbostat: Support Sapphire Rapids

Message ID 20200817083223.18697-1-yu.c.chen@intel.com (mailing list archive)
State Superseded, archived
Delegated to: Len Brown
Headers show
Series tools/power turbostat: Support Sapphire Rapids | expand

Commit Message

Chen Yu Aug. 17, 2020, 8:32 a.m. UTC
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(+)

Comments

Len Brown Aug. 21, 2020, 6:12 p.m. UTC | #1
Already have this one.

thanks!

Len Brown, Intel Open Source Technology Center
diff mbox series

Patch

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;