[PATCH 00/15] hwmon, fam15h_power: introduce an accumulated power reporting algorithm

From: Huang Rui
Date: Thu Aug 27 2015 - 04:23:24 EST


Hi all,

This serial of patches introduces an accumulated power reporting
algorithm. It will calculate the average power consumption for the
processor. The cpu feature flag is CPUID.8000_0007H:EDX[12].

This algorithm is used to test the comparison of processor power
consumption with between MWAITX delay and TSC delay on AMD Carrizo
platforms.

Reference:
http://marc.info/?l=linux-kernel&m=143874573111310&w=2

Commit f96756 at tip ("x86/asm: Add MONITORX/MWAITX instruction support")
Commit b466bd at tip ("x86/asm/delay: Introduce an MWAITX-based delay with a configurable timer")

Thanks,
Rui

Huang Rui (15):
hwmon, fam15h_power: add support for AMD Carrizo
hwmon, fam15h_power: rename fam15h_power_is_internal_node0 function
hwmon, fam15h_power: refactor attributes for dynamically added
hwmon, fam15h_power: update running_avg_capture bit field to 28
hwmon, fam15h_power: enable power1_input on AMD Carrizo
hwmon, fam15h_power: add documentation for new processors support
hwmon, fam15h_power: add ratio of Tsample to the PTSC period
hwmon, fam15h_power: add max compute unit accumulated power
x86, amd: add accessor for number of cores per compute unit
hwmon, fam15h_power: add compute unit accumulated power
hwmon, fam15h_power: add ptsc counter value for accumulated power
hwmon, fam15h_power: introduce a cpu accumulated power reporting
algorithm
hwmon, fam15h_power: add documentation for previous TDP reporting
hwmon, fam15h_power: add documentation for accumulated power algorithm
MAINTAINERS: change the maintainer of fam15h_power driver

Documentation/hwmon/fam15h_power | 63 +++++++++++-
MAINTAINERS | 4 +-
arch/x86/include/asm/msr-index.h | 1 +
arch/x86/include/asm/processor.h | 1 +
arch/x86/kernel/cpu/amd.c | 19 +++-
drivers/hwmon/fam15h_power.c | 204 ++++++++++++++++++++++++++++++++++-----
6 files changed, 258 insertions(+), 34 deletions(-)

--
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/