]> git.ipfire.org Git - thirdparty/linux.git/commit
platform/x86/intel/vsec: Decouple add/link helpers from PCI
authorDavid E. Box <david.e.box@linux.intel.com>
Fri, 13 Mar 2026 01:51:42 +0000 (18:51 -0700)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 17 Mar 2026 16:51:13 +0000 (18:51 +0200)
commitc62fd96a04e4a7b847448f97ecfe9f3fe706e7b3
treed9cf4b935fa5ee6d5c2b5cebe1c939984c92e50b
parent9577c74c96f88d807d1ba005adbf5952e7127e55
platform/x86/intel/vsec: Decouple add/link helpers from PCI

This refactor prepares for adding ACPI-enumerated PMT endpoints. While
intel_vsec is bound to PCI today, some helpers are used by code that will
also register PMT endpoints from non-PCI (ACPI) paths. Clean up
PCI-specific plumbing where it isn’t strictly required and rely on generic
struct device where possible.

Signed-off-by: David E. Box <david.e.box@linux.intel.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Link: https://patch.msgid.link/20260313015202.3660072-4-david.e.box@linux.intel.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/intel/vsec.c
drivers/platform/x86/intel/vsec_tpmi.c
include/linux/intel_vsec.h