Re: [PATCH v10 09/17] x86/resctrl: Add PMT registration API for AET enumeration callbacks

From: Reinette Chatre

Date: Mon Aug 17 2026 - 20:59:48 EST


Hi Tony,

On 7/29/26 10:27 AM, Tony Luck wrote:
> resctrl is always built-in; INTEL_PMT_TELEMETRY may be a module. Add, and
> export, register/unregister functions so the PMT module can supply/clear
> enumeration callback functions when loaded/unloaded.
>
> Suggested-by: Christoph Hellwig <hch@xxxxxxxxxxxxx>
> Signed-off-by: Tony Luck <tony.luck@xxxxxxxxx>
> ---
> v10:
> Move declaration and stubs for registration functions out
> of <asm/resctrl.h> and into <linux/intel_vsec.h>
> Defer adding aet_register_lock mutex until mount/unmount
> changes where it is needed.
>
> include/linux/intel_vsec.h | 12 ++++++++++++

These changes would need ack from appropriate maintainers. I am not sure how best
to highlight which changes they should focus on when they are so dispersed and the
subject prefix only mentions resctrl.

Reinette