2018-01-14 20:52:27

by Thomas Gleixner

[permalink] [raw]
Subject: Re: [PATCH V4 5/8] perf/x86/intel/uncore: add infrastructure for free running counter

On Thu, 2 Nov 2017, [email protected] wrote:

> From: Kan Liang <[email protected]>
>
> The free running counter is read-only and always active. Current generic
> uncore code does not support this kind of counters.
>
> The free running counter is read-only. It cannot be enable/disable in
> event_start/stop.
> The free running counter event and free running counter are 1:1 mapped.
> It doesn't need to be assigned nor tracked by event_list.
> The free running counters are always active. It doesn't need to check
> the free running counters' availability.
>
> Use inline helpers to check fixed counter index and free running counter
> index.
>

That changelog is horrible to read. Other than that:

Reviewed-by: Thomas Gleixner <[email protected]>


2018-01-15 15:53:31

by Liang, Kan

[permalink] [raw]
Subject: RE: [PATCH V4 5/8] perf/x86/intel/uncore: add infrastructure for free running counter

> On Thu, 2 Nov 2017, [email protected] wrote:
>
> > From: Kan Liang <[email protected]>
> >
> > The free running counter is read-only and always active. Current generic
> > uncore code does not support this kind of counters.
> >
> > The free running counter is read-only. It cannot be enable/disable in
> > event_start/stop.
> > The free running counter event and free running counter are 1:1 mapped.
> > It doesn't need to be assigned nor tracked by event_list.
> > The free running counters are always active. It doesn't need to check
> > the free running counters' availability.
> >
> > Use inline helpers to check fixed counter index and free running counter
> > index.
> >
>
> That changelog is horrible to read. Other than that:
>

Hi Thomas,

Thanks for your review.

Sorry about the changelog.
I will modify the changelog and resend all the patches.

Thanks,
Kan

> Reviewed-by: Thomas Gleixner <[email protected]>