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

hwmon: (k10temp) Create common functions and macros for Zen CPU families

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

Reference: https://git.kernel.org/torvalds/c/1782241704239fb7215871bd670e0ae6eefe36b0



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

commit 17822417 upstream.

Many SMN thermal registers in Zen CPU families are common across different
generations. For long-term code maintenance, it is better to rename these
macro and function names to Zen.

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