[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ff545231-c704-4528-a490-63626a5bb5f7@intel.com>
Date: Tue, 9 Sep 2025 20:39:51 -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 v9 18/31] x86,fs/resctrl: Fill in details of events for
guid 0x26696143 and 0x26557651
Hi Tony,
On 8/29/25 12:33 PM, Tony Luck wrote:
> The Intel Clearwater Forest CPU supports two RMID-based pmt feature
"pmt" -> "PMT"
> groups documented in the xml/CWF/OOBMSM/RMID-ENERGY/cwf_aggregator.xml
> and xml/CWF/OOBMSM/RMID-PERF/cwf_aggregator.xml files in the Intel PMT
> GIT repository here:
"GIT repository here:" -> "GIT repository [1]."
>
> Link: https://github.com/intel/Intel-PMT
Move to end of tags and add reference:
Link: https://github.com/intel/Intel-PMT # [1]
>
> The offsets in MMIO space are arranged in groups for each RMID.
"The offsets" -> "The event counter offsets"?
>
> E.g the "energy" counters for guid 0x26696143 are arranged like this:
>
> MMIO offset:0x0000 Counter for RMID 0 PMT_EVENT_ENERGY
> MMIO offset:0x0008 Counter for RMID 0 PMT_EVENT_ACTIVITY
> MMIO offset:0x0010 Counter for RMID 1 PMT_EVENT_ENERGY
> MMIO offset:0x0018 Counter for RMID 1 PMT_EVENT_ACTIVITY
> ...
> MMIO offset:0x23F0 Counter for RMID 575 PMT_EVENT_ENERGY
> MMIO offset:0x23F8 Counter for RMID 575 PMT_EVENT_ACTIVITY
To help understand the added XML_MMIO_SIZE() macro I think it will be
helpful to mention the status registers and add them in the above
depiction.
>
> Define these events in the file system code and add the events
> to the event_group structures.
>
> PMT_EVENT_ENERGY and PMT_EVENT_ACTIVITY are produced in fixed point
> format. File system code must output as floating point values.
>
> Signed-off-by: Tony Luck <tony.luck@...el.com>
> ---
Code looks good to me.
Reinette
Powered by blists - more mailing lists