]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
platform/x86/dell: Set USTT mode according to BIOS after reboot
authorShyam Sundar S K <Shyam-sundar.S-k@amd.com>
Tue, 16 Sep 2025 11:51:42 +0000 (17:21 +0530)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 23 Sep 2025 09:06:31 +0000 (12:06 +0300)
commit2c61c45af153243baf591a77ec187be2b9cfe302
tree1093cb794f24c5cce180e3c66323059829697509
parent12a3dd4d2cd9232d4e4df3b9a5b3d745db559941
platform/x86/dell: Set USTT mode according to BIOS after reboot

After a reboot, if the user changes the thermal setting in the BIOS, the
BIOS applies this change. However, the current `dell-pc` driver does not
recognize the updated USTT value, resulting in inconsistent thermal
profiles between Windows and Linux.

To ensure alignment with Windows behavior, read the current USTT settings
during driver initialization and update the dell-pc USTT profile
accordingly whenever a change is detected.

Cc: Yijun Shen <Yijun.Shen@Dell.com>
Co-developed-by: Patil Rajesh Reddy <Patil.Reddy@amd.com>
Signed-off-by: Patil Rajesh Reddy <Patil.Reddy@amd.com>
Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Reviewed-by: Lyndon Sanche <lsanche@lyndeno.ca>
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Tested-By: Yijun Shen <Yijun.Shen@Dell.com>
Link: https://patch.msgid.link/20250916115142.188535-1-Shyam-sundar.S-k@amd.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/dell/dell-pc.c