Commit 4972148f authored by Mario Limonciello's avatar Mario Limonciello Committed by Pu Wen
Browse files

hwmon: (k10temp) Don't show Tdie for all Zen/Zen2/Zen3 CPU/APU

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

Reference: https://git.kernel.org/torvalds/c/02a2484cf8d17a2acf3b9b151147bafaa55ad38c



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

commit 02a2484c upstream.

Tdie is an offset calculation that should only be shown when temp_offset
is actually put into a table.  This is useless to show for all CPU/APU.
Show it only when necessary.

Signed-off-by: default avatarMario Limonciello <mario.limonciello@amd.com>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarPu Wen <puwen@hygon.cn>
parent 838d5d88
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment