Re: [PATCH v7 10/14] platform/x86/intel/pmt: Register enumeration functions with resctrl
From: Luck, Tony
Date: Tue Jun 09 2026 - 18:15:51 EST
On Mon, Jun 08, 2026 at 04:22:27PM -0700, Reinette Chatre wrote:
> 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()?
Will do.
>
> Reinette
-Tony