Message ID | 20230104142353.22871-1-rui.zhang@intel.com |
---|---|
State | Accepted |
Commit | 93cac4150727dae0ee89f501dd75413b88eedec0 |
Headers | show |
Series | tools/power turbostat: Introduce support for EMR | expand |
Reviewed-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> On Wed, 2023-01-04 at 22:23 +0800, Zhang Rui wrote: > Introduce support for EMR. > > Signed-off-by: Zhang Rui <rui.zhang@intel.com> > --- > tools/power/x86/turbostat/turbostat.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/tools/power/x86/turbostat/turbostat.c > b/tools/power/x86/turbostat/turbostat.c > index aba460410dbd..5073e5cdfec5 100644 > --- a/tools/power/x86/turbostat/turbostat.c > +++ b/tools/power/x86/turbostat/turbostat.c > @@ -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; > }
On Wed, 2023-01-11 at 18:29 +0200, Artem Bityutskiy wrote: > Reviewed-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> And today, also Tested-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c index aba460410dbd..5073e5cdfec5 100644 --- a/tools/power/x86/turbostat/turbostat.c +++ b/tools/power/x86/turbostat/turbostat.c @@ -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; }
Introduce support for EMR. Signed-off-by: Zhang Rui <rui.zhang@intel.com> --- tools/power/x86/turbostat/turbostat.c | 3 +++ 1 file changed, 3 insertions(+)