aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/lock_debug.c
diff options
context:
space:
mode:
authorSrinivas Pandruvada <[email protected]>2025-03-28 22:47:49 +0000
committerIlpo Järvinen <[email protected]>2025-04-01 11:20:53 +0000
commit9462e74c5c983cce34019bfb27f734552bebe59f (patch)
treef1a1542becb3be36b602a8b71aa3421185aea60d /net/core/lock_debug.c
parentplatform/x86: thinkpad_acpi: disable ACPI fan access for T495* and E560 (diff)
downloadkernel-9462e74c5c983cce34019bfb27f734552bebe59f.tar.gz
kernel-9462e74c5c983cce34019bfb27f734552bebe59f.zip
platform/x86: ISST: Correct command storage data length
After resume/online turbo limit ratio (TRL) is restored partially if the admin explicitly changed TRL from user space. A hash table is used to store SST mail box and MSR settings when modified to restore those settings after resume or online. This uses a struct isst_cmd field "data" to store these settings. This is a 64 bit field. But isst_store_new_cmd() is only assigning as u32. This results in truncation of 32 bits. Change the argument to u64 from u32. Fixes: f607874f35cb ("platform/x86: ISST: Restore state on resume") Signed-off-by: Srinivas Pandruvada <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'net/core/lock_debug.c')
0 files changed, 0 insertions, 0 deletions