]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (k10temp) Show core and SoC current and voltages on Ryzen CPUs
authorGuenter Roeck <linux@roeck-us.net>
Wed, 15 Jan 2020 01:54:05 +0000 (17:54 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 23 Jan 2020 21:15:11 +0000 (13:15 -0800)
commitaba027eba9ae1c3bdcee40048618c2c03e21bc41
treed6a58c34ccb5fc6ce5e5297847fff55715606293
parent923c3f23e663b5d372b194eb3541598a92e4c82e
hwmon: (k10temp) Show core and SoC current and voltages on Ryzen CPUs

Ryzen CPUs report core and SoC voltages and currents. Add support
for it to the k10temp driver.

For the time being, only report voltages and currents for Ryzen
CPUs. Threadripper and EPYC appear to use a different mechanism.

Tested-by: Brad Campbell <lists2009@fnarfbargle.com>
Tested-by: Bernhard Gebetsberger <bernhard.gebetsberger@gmx.at>
Tested-by: Holger Kiehl <holger.kiehl@dwd.de>
Tested-by: Michael Larabel <michael@phoronix.com>
Tested-by: Jonathan McDowell <noodles@earth.li>
Tested-by: Ken Moffat <zarniwhoop73@googlemail.com>
Tested-by: Darren Salt <devspam@moreofthesa.me.uk>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/k10temp.c