linux/drivers/platform
Srinivas Pandruvada 9b9026943b
platform/x86: ISST: Use PP level enable mask
Add check for enabled levels only when reading MMIO. Some levels can be
disabled by BIOS. If the level is not enabled, return an error.

Reset the enable and allowed level masks if there is a failure to add a
perf level.

Fixes: ea009e4769 ("platform/x86: ISST: Add SST-PP support via TPMI")
Cc: stable@vger.kernel.org
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Link: https://patch.msgid.link/20260811221514.3905817-6-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>
2026-08-18 17:30:25 +03:00
..
arm64 platform: arm64: qcom-hamoa-ec: reject incomplete responses 2026-08-03 20:02:53 +03:00
chrome Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
cznic platform: cznic: turris-omnia-mcu: replace use of system_wq with system_percpu_wq 2026-05-07 11:29:59 -10:00
goldfish Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
loongarch platform/loongarch: laptop: Unregister generic_sub_drivers on exit 2025-06-07 11:37:15 +08:00
mellanox platform/mellanox: mlxbf-pmc: Check ACPI_COMPANION() against NULL 2026-07-10 16:33:55 +03:00
mips platform: mips: cpu_hwmon: Disable driver on unsupported hardware 2024-06-21 10:22:10 +02:00
olpc platform/olpc: olpc-xo175-ec: Fix overflow error message to print inlen 2026-03-23 14:49:00 +02:00
raspberrypi Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
surface platform/surface: acpi-notify: Check ACPI companion before use 2026-07-10 16:36:55 +03:00
wmi platform/wmi: Make sysfs attributes const 2026-06-12 16:01:53 +03:00
x86 platform/x86: ISST: Use PP level enable mask 2026-08-18 17:30:25 +03:00
Kconfig platform-drivers-x86 for v6.19-1 2025-12-10 06:38:17 +09:00
Makefile platform-drivers-x86 for v6.19-1 2025-12-10 06:38:17 +09:00