From: Bhaskara Budiredla <bbudiredla@marvell.com>
To: <will@kernel.org>, <mark.rutland@arm.com>, <robh+dt@kernel.org>,
<bbhushan2@marvell.com>, <sgoutham@marvell.com>
Cc: <linux-arm-kernel@lists.infradead.org>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
Bhaskara Budiredla <bbudiredla@marvell.com>
Subject: [PATCH v6 0/2] drivers: perf: Add Marvell CN10K LLC-TAD pmu driver
Date: Mon, 18 Oct 2021 21:00:55 +0530 [thread overview]
Message-ID: <20211018153057.23217-1-bbudiredla@marvell.com> (raw)
This series introduces performance monitor driver to Last-level-cache
tag-and-data (LLC-TAD) PMU which is an intergral part of Marvell CN10K SoCs.
The configuration and functionality of the TAD PMU is covered in patch 1.
The device tree bindings are dealt in patch 2.
v6:
- add COMPILE_TEST dependency (Bharat Bhushan)
- replace sprintf with sysfs_emit (Bharat Bhushan)
v5:
- add prefix, type, description for vendor specific properties
in DT bindings (Rob Herring)
v4:
- rebased on kernel v5.14-rc7
- eliminate yamllint errors (Rob Herring)
v3:
- rebased on kernel v5.14-rc5
- disable sampling events via PERF_PMU_CAP_NO_INTERRUPT (Will Deacon)
- convert tad pmu bindings to schema (Will Deacon)
- replace tighter semantics with *_relaxed() accesses (Will Deacon)
- use PMU_EVENT_ATTR_ID generic macro (Will Deacon)
- allow cleanup of allocations through devm_kcalloc() (Will Deacon)
v2:
- rebased on kernel v5.13-rc3
Bhaskara Budiredla (2):
drivers: perf: Add LLC-TAD perf counter support
dt-bindings: perf: Add YAML schemas for Marvell CN10K LLC-TAD pmu
bindings
.../bindings/perf/marvell-cn10k-tad.yaml | 63 +++
drivers/perf/Kconfig | 7 +
drivers/perf/Makefile | 1 +
drivers/perf/marvell_cn10k_tad_pmu.c | 429 ++++++++++++++++++
4 files changed, 500 insertions(+)
create mode 100644 Documentation/devicetree/bindings/perf/marvell-cn10k-tad.yaml
create mode 100644 drivers/perf/marvell_cn10k_tad_pmu.c
--
2.17.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
WARNING: multiple messages have this Message-ID (diff)
From: Bhaskara Budiredla <bbudiredla@marvell.com>
To: <will@kernel.org>, <mark.rutland@arm.com>, <robh+dt@kernel.org>,
<bbhushan2@marvell.com>, <sgoutham@marvell.com>
Cc: <linux-arm-kernel@lists.infradead.org>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
Bhaskara Budiredla <bbudiredla@marvell.com>
Subject: [PATCH v6 0/2] drivers: perf: Add Marvell CN10K LLC-TAD pmu driver
Date: Mon, 18 Oct 2021 21:00:55 +0530 [thread overview]
Message-ID: <20211018153057.23217-1-bbudiredla@marvell.com> (raw)
This series introduces performance monitor driver to Last-level-cache
tag-and-data (LLC-TAD) PMU which is an intergral part of Marvell CN10K SoCs.
The configuration and functionality of the TAD PMU is covered in patch 1.
The device tree bindings are dealt in patch 2.
v6:
- add COMPILE_TEST dependency (Bharat Bhushan)
- replace sprintf with sysfs_emit (Bharat Bhushan)
v5:
- add prefix, type, description for vendor specific properties
in DT bindings (Rob Herring)
v4:
- rebased on kernel v5.14-rc7
- eliminate yamllint errors (Rob Herring)
v3:
- rebased on kernel v5.14-rc5
- disable sampling events via PERF_PMU_CAP_NO_INTERRUPT (Will Deacon)
- convert tad pmu bindings to schema (Will Deacon)
- replace tighter semantics with *_relaxed() accesses (Will Deacon)
- use PMU_EVENT_ATTR_ID generic macro (Will Deacon)
- allow cleanup of allocations through devm_kcalloc() (Will Deacon)
v2:
- rebased on kernel v5.13-rc3
Bhaskara Budiredla (2):
drivers: perf: Add LLC-TAD perf counter support
dt-bindings: perf: Add YAML schemas for Marvell CN10K LLC-TAD pmu
bindings
.../bindings/perf/marvell-cn10k-tad.yaml | 63 +++
drivers/perf/Kconfig | 7 +
drivers/perf/Makefile | 1 +
drivers/perf/marvell_cn10k_tad_pmu.c | 429 ++++++++++++++++++
4 files changed, 500 insertions(+)
create mode 100644 Documentation/devicetree/bindings/perf/marvell-cn10k-tad.yaml
create mode 100644 drivers/perf/marvell_cn10k_tad_pmu.c
--
2.17.1
next reply other threads:[~2021-10-18 15:32 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-18 15:30 Bhaskara Budiredla [this message]
2021-10-18 15:30 ` [PATCH v6 0/2] drivers: perf: Add Marvell CN10K LLC-TAD pmu driver Bhaskara Budiredla
2021-10-18 15:30 ` [PATCH v6 1/2] drivers: perf: Add LLC-TAD perf counter support Bhaskara Budiredla
2021-10-18 15:30 ` Bhaskara Budiredla
2021-10-19 10:23 ` Bharat Bhushan
2021-10-19 10:23 ` Bharat Bhushan
2021-10-26 9:43 ` Will Deacon
2021-10-26 9:43 ` Will Deacon
2021-10-26 18:04 ` [EXT] " Bhaskara Budiredla
2021-10-26 18:04 ` Bhaskara Budiredla
2021-10-26 12:22 ` kernel test robot
2021-10-26 12:22 ` kernel test robot
2021-10-26 12:22 ` kernel test robot
2021-10-27 10:57 ` kernel test robot
2021-10-27 10:57 ` kernel test robot
2021-10-27 10:57 ` kernel test robot
2021-10-18 15:30 ` [PATCH v6 2/2] dt-bindings: perf: Add YAML schemas for Marvell CN10K LLC-TAD pmu bindings Bhaskara Budiredla
2021-10-18 15:30 ` Bhaskara Budiredla
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211018153057.23217-1-bbudiredla@marvell.com \
--to=bbudiredla@marvell.com \
--cc=bbhushan2@marvell.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
--cc=sgoutham@marvell.com \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.