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 <[email protected]>
> Suggested-by: Ingo Molnar <[email protected]>
> Suggested-by: Borislav Petkov <[email protected]>
> Signed-off-by: Huang Rui <[email protected]>
> Cc: Guenter Roeck <[email protected]>
> ---
>  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.

Reply via email to