summaryrefslogtreecommitdiff
path: root/drivers/hwmon/adt7310.c
diff options
context:
space:
mode:
authorHuang Rui <ray.huang@amd.com>2016-04-06 10:44:11 +0300
committerGuenter Roeck <linux@roeck-us.net>2016-04-19 16:32:35 +0300
commitfa7943449943124e40cabcd453b08c3f8221c454 (patch)
treeb20d8273413fc1dab05e147101feda94999c1214 /drivers/hwmon/adt7310.c
parent3ba4e3841530b1565f761778bd0e14e242a4ab9a (diff)
downloadlinux-fa7943449943124e40cabcd453b08c3f8221c454.tar.xz
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/hwmon/adt7310.c')
0 files changed, 0 insertions, 0 deletions