> > The INTEL_PMT_DISCOVERY driver provides intel_pmt_get_regions_by_feature() > > INTEL_PMT_DISCOVERY -> INTEL_PMT_TELEMETRY ? Reinette, Perhaps. The discovery driver is somewhat it's own thing: drivers/platform/x86/intel/pmt/Makefile:obj-$(CONFIG_INTEL_PMT_DISCOVERY) += pmt_discovery.o But it is automatically pulled in if you enable INTEL_PMT_TELEMETRY: drivers/platform/x86/intel/pmt/Kconfig-config INTEL_PMT_TELEMETRY drivers/platform/x86/intel/pmt/Kconfig- tristate "Intel Platform Monitoring Technology (PMT) Telemetry driver" drivers/platform/x86/intel/pmt/Kconfig- depends on INTEL_VSEC drivers/platform/x86/intel/pmt/Kconfig: select INTEL_PMT_DISCOVERY -Tony
Hi Tony, On 8/14/25 8:44 AM, Luck, Tony wrote: >>> The INTEL_PMT_DISCOVERY driver provides intel_pmt_get_regions_by_feature() >> >> INTEL_PMT_DISCOVERY -> INTEL_PMT_TELEMETRY ? > > Reinette, > > Perhaps. The discovery driver is somewhat it's own thing: > > drivers/platform/x86/intel/pmt/Makefile:obj-$(CONFIG_INTEL_PMT_DISCOVERY) += pmt_discovery.o > > But it is automatically pulled in if you enable INTEL_PMT_TELEMETRY: > > drivers/platform/x86/intel/pmt/Kconfig-config INTEL_PMT_TELEMETRY > drivers/platform/x86/intel/pmt/Kconfig- tristate "Intel Platform Monitoring Technology (PMT) Telemetry driver" > drivers/platform/x86/intel/pmt/Kconfig- depends on INTEL_VSEC > drivers/platform/x86/intel/pmt/Kconfig: select INTEL_PMT_DISCOVERY The sentence reads: "The INTEL_PMT_DISCOVERY driver provides intel_pmt_get_regions_by_feature()" Looking at code: intel_pmt_get_regions_by_feature() is implemented in: drivers/platform/x86/intel/pmt/telemetry.c Looking at Makefile (drivers/platform/x86/intel/pmt/Makefile): obj-$(CONFIG_INTEL_PMT_TELEMETRY) += pmt_telemetry.o pmt_telemetry-y := telemetry.o Since intel_pmt_get_regions_by_feature() is in file associated with INTEL_PMT_TELEMETRY I believe it is more accurate to say: "The INTEL_PMT_TELEMETRY driver provides intel_pmt_get_regions_by_feature()" I do not see INTEL_PMT_DISCOVERY depend on INTEL_PMT_TELEMETRY so having a kernel built with just INTEL_PMT_DISCOVERY will not include intel_pmt_get_regions_by_feature() so I do not believe "The INTEL_PMT_DISCOVERY driver provides intel_pmt_get_regions_by_feature()" is accurate. Reinette
© 2016 - 2025 Red Hat, Inc.