Skip to contentSkip to conversation

tools/power turbostat: Introduce support for EMR

PATCH In review Zhang Rui 2 participants 3 messages Jan 4, 2023 – Jan 20, 2023 Turbostat utility

lore
Share & tools
lore

Zhang Rui

author
#0 lore raw

PATCH 1/1 tools/power turbostat: Introduce support for EMR

Introduce support for EMR.

---
 tools/power/x86/turbostat/turbostat.c | 3 +++
 1 file changed, 3 insertions(+)
tools/power/x86/turbostat/turbostat.c +3 -0
index aba460410dbd..5073e5cdfec5 100644
@@ -5463,6 +5463,9 @@ unsigned int intel_model_duplicates(unsigned int model)
 
 	case INTEL_FAM6_ICELAKE_D:
 		return INTEL_FAM6_ICELAKE_X;
+
+	case INTEL_FAM6_EMERALDRAPIDS_X:
+		return INTEL_FAM6_SAPPHIRERAPIDS_X;
 	}
 	return model;
 }
Signature · 1 line
2.25.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 22 lines · Zhang Rui

Introduce support for EMR.

---
 tools/power/x86/turbostat/turbostat.c | 3 +++

 1 file changed, 3 insertions(+)
tools/power/x86/turbostat/turbostat.c +0 -0
index aba460410dbd..5073e5cdfec5 100644
@@ -5463,6 +5463,9 @@ unsigned int intel_model_duplicates(unsigned int model)


        case INTEL_FAM6_ICELAKE_D:
                return INTEL_FAM6_ICELAKE_X; +
+       case INTEL_FAM6_EMERALDRAPIDS_X:
+               return INTEL_FAM6_SAPPHIRERAPIDS_X; }
        return model;
 }