[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <090a9b56-c714-4a5f-bf33-41f47e29bb4d@intel.com>
Date: Wed, 22 Oct 2025 21:34:27 -0700
From: Reinette Chatre <reinette.chatre@...el.com>
To: Tony Luck <tony.luck@...el.com>, Fenghua Yu <fenghuay@...dia.com>, "Maciej
Wieczor-Retman" <maciej.wieczor-retman@...el.com>, Peter Newman
<peternewman@...gle.com>, James Morse <james.morse@....com>, Babu Moger
<babu.moger@....com>, Drew Fustini <dfustini@...libre.com>, Dave Martin
<Dave.Martin@....com>, Chen Yu <yu.c.chen@...el.com>
CC: <x86@...nel.org>, <linux-kernel@...r.kernel.org>,
<patches@...ts.linux.dev>
Subject: Re: [PATCH v12 16/31] x86,fs/resctrl: Add architectural event pointer
Hi Tony,
On 10/13/25 3:33 PM, Tony Luck wrote:
> The resctrl file system layer passes the domain, RMID, and event id to the
> architecture to fetch an event counter.
>
> Fetching a telemetry event counter requires additional information that is
> private to the architecture, for example, the offset into MMIO space from
> where the counter should be read.
>
> Add mon_evt::arch_priv that architecture can use for any private data
> related to the event. resctrl filesystem initializes mon_evt::arch_priv
> when the architecture enables the event and passes it back to architecture
> when needing to fetch an event counter.
>
> Suggested-by: Reinette Chatre <reinette.chatre@...el.com>
> Signed-off-by: Tony Luck <tony.luck@...el.com>
> ---
This will need to be rebased, but that should be straight forward.
Reviewed-by: Reinette Chatre <reinette.chatre@...el.com>
Reinette
Powered by blists - more mailing lists