Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1352883
| From | Borislav Petkov <bp@alien8.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v7 2/2] perf/x86/amd/power: Add AMD accumulated power reporting mechanism |
| Date | 2016-03-08 12:10 +0100 |
| Message-ID | <ranGy-8tF-13@gated-at.bofh.it> (permalink) |
| References | <ra5zY-4I3-13@gated-at.bofh.it> <ra5zY-4I3-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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.
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH v7 2/2] perf/x86/amd/power: Add AMD accumulated power reporting mechanism Borislav Petkov <bp@alien8.de> - 2016-03-08 12:10 +0100
csiph-web