Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1382384 > unrolled thread

Re: [PATCH v2 0/5] Cavium ThunderX uncore PMU support

Started byJan Glauber <jglauber@cavium.com>
First post2016-04-19 12:40 +0200
Last post2016-04-19 18:10 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v2 0/5] Cavium ThunderX uncore PMU support Jan Glauber <jglauber@cavium.com> - 2016-04-19 12:40 +0200
    Re: [PATCH v2 0/5] Cavium ThunderX uncore PMU support Mark Rutland <mark.rutland@arm.com> - 2016-04-19 18:10 +0200

#1382384 — Re: [PATCH v2 0/5] Cavium ThunderX uncore PMU support

FromJan Glauber <jglauber@cavium.com>
Date2016-04-19 12:40 +0200
SubjectRe: [PATCH v2 0/5] Cavium ThunderX uncore PMU support
Message-ID<rpBez-5pW-25@gated-at.bofh.it>
Mark,

are these patches still queued or should I repost them?

--Jan

On Mon, Apr 04, 2016 at 01:03:13PM +0200, Jan Glauber wrote:
> Hi Mark,
> 
> can you have a look at these patches?
> 
> Thanks,
> Jan
> 
> 2016-03-09 17:21 GMT+01:00 Jan Glauber <jglauber@cavium.com>:
> 
>     This patch series provides access to various counters on the ThunderX SOC.
> 
>     For details of the uncore implementation see patch #1.
> 
>     Patches #2-5 add the various ThunderX specific PMUs.
> 
>     As suggested I've put the files under drivers/perf/uncore. I would
>     prefer this location over drivers/bus because not all of the uncore
>     drivers are bus related.
> 
>     Changes to v1:
>     - Added NUMA support
>     - Fixed CPU hotplug by pmu migration
>     - Moved files to drivers/perf/uncore
>     - Removed OCX FRC and LNE drivers, these will fit better into a edac driver
>     - improved comments abount overflow interrupts
>     - removed max device limit
>     - trimmed include files
> 
>     Feedback welcome!
>     Jan
> 
>     -------------------------------------------------
> 
>     Jan Glauber (5):
>       arm64/perf: Basic uncore counter support for Cavium ThunderX
>       arm64/perf: Cavium ThunderX L2C TAD uncore support
>       arm64/perf: Cavium ThunderX L2C CBC uncore support
>       arm64/perf: Cavium ThunderX LMC uncore support
>       arm64/perf: Cavium ThunderX OCX TLK uncore support
> 
>      drivers/perf/Makefile                       |   1 +
>      drivers/perf/uncore/Makefile                |   5 +
>      drivers/perf/uncore/uncore_cavium.c         | 314 +++++++++++++++
>      drivers/perf/uncore/uncore_cavium.h         |  95 +++++
>      drivers/perf/uncore/uncore_cavium_l2c_cbc.c | 237 +++++++++++
>      drivers/perf/uncore/uncore_cavium_l2c_tad.c | 600
>     ++++++++++++++++++++++++++++
>      drivers/perf/uncore/uncore_cavium_lmc.c     | 196 +++++++++
>      drivers/perf/uncore/uncore_cavium_ocx_tlk.c | 380 ++++++++++++++++++
>      8 files changed, 1828 insertions(+)
>      create mode 100644 drivers/perf/uncore/Makefile
>      create mode 100644 drivers/perf/uncore/uncore_cavium.c
>      create mode 100644 drivers/perf/uncore/uncore_cavium.h
>      create mode 100644 drivers/perf/uncore/uncore_cavium_l2c_cbc.c
>      create mode 100644 drivers/perf/uncore/uncore_cavium_l2c_tad.c
>      create mode 100644 drivers/perf/uncore/uncore_cavium_lmc.c
>      create mode 100644 drivers/perf/uncore/uncore_cavium_ocx_tlk.c
>    
>     --
>     1.9.1
> 
> 
> 

[toc] | [next] | [standalone]


#1382664

FromMark Rutland <mark.rutland@arm.com>
Date2016-04-19 18:10 +0200
Message-ID<rpGnU-16G-29@gated-at.bofh.it>
In reply to#1382384
On Tue, Apr 19, 2016 at 12:35:10PM +0200, Jan Glauber wrote:
> Mark,
> 
> are these patches still queued or should I repost them?

Apologies for the delay. I've just given these a review.

I note an awful lot of duplication over patches 2-5. The pmu::add
implementations are practically identical, and I suspect can be shared
without much difficulty. Please try to address that unnecessary
duplication.

My comments on patches 2 and 3 larely apply to 4 and 5, so I haven't
reviewed those individually.

Thanks,
Mark.


> 
> --Jan
> 
> On Mon, Apr 04, 2016 at 01:03:13PM +0200, Jan Glauber wrote:
> > Hi Mark,
> > 
> > can you have a look at these patches?
> > 
> > Thanks,
> > Jan
> > 
> > 2016-03-09 17:21 GMT+01:00 Jan Glauber <jglauber@cavium.com>:
> > 
> >     This patch series provides access to various counters on the ThunderX SOC.
> > 
> >     For details of the uncore implementation see patch #1.
> > 
> >     Patches #2-5 add the various ThunderX specific PMUs.
> > 
> >     As suggested I've put the files under drivers/perf/uncore. I would
> >     prefer this location over drivers/bus because not all of the uncore
> >     drivers are bus related.
> > 
> >     Changes to v1:
> >     - Added NUMA support
> >     - Fixed CPU hotplug by pmu migration
> >     - Moved files to drivers/perf/uncore
> >     - Removed OCX FRC and LNE drivers, these will fit better into a edac driver
> >     - improved comments abount overflow interrupts
> >     - removed max device limit
> >     - trimmed include files
> > 
> >     Feedback welcome!
> >     Jan
> > 
> >     -------------------------------------------------
> > 
> >     Jan Glauber (5):
> >       arm64/perf: Basic uncore counter support for Cavium ThunderX
> >       arm64/perf: Cavium ThunderX L2C TAD uncore support
> >       arm64/perf: Cavium ThunderX L2C CBC uncore support
> >       arm64/perf: Cavium ThunderX LMC uncore support
> >       arm64/perf: Cavium ThunderX OCX TLK uncore support
> > 
> >      drivers/perf/Makefile                       |   1 +
> >      drivers/perf/uncore/Makefile                |   5 +
> >      drivers/perf/uncore/uncore_cavium.c         | 314 +++++++++++++++
> >      drivers/perf/uncore/uncore_cavium.h         |  95 +++++
> >      drivers/perf/uncore/uncore_cavium_l2c_cbc.c | 237 +++++++++++
> >      drivers/perf/uncore/uncore_cavium_l2c_tad.c | 600
> >     ++++++++++++++++++++++++++++
> >      drivers/perf/uncore/uncore_cavium_lmc.c     | 196 +++++++++
> >      drivers/perf/uncore/uncore_cavium_ocx_tlk.c | 380 ++++++++++++++++++
> >      8 files changed, 1828 insertions(+)
> >      create mode 100644 drivers/perf/uncore/Makefile
> >      create mode 100644 drivers/perf/uncore/uncore_cavium.c
> >      create mode 100644 drivers/perf/uncore/uncore_cavium.h
> >      create mode 100644 drivers/perf/uncore/uncore_cavium_l2c_cbc.c
> >      create mode 100644 drivers/perf/uncore/uncore_cavium_l2c_tad.c
> >      create mode 100644 drivers/perf/uncore/uncore_cavium_lmc.c
> >      create mode 100644 drivers/perf/uncore/uncore_cavium_ocx_tlk.c
> >    
> >     --
> >     1.9.1
> > 
> > 
> > 
> 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web