From: Robin Murphy <robin.murphy@arm.com>
To: "Koichi Okuno" <fj2767dz@fujitsu.com>,
"Will Deacon" <will@kernel.org>,
"Mark Rutland" <mark.rutland@arm.com>,
"Jonathan Corbet" <corbet@lwn.net>,
"Catalin Marinas" <catalin.marinas@arm.com>,
"Gowthami Thiagarajan" <gthiagarajan@marvell.com>,
"Linu Cherian" <lcherian@marvell.com>,
linux-arm-kernel@lists.infradead.org,
"Bjorn Andersson" <quic_bjorande@quicinc.com>,
"Geert Uytterhoeven" <geert+renesas@glider.be>,
"Krzysztof Kozlowski" <krzysztof.kozlowski@linaro.org>,
"Konrad Dybcio" <konradybcio@kernel.org>,
"Neil Armstrong" <neil.armstrong@linaro.org>,
"Arnd Bergmann" <arnd@arndb.de>,
"Nícolas F. R. A. Prado" <nfraprado@collabora.com>,
"Thomas Gleixner" <tglx@linutronix.de>,
"Peter Zijlstra" <peterz@infradead.org>,
"Jonathan Cameron" <Jonathan.Cameron@huawei.com>,
linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v7 2/2] perf: Fujitsu: Add the Uncore PCI PMU driver
Date: Fri, 15 Aug 2025 13:59:37 +0100 [thread overview]
Message-ID: <995e093f-7b6c-4701-87af-2f4d21b08ada@arm.com> (raw)
In-Reply-To: <20250815034751.3726963-3-fj2767dz@fujitsu.com>
On 2025-08-15 4:47 am, Koichi Okuno wrote:
> This adds a new dynamic PMU to the Perf Events framework to program and
> control the Uncore PCI PMUs in Fujitsu chips.
>
> This driver was created with reference to drivers/perf/qcom_l3_pmu.c.
>
> This driver exports formatting and event information to sysfs so it can
> be used by the perf user space tools with the syntaxes:
>
> perf stat -e pci_iod0_pci0/ea-pci/ ls
> perf stat -e pci_iod0_pci0/event=0x80/ ls
>
> FUJITSU-MONAKA PMU Events Specification v1.1 URL:
> https://github.com/fujitsu/FUJITSU-MONAKA
>
> Signed-off-by: Koichi Okuno <fj2767dz@fujitsu.com>
> ---
> .../admin-guide/perf/fujitsu_pci_pmu.rst | 50 ++
> Documentation/admin-guide/perf/index.rst | 1 +
> drivers/perf/Kconfig | 9 +
> drivers/perf/Makefile | 1 +
> drivers/perf/fujitsu_pci_pmu.c | 536 ++++++++++++++++++
From a quick side-by-side skim, this is a copy-paste of the exact same
driver from patch #1 with s/mac/pci/g applied. Please don't do that. If
the hardware is functionally the same, then it should just be a single
driver that can then pick which PMU name and set of event alias
attributes to use for a given instance based on the ACPI HID match
(and/or any other ID register info you may have.)
Thanks,
Robin.
next prev parent reply other threads:[~2025-08-15 15:36 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-15 3:47 [PATCH v7 0/2] perf: Fujitsu: Add Uncore MAC/PCI PMU driver Koichi Okuno
2025-08-15 3:47 ` [PATCH v7 1/2] perf: Fujitsu: Add the Uncore MAC " Koichi Okuno
2025-08-15 11:33 ` Jonathan Cameron
2025-08-15 12:39 ` Robin Murphy
2025-08-15 15:51 ` Jonathan Cameron
2025-09-04 6:37 ` Koichi Okuno (Fujitsu)
2025-08-15 3:47 ` [PATCH v7 2/2] perf: Fujitsu: Add the Uncore PCI " Koichi Okuno
2025-08-15 11:36 ` Jonathan Cameron
2025-08-15 12:59 ` Robin Murphy [this message]
2025-09-04 6:41 ` Koichi Okuno (Fujitsu)
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=995e093f-7b6c-4701-87af-2f4d21b08ada@arm.com \
--to=robin.murphy@arm.com \
--cc=Jonathan.Cameron@huawei.com \
--cc=arnd@arndb.de \
--cc=catalin.marinas@arm.com \
--cc=corbet@lwn.net \
--cc=fj2767dz@fujitsu.com \
--cc=geert+renesas@glider.be \
--cc=gthiagarajan@marvell.com \
--cc=konradybcio@kernel.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=lcherian@marvell.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=neil.armstrong@linaro.org \
--cc=nfraprado@collabora.com \
--cc=peterz@infradead.org \
--cc=quic_bjorande@quicinc.com \
--cc=tglx@linutronix.de \
--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