Message ID | 20220910131542.22708-2-rui.zhang@intel.com (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | Len Brown |
Headers | show |
Series | [1/2] powercap: intel_rapl: Add support for MeteorLake platforms | expand |
diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c index df040d87edd8..597cc2dbc456 100644 --- a/tools/power/x86/turbostat/turbostat.c +++ b/tools/power/x86/turbostat/turbostat.c @@ -5448,6 +5448,8 @@ unsigned int intel_model_duplicates(unsigned int model) case INTEL_FAM6_RAPTORLAKE: case INTEL_FAM6_RAPTORLAKE_P: case INTEL_FAM6_RAPTORLAKE_S: + case INTEL_FAM6_METEORLAKE: + case INTEL_FAM6_METEORLAKE_L: return INTEL_FAM6_CANNONLAKE_L; case INTEL_FAM6_ATOM_TREMONT_L:
Add turbostat support for MeteorLake platforms, which behave the same as RaptorLake platforms. Signed-off-by: Zhang Rui <rui.zhang@intel.com> --- Note: This patch depends on commit 5515d21c6817 ("x86/cpu: Add CPU model numbers for Meteor Lake") in the x86/urgent branch of tip tree. Note: This patch is made on top of patch "tools/power turbostat: add support for RPL-S" at https://patchwork.kernel.org/project/linux-pm/patch/20220831064957.1773-1-rui.zhang@intel.com/ to avoid conflict. --- tools/power/x86/turbostat/turbostat.c | 2 ++ 1 file changed, 2 insertions(+)