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

hwmon: (k10temp) Remove support for displaying voltage and current on Zen CPUs

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

Reference: https://git.kernel.org/torvalds/c/0a4e668b5d52eed8026f5d717196b02b55fb2dc6



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

commit 0a4e668b upstream.

Voltages and current are reported by Zen CPUs. However, the means
to do so is undocumented, changes from CPU to CPU, and the raw data
is not calibrated. Calibration information is available, but again
not documented. This results in less than perfect user experience,
up to concerns that loading the driver might possibly damage
the hardware (by reporting out-of range voltages). Effectively
support for reporting voltages and current is not maintainable.
Drop it.

Cc: Artem S. Tashkinov <aros@gmx.com>
Cc: Wei Huang <wei.huang2@amd.com>
Tested-by: default avatarWei Huang <wei.huang2@amd.com>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
[fix conflict during backport]
Signed-off-by: default avatarPu Wen <puwen@hygon.cn>
parent 2ecae52a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment