Messages in this thread | | | Date | Tue, 8 Mar 2016 12:04:50 +0100 | From | Borislav Petkov <> | 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@infradead.org> > Suggested-by: Ingo Molnar <mingo@kernel.org> > Suggested-by: Borislav Petkov <bp@suse.de> > Signed-off-by: Huang Rui <ray.huang@amd.com> > Cc: Guenter Roeck <linux@roeck-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.
| |