Re: [PATCH v14 11/32] x86,fs/resctrl: Handle events that can be read from any CPU
From: Reinette Chatre
Date: Tue Dec 02 2025 - 11:13:45 EST
Hi Tony,
On 11/24/25 10:53 AM, Tony Luck wrote:
> resctrl assumes that monitor events can only be read from a CPU in the
> cpumask_t set of each domain. This is true for x86 events accessed with an
> MSR interface, but may not be true for other access methods such as MMIO.
>
> Introduce and use flag mon_evt::any_cpu, settable by architecture, that
> indicates there are no restrictions on which CPU can read that event.
>
> Signed-off-by: Tony Luck <tony.luck@xxxxxxxxx>
> ---
Same comment as v13:
https://lore.kernel.org/lkml/49aaa6fc-b75e-4394-9abd-07a6b4a0822c@xxxxxxxxx/
Reinette