Commit e8cbc9fa authored by Wei Huang's avatar Wei Huang Committed by Pu Wen
Browse files

hwmon: (k10temp) Add support for Zen3 CPUs

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

Reference: https://git.kernel.org/torvalds/c/55163a1c00fcb526e2aa9f7f952fb38d3543da5e



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

commit 55163a1c upstream.

Zen3 thermal info is supported via a new PCI device ID. Also the voltage
telemetry registers and the current factors need to be defined. k10temp
driver then searches for CPU family 0x19 and configures k10temp_data
accordingly.

Signed-off-by: default avatarWei Huang <wei.huang2@amd.com>
Link: https://lore.kernel.org/r/20200914200715.1997757-1-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 2d3509e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment