linux/drivers/platform/x86/intel/telemetry
Kaushlendra Kumar 39e9c376ac
platform/x86: intel_telemetry: Fix PSS event register mask
The PSS telemetry info parsing incorrectly applies
TELEM_INFO_SRAMEVTS_MASK when extracting event register
count from firmware response. This reads bits 15-8 instead
of the correct bits 7-0, causing misdetection of hardware
capabilities.

The IOSS path correctly uses TELEM_INFO_NENABLES_MASK for
register count. Apply the same mask to PSS parsing for
consistency.

Fixes: 9d16b482b0 ("platform:x86: Add Intel telemetry platform driver")
Signed-off-by: Kaushlendra Kumar <kaushlendra.kumar@intel.com>
Link: https://patch.msgid.link/20251224061144.3925519-1-kaushlendra.kumar@intel.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
2026-01-26 16:42:43 +02:00
..
core.c platform/x86: intel_telemetry: Remove unused telemetry_raw_read_events() 2025-06-11 10:56:06 +03:00
debugfs.c platform/x86: intel_telemetry: Fix swapped arrays in PSS output 2026-01-26 16:42:25 +02:00
Kconfig
Makefile
pltdrv.c platform/x86: intel_telemetry: Fix PSS event register mask 2026-01-26 16:42:43 +02:00