diff options
author | Huang Rui <ray.huang@amd.com> | 2016-04-06 09:44:11 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2016-04-19 15:32:35 +0200 |
commit | fa7943449943124e40cabcd453b08c3f8221c454 (patch) | |
tree | b20d8273413fc1dab05e147101feda94999c1214 /drivers/extcon | |
parent | hwmon: (fam15h_power) Add CPU_SUP_AMD as the dependence (diff) | |
download | linux-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