Re: [PATCH v12 16/25] x86/resctrl: Add PMT registration API for AET enumeration callbacks

From: Reinette Chatre

Date: Thu Sep 24 2026 - 16:43:27 EST


Hi Tony,

On 9/16/26 4:13 PM, Tony Luck wrote:
> resctrl is always built-in; INTEL_PMT_TELEMETRY may be a module.

This is not accurate context because at this point pmt_telemetry is still
required to be built in when AET is in use. The inaccurate context makes
this seem like a bugfix.

> Add, and
> export, register/unregister functions so the PMT module can supply/clear

nit: To keep things simple please always use the same term when referring
to the same thing. For example, so far the series used pmt_telemetry module
and now it switches to PMT module.

> enumeration callback functions when loaded/unloaded.
>
> Suggested-by: Christoph Hellwig <hch@xxxxxxxxxxxxx>
> Signed-off-by: Tony Luck <tony.luck@xxxxxxxxx>
> ---
Reinette