linux/drivers/platform/x86/intel
Srinivas Pandruvada 9462e74c5c
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: 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>
2025-04-01 14:20:53 +03:00
..
atomisp2 platform/x86: intel_atomisp2_led: Also turn off the always-on camera LED on the Asus T100TAF 2022-07-10 19:37:19 +02:00
ifs platform/x86: intel: Use *-y instead of *-objs in Makefile 2025-02-24 17:15:06 +02:00
int1092 platform/x86: Switch back to struct platform_driver::remove() 2024-10-17 12:39:32 +03:00
int3472 platform/x86: int3472: Call "func" "con_id" instead 2025-02-13 14:25:36 +02:00
pmc platform/x86/intel/pmc: Remove unneeded extern keyword in header 2025-02-24 13:35:11 +02:00
pmt platform/x86/intel/pmt: Constify 'struct bin_attribute' 2024-12-17 13:12:57 +02:00
speed_select_if platform/x86: ISST: Correct command storage data length 2025-04-01 14:20:53 +03:00
telemetry platform/x86: Switch back to struct platform_driver::remove() 2024-10-17 12:39:32 +03:00
uncore-frequency module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
wmi platform/x86: wmi: Do not instantiate older WMI drivers multiple times 2024-03-12 12:47:35 +02:00
Kconfig platform/x86/intel: bytcrc_pwrsrc: fix power_supply dependency 2024-12-17 13:13:09 +02:00
Makefile platform/x86: intel: Add 'intel' prefix to the modules automatically 2024-10-31 11:42:24 +02:00
bxtwc_tmu.c - Several drivers, including atmel-flexcom/rk8xx-core, palmas, and 2024-11-22 16:19:47 -08:00
bytcrc_pwrsrc.c platform/x86/intel: bytcrc_pwrsrc: Optionally register a power_supply dev 2024-12-10 15:29:37 +02:00
chtdc_ti_pwrbtn.c platform/x86: Switch back to struct platform_driver::remove() 2024-10-17 12:39:32 +03:00
chtwc_int33fe.c platform/x86: Switch back to struct platform_driver::remove() 2024-10-17 12:39:32 +03:00
crystal_cove_charger.c platform/x86: intel_crystal_cove_charger: Fix IRQ masking / unmasking 2022-01-24 10:41:46 +01:00
hid.c platform/x86: intel-hid: fix volume buttons on Microsoft Surface Go 4 tablet 2025-03-03 14:32:11 +02:00
int0002_vgpio.c platform/x86: intel: int0002_vgpio: Make the irqchip immutable 2024-12-10 15:31:40 +02:00
ishtp_eclite.c HID: intel-ish-hid: fix module device-id handling 2021-11-11 22:45:40 +01:00
mrfld_pwrbtn.c platform/x86: Switch back to struct platform_driver::remove() 2024-10-17 12:39:32 +03:00
oaktrail.c platform/x86: oaktrail: Use backlight power constants 2024-08-12 16:27:34 +02:00
plr_tpmi.c platform/x86/intel/tpmi/plr: Make char[] longer to silence warning 2024-12-17 13:13:01 +02:00
punit_ipc.c platform/x86: intel: punit_ipc: Remove unused function 2025-01-15 16:26:30 +02:00
rst.c platform/x86/intel: add missing MODULE_DESCRIPTION() macros 2024-06-24 13:33:16 +02:00
sdsi.c platform/x86/intel/sdsi: Constify 'struct bin_attribute' 2024-12-17 13:12:52 +02:00
smartconnect.c platform/x86/intel: add missing MODULE_DESCRIPTION() macros 2024-06-24 13:33:16 +02:00
tpmi_power_domains.c Merge branch 'fixes' into 'for-next' 2025-01-21 14:00:38 +02:00
tpmi_power_domains.h platform/x86/intel: TPMI domain id and CPU mapping 2024-05-31 16:31:23 +03:00
turbo_max_3.c platform/x86: intel_turbo_max_3: Switch to new Intel CPU model defines 2024-06-03 09:49:05 +03:00
vbtn.c platform/x86: Switch back to struct platform_driver::remove() 2024-10-17 12:39:32 +03:00
vsec.c platform/x86/intel/vsec: Add Diamond Rapids support 2025-03-03 14:34:04 +02:00
vsec_tpmi.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00