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:Wei Huang <wei.huang2@amd.com> Link: https://lore.kernel.org/r/20200827054242.2347-1-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