diff options
| author | Zhang Rui <[email protected]> | 2025-05-19 07:09:01 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2025-05-19 19:08:39 +0000 |
| commit | cf948c8e274e8b406e846cdf6cc48fe47f98cf57 (patch) | |
| tree | 4dd6562911d0f3871ede34b5299ea4cefdaf08d0 /rust/helpers/build_assert.c | |
| parent | Linux 6.15-rc7 (diff) | |
| download | kernel-cf948c8e274e8b406e846cdf6cc48fe47f98cf57.tar.gz kernel-cf948c8e274e8b406e846cdf6cc48fe47f98cf57.zip | |
thermal: intel: x86_pkg_temp_thermal: Fix bogus trip temperature
The tj_max value obtained from the Intel TCC library are in Celsius,
whereas the thermal subsystem operates in milli-Celsius.
This discrepancy leads to incorrect trip temperature calculations.
Fix bogus trip temperature by converting tj_max to milli-Celsius Unit.
Fixes: 8ef0ca4a177d ("Merge back other thermal control material for 6.3.")
Signed-off-by: Zhang Rui <[email protected]>
Reported-by: zhang ning <[email protected]>
Closes: https://lore.kernel.org/all/TY2PR01MB3786EF0FE24353026293F5ACCD97A@TY2PR01MB3786.jpnprd01.prod.outlook.com/
Tested-by: zhang ning <[email protected]>
Cc: 6.3+ <[email protected]> # 6.3+
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'rust/helpers/build_assert.c')
0 files changed, 0 insertions, 0 deletions
