Re: [PATCH v11 09/31] fs/resctrl: Make event details accessible to functions when reading events

From: Reinette Chatre

Date: Fri Oct 03 2025 - 19:30:28 EST


Hi Tony,

On 9/25/25 1:03 PM, Tony Luck wrote:
> Reading monitoring data from MMIO requires more context to be able to

To tie this together with the "instead of just the event id" used later
I'd propose:

Reading monitoring event data from MMIO requires more context
than the event id to be able to ...

> read the correct memory location. struct mon_evt is the appropriate
> place for this event specific context.
>
> Prepare for addition of extra fields to mon_evt by changing the calling

"mon_evt" -> "struct mon_evt"

> conventions to pass a pointer to the mon_evt structure instead of just
> the event id.
>
> Signed-off-by: Tony Luck <tony.luck@xxxxxxxxx>
> ---

| Reviewed-by: Reinette Chatre <reinette.chatre@xxxxxxxxx>

Reinette