mbox series

[0/8] Add support for HiSilicon Hip09 uncore PMU driver

Message ID 1609395576-32775-1-git-send-email-zhangshaokun@hisilicon.com (mailing list archive)
Headers show
Series Add support for HiSilicon Hip09 uncore PMU driver | expand

Message

Shaokun Zhang Dec. 31, 2020, 6:19 a.m. UTC
This patchset adds support for HiSilicon Hip09 SoC uncore PMUs driver
which is PMU v2 and it includes:
(a) Refactor interrupt registration and handler function for later
new uncore PMU driver in patch1;
(b) Update the PMU version suffiex for existing driver in patch2
(b) Some new functions are added on L3C/HHA PMU in patch3/4;
(c) New DDRC PMU model is supported using programable counter and
supports more events in patch5;
(d) Add new modules SLLC and PA PMU drivers in patch6/7;
(e) Update the perf document for the new functions and modules in
patch8;


Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: John Garry <john.garry@huawei.com>
Cc: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Qi Liu <liuqi115@huawei.com>

Shaokun Zhang (8):
  drivers/perf: hisi: Refactor code for more uncore PMUs
  drivers/perf: hisi: Add PMU version for uncore PMU drivers.
  drivers/perf: hisi: Add new functions for L3C PMU
  drivers/perf: hisi: Add new functions for HHA PMU
  drivers/perf: hisi: Update DDRC PMU for programable counter
  drivers/perf: hisi: Add support for HiSilicon SLLC PMU driver
  drivers/perf: hisi: Add support for HiSilicon PA PMU driver
  docs: perf: Add new description on HiSilicon uncore PMU v2

 Documentation/admin-guide/perf/hisi-pmu.rst   |  54 +++
 drivers/perf/hisilicon/Makefile               |   3 +-
 drivers/perf/hisilicon/hisi_uncore_ddrc_pmu.c | 346 +++++++++++------
 drivers/perf/hisilicon/hisi_uncore_hha_pmu.c  | 301 ++++++++++-----
 drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c  | 353 ++++++++++++-----
 drivers/perf/hisilicon/hisi_uncore_pa_pmu.c   | 498 ++++++++++++++++++++++++
 drivers/perf/hisilicon/hisi_uncore_pmu.c      |  76 +++-
 drivers/perf/hisilicon/hisi_uncore_pmu.h      |  19 +-
 drivers/perf/hisilicon/hisi_uncore_sllc_pmu.c | 530 ++++++++++++++++++++++++++
 include/linux/cpuhotplug.h                    |   2 +
 10 files changed, 1878 insertions(+), 304 deletions(-)
 create mode 100644 drivers/perf/hisilicon/hisi_uncore_pa_pmu.c
 create mode 100644 drivers/perf/hisilicon/hisi_uncore_sllc_pmu.c

Comments

Shaokun Zhang Jan. 22, 2021, 6:03 a.m. UTC | #1
Hi all,

A gentle ping.

Thanks,
Shaokun

在 2020/12/31 14:19, Shaokun Zhang 写道:
> This patchset adds support for HiSilicon Hip09 SoC uncore PMUs driver
> which is PMU v2 and it includes:
> (a) Refactor interrupt registration and handler function for later
> new uncore PMU driver in patch1;
> (b) Update the PMU version suffiex for existing driver in patch2
> (b) Some new functions are added on L3C/HHA PMU in patch3/4;
> (c) New DDRC PMU model is supported using programable counter and
> supports more events in patch5;
> (d) Add new modules SLLC and PA PMU drivers in patch6/7;
> (e) Update the perf document for the new functions and modules in
> patch8;
> 
> 
> Cc: Mark Rutland <mark.rutland@arm.com>
> Cc: Will Deacon <will@kernel.org>
> Cc: John Garry <john.garry@huawei.com>
> Cc: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> Cc: Qi Liu <liuqi115@huawei.com>
> 
> Shaokun Zhang (8):
>   drivers/perf: hisi: Refactor code for more uncore PMUs
>   drivers/perf: hisi: Add PMU version for uncore PMU drivers.
>   drivers/perf: hisi: Add new functions for L3C PMU
>   drivers/perf: hisi: Add new functions for HHA PMU
>   drivers/perf: hisi: Update DDRC PMU for programable counter
>   drivers/perf: hisi: Add support for HiSilicon SLLC PMU driver
>   drivers/perf: hisi: Add support for HiSilicon PA PMU driver
>   docs: perf: Add new description on HiSilicon uncore PMU v2
> 
>  Documentation/admin-guide/perf/hisi-pmu.rst   |  54 +++
>  drivers/perf/hisilicon/Makefile               |   3 +-
>  drivers/perf/hisilicon/hisi_uncore_ddrc_pmu.c | 346 +++++++++++------
>  drivers/perf/hisilicon/hisi_uncore_hha_pmu.c  | 301 ++++++++++-----
>  drivers/perf/hisilicon/hisi_uncore_l3c_pmu.c  | 353 ++++++++++++-----
>  drivers/perf/hisilicon/hisi_uncore_pa_pmu.c   | 498 ++++++++++++++++++++++++
>  drivers/perf/hisilicon/hisi_uncore_pmu.c      |  76 +++-
>  drivers/perf/hisilicon/hisi_uncore_pmu.h      |  19 +-
>  drivers/perf/hisilicon/hisi_uncore_sllc_pmu.c | 530 ++++++++++++++++++++++++++
>  include/linux/cpuhotplug.h                    |   2 +
>  10 files changed, 1878 insertions(+), 304 deletions(-)
>  create mode 100644 drivers/perf/hisilicon/hisi_uncore_pa_pmu.c
>  create mode 100644 drivers/perf/hisilicon/hisi_uncore_sllc_pmu.c
>
Will Deacon Feb. 2, 2021, 6:48 p.m. UTC | #2
On Fri, Jan 22, 2021 at 02:03:57PM +0800, Shaokun Zhang wrote:
> A gentle ping.

Looks like John had some comments on this version, so please address those
in v2.

Will
Shaokun Zhang Feb. 3, 2021, 1:46 a.m. UTC | #3
Hi Will,

在 2021/2/3 2:48, Will Deacon 写道:
> On Fri, Jan 22, 2021 at 02:03:57PM +0800, Shaokun Zhang wrote:
>> A gentle ping.
> 
> Looks like John had some comments on this version, so please address those
> in v2.

Sure, I will send these later today.

Thanks,
Shaokun

> 
> Will
> .
>