linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tools/power turbostat: Add Cometlake support
@ 2019-10-31 13:14 Zhang Rui
  2019-11-01 17:02 ` Len Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Zhang Rui @ 2019-10-31 13:14 UTC (permalink / raw)
  To: rjw, lenb; +Cc: linux-pm

From: Chen Yu <yu.c.chen@intel.com>

From a turbostat point of view, Cometlake is like Kabylake.

Suggested-by: Rui Zhang <rui.zhang@intel.com>
Signed-off-by: Chen Yu <yu.c.chen@intel.com>
---
 tools/power/x86/turbostat/turbostat.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c
index 5d0fddda842c..985e195f066b 100644
--- a/tools/power/x86/turbostat/turbostat.c
+++ b/tools/power/x86/turbostat/turbostat.c
@@ -4610,6 +4610,8 @@ unsigned int intel_model_duplicates(unsigned int model)
 	case INTEL_FAM6_SKYLAKE:
 	case INTEL_FAM6_KABYLAKE_L:
 	case INTEL_FAM6_KABYLAKE:
+	case INTEL_FAM6_COMETLAKE_L:
+	case INTEL_FAM6_COMETLAKE:
 		return INTEL_FAM6_SKYLAKE_L;
 
 	case INTEL_FAM6_ICELAKE_L:
-- 
2.17.1


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

* Re: [PATCH] tools/power turbostat: Add Cometlake support
  2019-10-31 13:14 [PATCH] tools/power turbostat: Add Cometlake support Zhang Rui
@ 2019-11-01 17:02 ` Len Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Len Brown @ 2019-11-01 17:02 UTC (permalink / raw)
  To: Zhang Rui; +Cc: Rafael J. Wysocki, Linux PM list

Applied -- thanks!

On Thu, Oct 31, 2019 at 9:14 AM Zhang Rui <rui.zhang@intel.com> wrote:
>
> From: Chen Yu <yu.c.chen@intel.com>
>
> From a turbostat point of view, Cometlake is like Kabylake.
>
> Suggested-by: Rui Zhang <rui.zhang@intel.com>
> Signed-off-by: Chen Yu <yu.c.chen@intel.com>
> ---
>  tools/power/x86/turbostat/turbostat.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c
> index 5d0fddda842c..985e195f066b 100644
> --- a/tools/power/x86/turbostat/turbostat.c
> +++ b/tools/power/x86/turbostat/turbostat.c
> @@ -4610,6 +4610,8 @@ unsigned int intel_model_duplicates(unsigned int model)
>         case INTEL_FAM6_SKYLAKE:
>         case INTEL_FAM6_KABYLAKE_L:
>         case INTEL_FAM6_KABYLAKE:
> +       case INTEL_FAM6_COMETLAKE_L:
> +       case INTEL_FAM6_COMETLAKE:
>                 return INTEL_FAM6_SKYLAKE_L;
>
>         case INTEL_FAM6_ICELAKE_L:
> --
> 2.17.1
>


-- 
Len Brown, Intel Open Source Technology Center

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

end of thread, other threads:[~2019-11-01 17:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-31 13:14 [PATCH] tools/power turbostat: Add Cometlake support Zhang Rui
2019-11-01 17:02 ` Len Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).