Centos-kernel-stream-9/drivers/platform/x86
David Arcari c57e4b77fc drivers/platform/x86/amd: pmf: Check for invalid Smart PC Policies
JIRA: https://issues.redhat.com/browse/RHEL-105420

commit 8e81b9cd6e95188d12c9cc25d40b61dd5ea05ace
Author: Mario Limonciello <mario.limonciello@amd.com>
Date:   Wed Apr 23 08:18:45 2025 -0500

    drivers/platform/x86/amd: pmf: Check for invalid Smart PC Policies

    commit 376a8c2a14439 ("platform/x86/amd/pmf: Update PMF Driver for
    Compatibility with new PMF-TA") added support for platforms that support
    an updated TA, however it also exposed a number of platforms that although
    they have support for the updated TA don't actually populate a policy
    binary.

    Add an explicit check that the policy binary isn't empty before
    initializing the TA.

    Reported-by: Christian Heusel <christian@heusel.eu>
    Closes: https://lore.kernel.org/platform-driver-x86/ae644428-5bf2-4b30-81ba-0b259ed3449b@heusel.eu/
    Fixes: 376a8c2a14439 ("platform/x86/amd/pmf: Update PMF Driver for Compatibility with new PMF-TA")
    Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
    Tested-by: Christian Heusel <christian@heusel.eu>
    Link: https://lore.kernel.org/r/20250423132002.3984997-3-superm1@kernel.org
    Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
    Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>

Signed-off-by: David Arcari <darcari@redhat.com>
2025-09-22 14:22:32 -04:00
..
amd drivers/platform/x86/amd: pmf: Check for invalid Smart PC Policies 2025-09-22 14:22:32 -04:00
dell platform/x86: dell_rbu: Bump version 2025-06-27 17:25:24 -04:00
intel platform/x86/intel/pmc: Fix Arrow Lake U/H NPU PCI ID 2025-08-26 13:37:55 -04:00
Kconfig kconfig: Fix HWMON circular dependency 2025-06-30 15:57:02 +02:00
Makefile thermal: intel: menlow: Get rid of this driver 2024-05-03 16:26:44 -04:00
acer-wireless.c
acer-wmi.c
acerhdf.c
adv_swbutton.c
amilo-rfkill.c
apple-gmux.c
asus-laptop.c ACPI: make remove callback of ACPI driver void 2024-03-20 09:42:49 -04:00
asus-nb-wmi.c
asus-wireless.c ACPI: make remove callback of ACPI driver void 2024-03-20 09:42:49 -04:00
asus-wmi.c
asus-wmi.h
classmate-laptop.c ACPI: make remove callback of ACPI driver void 2024-03-20 09:42:49 -04:00
compal-laptop.c
dual_accel_detect.h
eeepc-laptop.c ACPI: make remove callback of ACPI driver void 2024-03-20 09:42:49 -04:00
eeepc-wmi.c
firmware_attributes_class.c
firmware_attributes_class.h
fujitsu-laptop.c ACPI: make remove callback of ACPI driver void 2024-03-20 09:42:49 -04:00
fujitsu-tablet.c ACPI: make remove callback of ACPI driver void 2024-03-20 09:42:49 -04:00
gigabyte-wmi.c
gpd-pocket-fan.c
hdaps.c
hp-wmi.c ACPI: platform_profile: Remove platform_profile_handler from exported symbols 2025-09-22 14:18:49 -04:00
hp_accel.c ACPI: make remove callback of ACPI driver void 2024-03-20 09:42:49 -04:00
huawei-wmi.c
ibm_rtl.c
ideapad-laptop.c ACPI: platform_profile: Remove platform_profile_handler from exported symbols 2025-09-22 14:18:49 -04:00
intel_bxtwc_tmu.c
intel_chtdc_ti_pwrbtn.c
intel_ips.c drm/intel: intel headers were moved to include/drm/intel/ 2025-01-10 10:39:38 +01:00
intel_ips.h
intel_mrfld_pwrbtn.c
intel_punit_ipc.c
intel_scu_ipc.c
intel_scu_ipcutil.c
intel_scu_pcidrv.c
intel_scu_pltdrv.c
intel_scu_wdt.c
lg-laptop.c ACPI: make remove callback of ACPI driver void 2024-03-20 09:42:49 -04:00
mlx-platform.c
msi-laptop.c
msi-wmi.c
mxm-wmi.c
nvidia-wmi-ec-backlight.c
p2sb.c platform/x86: p2sb: On Goldmont only cache P2SB and SPI devfn BAR 2024-05-21 15:39:17 -04:00
panasonic-laptop.c platform/x86: panasonic-laptop: Add support for programmable buttons 2025-01-10 13:10:27 -05:00
pcengines-apuv2.c
peaq-wmi.c
pmc_atom.c
samsung-laptop.c
samsung-q10.c
serial-multi-instantiate.c ALSA: hda/tas2781: Add tas2781 hda SPI driver 2025-01-27 19:47:20 +01:00
sony-laptop.c minmax: make generic MIN() and MAX() macros available everywhere 2024-11-18 10:30:14 -03:00
system76_acpi.c ACPI: make remove callback of ACPI driver void 2024-03-20 09:42:49 -04:00
tc1100-wmi.c
think-lmi.c
think-lmi.h
thinkpad_acpi.c platform/x86: thinkpad_acpi: Fix registration of tpacpi platform driver 2025-09-22 14:20:15 -04:00
topstar-laptop.c ACPI: make remove callback of ACPI driver void 2024-03-20 09:42:49 -04:00
toshiba-wmi.c
toshiba_acpi.c ACPI: make remove callback of ACPI driver void 2024-03-20 09:42:49 -04:00
toshiba_bluetooth.c ACPI: make remove callback of ACPI driver void 2024-03-20 09:42:49 -04:00
toshiba_haps.c ACPI: make remove callback of ACPI driver void 2024-03-20 09:42:49 -04:00
touchscreen_dmi.c
uv_sysfs.c
wireless-hotkey.c ACPI: make remove callback of ACPI driver void 2024-03-20 09:42:49 -04:00
wmi-bmof.c
wmi.c platform/x86: wmi: Fix opening of char device 2024-05-30 08:34:15 -04:00
xiaomi-wmi.c
xo1-rfkill.c
xo15-ebook.c ACPI: make remove callback of ACPI driver void 2024-03-20 09:42:49 -04:00