Re: [PATCH v11 14/23] x86/resctrl: Enforce system RMID limit on AET event groups

From: Reinette Chatre

Date: Thu Sep 10 2026 - 00:09:48 EST


Hi Tony,

On 8/31/26 10:44 AM, Tony Luck wrote:
> AET (Application Energy Telemetry) event groups each support a specific
> number of RMIDs. But that number may be lower than the number supported
> by the system. This is especially true on systems with SNC (Sub-NUMA Cluster)
> enabled as that reduces the number of supported RMIDs.
>
> Reduce all event_group::num_rmid to system maximum.

Why is this needed? Doesn't resctrl_arch_system_num_rmid_idx() ensure the
minimum is taken across all resources? I do not see why a resource needs to
artificially reduce the number of RMIDs it supports.

Reinette