All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add more CPUs support in turbostat
@ 2021-02-03  8:54 Chen Yu
  2021-02-03  8:54 ` [PATCH 1/2] tools/power turbostat: Support Alder Lake P Chen Yu
  2021-02-03  8:54 ` [PATCH 2/2] tools/power turbostat: Support Ice Lake D Chen Yu
  0 siblings, 2 replies; 3+ messages in thread
From: Chen Yu @ 2021-02-03  8:54 UTC (permalink / raw)
  To: Len Brown, Len Brown; +Cc: linux-pm, linux-kernel, Chen Yu

Alder Lake P and Ice Lake D are added in this patch set.

Chen Yu (2):
  tools/power turbostat: Support Alder Lake Mobile
  tools/power turbostat: Support Ice Lake D

 tools/power/x86/turbostat/turbostat.c | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/2] tools/power turbostat: Support Alder Lake P
  2021-02-03  8:54 [PATCH 0/2] Add more CPUs support in turbostat Chen Yu
@ 2021-02-03  8:54 ` Chen Yu
  2021-02-03  8:54 ` [PATCH 2/2] tools/power turbostat: Support Ice Lake D Chen Yu
  1 sibling, 0 replies; 3+ messages in thread
From: Chen Yu @ 2021-02-03  8:54 UTC (permalink / raw)
  To: Len Brown, Len Brown; +Cc: linux-pm, linux-kernel, Chen Yu, Wendy Wang

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 --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:
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] tools/power turbostat: Support Ice Lake D
  2021-02-03  8:54 [PATCH 0/2] Add more CPUs support in turbostat Chen Yu
  2021-02-03  8:54 ` [PATCH 1/2] tools/power turbostat: Support Alder Lake P Chen Yu
@ 2021-02-03  8:54 ` Chen Yu
  1 sibling, 0 replies; 3+ messages in thread
From: Chen Yu @ 2021-02-03  8:54 UTC (permalink / raw)
  To: Len Brown, Len Brown; +Cc: linux-pm, linux-kernel, Chen Yu, Wendy Wang

Ice Lake D is low-end server version of Ice Lake X, reuse
the code accordingly.

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 --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c
index 34628e3e7099..d3c2ef91ac49 100644
--- a/tools/power/x86/turbostat/turbostat.c
+++ b/tools/power/x86/turbostat/turbostat.c
@@ -4993,6 +4993,7 @@ unsigned int intel_model_duplicates(unsigned int model)
 		return INTEL_FAM6_ATOM_TREMONT;
 
 	case INTEL_FAM6_ICELAKE_X:
+	case INTEL_FAM6_ICELAKE_D:
 	case INTEL_FAM6_SAPPHIRERAPIDS_X:
 		return INTEL_FAM6_SKYLAKE_X;
 	}
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-02-03  8:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-03  8:54 [PATCH 0/2] Add more CPUs support in turbostat Chen Yu
2021-02-03  8:54 ` [PATCH 1/2] tools/power turbostat: Support Alder Lake P Chen Yu
2021-02-03  8:54 ` [PATCH 2/2] tools/power turbostat: Support Ice Lake D Chen Yu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.