mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bharat Bhushan <bbhushan2@marvell.com>
To: <will@kernel.org>, <mark.rutland@arm.com>, <robh+dt@kernel.org>,
	<bbudiredla@marvell.com>, <sgoutham@marvell.com>,
	<linux-arm-kernel@lists.infradead.org>,
	<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Cc: Bharat Bhushan <bbhushan2@marvell.com>
Subject: [PATCH v8 0/4] cn10k DDR Performance monitor support
Date: Fri, 11 Feb 2022 10:23:42 +0530	[thread overview]
Message-ID: <20220211045346.17894-1-bbhushan2@marvell.com> (raw)

This patch series adds DDR performance monitor support on Marvell cn10k series of processor.

First patch adds device tree binding changes.
Second patch add basic support (without overflow and event ownership). Third and fourth patch adds overflow and event ownership respectively.

Seems like 4th patch can be merged in second patch, For easy review it is currently separate

v7->v8:
 - Fixed warning when W=1 and CONFIG_OF=n
 - Rebased to fix merge error

v6->v7:
 - Moved Kconfig to last patch
 - added Reviewed-by

v5->v6:
 - Changed COMPILE_TEST to (COMPILE_TEST && 64BIT)

v4->v5:
 - Added missing COMPILE_TEST dependency

v3->v4:
 - Added Rob Herring reviewed-by for dt-binding patch

v2->v3:
 - dt-binding, ddrcpmu@1 -> pmu@87e1c0000000
 - Add COMPILE_TEST as a dependency
 - Switch to sysfs_emit()
 - Error propagation when invalif event requested
 - Switch to devm_platform_get_and_ioremap_resource()
 - Other review comments on v2.

v1->v2:
 - DT binding changed to new DT Schema
 - writeq/readq changed to respective relaxed
 - Using PMU_EVENT_ATTR_ID

Bharat Bhushan (4):
  dt-bindings: perf: marvell: cn10k ddr performance monitor
  perf/marvell: CN10k DDR performance monitor support
  perf/marvell: cn10k DDR perfmon event overflow handling
  perf/marvell: cn10k DDR perf event core ownership

 .../bindings/perf/marvell-cn10k-ddr.yaml      |  37 +
 drivers/perf/Kconfig                          |   7 +
 drivers/perf/Makefile                         |   1 +
 drivers/perf/marvell_cn10k_ddr_pmu.c          | 758 ++++++++++++++++++
 include/linux/cpuhotplug.h                    |   1 +
 5 files changed, 804 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/perf/marvell-cn10k-ddr.yaml
 create mode 100644 drivers/perf/marvell_cn10k_ddr_pmu.c

-- 
2.17.1


             reply	other threads:[~2022-02-11  4:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-11  4:53 Bharat Bhushan [this message]
2022-02-11  4:53 ` [PATCH v8 1/4] dt-bindings: perf: marvell: cn10k ddr performance monitor Bharat Bhushan
2022-02-11  4:53 ` [PATCH v8 2/4] perf/marvell: CN10k DDR performance monitor support Bharat Bhushan
2022-02-11  4:53 ` [PATCH v8 3/4] perf/marvell: cn10k DDR perfmon event overflow handling Bharat Bhushan
2022-02-11  4:53 ` [PATCH v8 4/4] perf/marvell: cn10k DDR perf event core ownership Bharat Bhushan
2022-03-08 14:11 ` [PATCH v8 0/4] cn10k DDR Performance monitor support Will Deacon

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=20220211045346.17894-1-bbhushan2@marvell.com \
    --to=bbhushan2@marvell.com \
    --cc=bbudiredla@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®