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:Wei Huang <wei.huang2@amd.com> Signed-off-by:
Guenter Roeck <linux@roeck-us.net> [fix conflict during backport] Signed-off-by:
Pu Wen <puwen@hygon.cn>
Loading
Please sign in to comment