Re: [PATCH v7 10/14] platform/x86/intel/pmt: Register enumeration functions with resctrl

From: Reinette Chatre

Date: Mon Jun 08 2026 - 19:22:44 EST


Hi Tony,

On 6/1/26 12:56 PM, Tony Luck wrote:
> INTEL_PMT_TELEMETRY is a loadable module, but resctrl is built-in and cannot
> call PMT functions directly. Register the telemetry enumeration function
> pointers at pmt_telemetry module init, and unregister them at module exit.

To ensure intel_pmt_get_regions_by_feature() has access to complete data, could
it be more accurate to register at the end of PMT's .probe() and similarly
unregister during .remove()?

Reinette