[PATCH 0/4] platform/x86/intel/vsec: Prep for ACPI PMT discovery

David E. Box
2026-01-07T00:22:09Z

This series updates intel_vsec to decouple helper APIs from PCI, clean up
error handling, and plumb ACPI‑based Intel Platform Monitoring Technology
(PMT) discovery through the vsec layer. It is preparatory infrastructure
for the follow‑on PMT core/telemetry and PMC/SSRAM series that add ACPI
discovery and new platforms.

Highlights

-- Decouple add/link helpers from PCI so users need only a struct device.
-- Switch exported helpers from struct pci_dev to struct device.
-- Return real error codes from the registration path.
-- Carry ACPI PMT discovery tables through vsec.

David E. Box (4):
platform/x86/intel/vsec: Decouple add/link helpers from PCI
platform/x86/intel/vsec: Switch exported helpers from pci_dev to
device
platform/x86/intel/vsec: Return real error codes from registration
path
platform/x86/intel/vsec: Plumb ACPI PMT discovery tables through vsec

drivers/gpu/drm/xe/xe_debugfs.c | 2 +-
drivers/gpu/drm/xe/xe_hwmon.c | 2 +-
drivers/gpu/drm/xe/xe_vsec.c | 7 +-
drivers/gpu/drm/xe/xe_vsec.h | 2 +-
drivers/platform/x86/intel/pmc/core.c | 4 +-
.../platform/x86/intel/pmc/ssram_telemetry.c | 2 +-
drivers/platform/x86/intel/pmt/class.c | 8 +-
drivers/platform/x86/intel/pmt/class.h | 4 +-
drivers/platform/x86/intel/pmt/discovery.c | 4 +-
drivers/platform/x86/intel/pmt/telemetry.c | 13 +-
drivers/platform/x86/intel/pmt/telemetry.h | 11 +-
drivers/platform/x86/intel/sdsi.c | 5 +-
drivers/platform/x86/intel/vsec.c | 115 +++++++++++-------
drivers/platform/x86/intel/vsec_tpmi.c | 8 +-
include/linux/intel_vsec.h | 40 ++++--
15 files changed, 136 insertions(+), 91 deletions(-)

base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
--
2.43.0