summaryrefslogtreecommitdiffstats
path: root/drivers/extcon
diff options
context:
space:
mode:
authorHuang Rui <ray.huang@amd.com>2016-04-06 09:44:11 +0200
committerGuenter Roeck <linux@roeck-us.net>2016-04-19 15:32:35 +0200
commitfa7943449943124e40cabcd453b08c3f8221c454 (patch)
treeb20d8273413fc1dab05e147101feda94999c1214 /drivers/extcon
parenthwmon: (fam15h_power) Add CPU_SUP_AMD as the dependence (diff)
downloadlinux-fa7943449943124e40cabcd453b08c3f8221c454.tar.xz
linux-fa7943449943124e40cabcd453b08c3f8221c454.zip
hwmon: (fam15h_power) Add compute unit accumulated power
This patch adds a member in fam15h_power_data which specifies the compute unit accumulated power. It adds do_read_registers_on_cu to do all the read to all MSRs and run it on one of the online cores on each compute unit with smp_call_function_many(). This behavior can decrease IPI numbers. Suggested-by: Borislav Petkov <bp@alien8.de> Signed-off-by: Huang Rui <ray.huang@amd.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/extcon')
0 files changed, 0 insertions, 0 deletions