[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160308110450.GD16568@pd.tnic>
Date: Tue, 8 Mar 2016 12:04:50 +0100
From: Borislav Petkov <bp@...en8.de>
To: Huang Rui <ray.huang@....com>
Cc: Borislav Petkov <bp@...e.de>, Thomas Gleixner <tglx@...utronix.de>,
Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...nel.org>,
Andy Lutomirski <luto@...capital.net>,
Robert Richter <rric@...nel.org>,
Jacob Shin <jacob.w.shin@...il.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Kan Liang <kan.liang@...el.com>, linux-kernel@...r.kernel.org,
spg_linux_kernel@....com, x86@...nel.org,
Suravee Suthikulpanit <suravee.suthikulpanit@....com>,
Aravind Gopalakrishnan <Aravind.Gopalakrishnan@....com>,
Guenter Roeck <linux@...ck-us.net>,
Fengguang Wu <fengguang.wu@...el.com>
Subject: Re: [PATCH v7 2/2] perf/x86/amd/power: Add AMD accumulated power
reporting mechanism
On Mon, Mar 07, 2016 at 10:26:42AM +0800, Huang Rui wrote:
> Introduce an AMD accumlated power reporting mechanism for the Family
> 15h, Model 60h processor that can be used to calculate the average
> power consumed by a processor during a measurement interval. The
> feature support is indicated by CPUID Fn8000_0007_EDX[12].
>
> This feature will be implemented both in hwmon and perf. The current
> design provides one event to report per package/processor power
> consumption by counting each compute unit power value.
...
> Suggested-by: Peter Zijlstra <peterz@...radead.org>
> Suggested-by: Ingo Molnar <mingo@...nel.org>
> Suggested-by: Borislav Petkov <bp@...e.de>
> Signed-off-by: Huang Rui <ray.huang@....com>
> Cc: Guenter Roeck <linux@...ck-us.net>
> ---
> arch/x86/Kconfig | 9 +
> arch/x86/kernel/cpu/Makefile | 1 +
> arch/x86/kernel/cpu/perf_event_amd_power.c | 353 +++++++++++++++++++++++++++++
Please redo this patch against latest tip/master and add Thomas'
Reviewed-by.
Thanks.
--
Regards/Gruss,
Boris.
ECO tip #101: Trim your mails when you reply.
Powered by blists - more mailing lists