sst-linux/drivers/platform
Srinivas Pandruvada 16d6b2527f platform/x86: ISST: Correct command storage data length
commit 9462e74c5c983cce34019bfb27f734552bebe59f upstream.

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: f607874f35 ("platform/x86: ISST: Restore state on resume")
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20250328224749.2691272-1-srinivas.pandruvada@linux.intel.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-04-10 14:33:42 +02:00
..
chrome platform/chrome: cros_ec_typec: fix missing fwnode reference decrement 2024-12-14 19:54:02 +01:00
goldfish
loongarch
mellanox
mips
olpc
surface platform/surface: aggregator_registry: Add support for Surface Laptop Go 3 2024-09-18 19:23:03 +02:00
x86 platform/x86: ISST: Correct command storage data length 2025-04-10 14:33:42 +02:00
Kconfig
Makefile