Re: [PATCH v4 1/2] perf: Fujitsu: Add the Uncore MAC PMU driver
From: Jonathan Cameron
Date: Fri Apr 11 2025 - 04:24:42 EST
On Fri, 11 Apr 2025 02:56:59 +0000
"Koichi Okuno (Fujitsu)" <fj2767dz@xxxxxxxxxxx> wrote:
> Hi, Jonathan
>
> Sorry for the late reply.
> Also, the person in charge here has changed from Furudera to Okuno.
>
Hi,
> > > Text identical to memory-pwrite-count
> > > which suggest two things.
> > > a) naming inconsistent. Why is mac mentioned here and not in the name
> > earlier.
> > > b) This comment is perhaps wrong as I assume has something more tod owtih
> > with
> > > energy estimation?
> >
> > We are currently checking and will reply later.
>
> After checking with the hardware team,
> the 'ea' events are measured at different points and may therefore
> return different values.
> Since memory-pwrite-count and ea-memory-mac-pwrite currently return
> the same value, they share the same description.
> However, we have defined distinct event names to accommodate potential
> future enhancements.
As any future enhancement to make these different will also need a change
to the documentation to reflect that difference (and hence a kernel patch)
maybe it is better to not provide the second event for now?
Or is there some other subtle effect to do with groups that can be enabled
at the same time? I've forgotten how the driver works!
Jonathan