diff mbox series

[1/2] tools/power turbostat: Support Alder Lake P

Message ID 1355736401e160d29326a222fd3af5492883da61.1612341978.git.yu.c.chen@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Len Brown
Headers show
Series Add more CPUs support in turbostat | expand

Commit Message

Chen Yu Feb. 3, 2021, 8:54 a.m. UTC
Share the code between Alder Lake P and Alder Lake S.

Tested-by: Wendy Wang <wendy.wang@intel.com>
Signed-off-by: Chen Yu <yu.c.chen@intel.com>
---
 tools/power/x86/turbostat/turbostat.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c
index 389ea5209a83..34628e3e7099 100644
--- a/tools/power/x86/turbostat/turbostat.c
+++ b/tools/power/x86/turbostat/turbostat.c
@@ -4986,6 +4986,7 @@  unsigned int intel_model_duplicates(unsigned int model)
 	case INTEL_FAM6_ROCKETLAKE:
 	case INTEL_FAM6_LAKEFIELD:
 	case INTEL_FAM6_ALDERLAKE:
+	case INTEL_FAM6_ALDERLAKE_L:
 		return INTEL_FAM6_CANNONLAKE_L;
 
 	case INTEL_FAM6_ATOM_TREMONT_L: