Re: [PATCH v13 29/32] x86/resctrl: Enable RDT_RESOURCE_PERF_PKG

Reinette Chatre
2025-11-13T22:53:02Z

Hi Tony,

On 10/29/25 9:21 AM, Tony Luck wrote:
> Since telemetry events are enumerated on resctrl mount the RDT_RESOURCE_PERF_PKG
> resource is not considered "monitoring capable" during early resctrl initialization.
> This means that the domain list for RDT_RESOURCE_PERF_PKG is not built when the CPU
> hot plug notifiers are registered and run for the first time right after resctrl
> initialization.
>
> Mark the RDT_RESOURCE_PERF_PKG as "monitoring capable" upon successful telemetry
> event enumeration to ensure future CPU hotplug events include this resource and
> initialize its domain list for CPUs that are already online.
>
> Print to console log announcing the name of the telemetry feature detected.
>
> Signed-off-by: Tony Luck <tony.luck@intel.com>
> ---

Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>

Reinette