Commit 613cf6fd authored by Guenter Roeck's avatar Guenter Roeck Committed by Pu Wen
Browse files

hwmon: (k10temp) Show core and SoC current and voltages on Ryzen CPUs

mainline inclusion
from mainline-v5.6-rc1
commit b00647c4
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I7DX6V
CVE: NA

Reference: https://git.kernel.org/torvalds/c/b00647c46c9d7f6ee1ff6aaf335906101755e614



---------------------------

commit b00647c4 upstream.

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: default avatarBrad Campbell <lists2009@fnarfbargle.com>
Tested-by: default avatarBernhard Gebetsberger <bernhard.gebetsberger@gmx.at>
Tested-by: default avatarHolger Kiehl <holger.kiehl@dwd.de>
Tested-by: default avatarMichael Larabel <michael@phoronix.com>
Tested-by: default avatarJonathan McDowell <noodles@earth.li>
Tested-by: default avatarKen Moffat <zarniwhoop73@googlemail.com>
Tested-by: default avatarDarren Salt <devspam@moreofthesa.me.uk>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
[fix conflict during backport]
Signed-off-by: default avatarPu Wen <puwen@hygon.cn>
parent c1d33c73
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment