linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] perf: Fujitsu: Add Uncore MAC/PCI PMU driver
@ 2025-01-16  4:59 Yoshihiro Furudera
  2025-01-16  4:59 ` [PATCH v4 1/2] perf: Fujitsu: Add the Uncore MAC " Yoshihiro Furudera
  2025-01-16  4:59 ` [PATCH v4 2/2] perf: Fujitsu: Add the Uncore PCI " Yoshihiro Furudera
  0 siblings, 2 replies; 12+ messages in thread
From: Yoshihiro Furudera @ 2025-01-16  4:59 UTC (permalink / raw)
  To: Will Deacon, Mark Rutland, Jonathan Corbet, Catalin Marinas,
	linux-arm-kernel, Bjorn Andersson, Geert Uytterhoeven,
	Krzysztof Kozlowski, Dmitry Baryshkov, Konrad Dybcio,
	Neil Armstrong, Arnd Bergmann, Nícolas F. R. A. Prado,
	Thomas Gleixner, Peter Zijlstra, Jonathan Cameron, linux-doc,
	linux-kernel, Yoshihiro Furudera

This adds two new dynamic PMUs to the Perf Events framework to program
and control the Uncore MAC/PCI PMUs in Fujitsu chips.

These drivers were created with reference to drivers/perf/qcom_l3_pmu.c.

These drivers export formatting and event information to sysfs so they can
be used by the perf user space tools with the syntaxes:

perf stat -e mac_iod0_mac0_ch0/ea-mac/ ls
perf stat -e mac_iod0_mac0_ch0/event=0x80/ ls

perf stat -e pci_iod0_pci0/ea-pci/ ls
perf stat -e pci_iod0_pci0/event=0x80/ ls

FUJITSU-MONAKA Specification URL:
https://github.com/fujitsu/FUJITSU-MONAKA

Changes in v4:
- Change the enablement conditions of the Kconfig option so that
  compilation is not performed in environments other than ARM64
  (kernel test robot)
- Link to v3: https://lore.kernel.org/all/20250109054544.2342442-2-fj5100bi@fujitsu.com/

Yoshihiro Furudera (2):
  perf: Fujitsu: Add the Uncore MAC PMU driver
  perf: Fujitsu: Add the Uncore PCI PMU driver

 .../admin-guide/perf/fujitsu_mac_pmu.rst      |  75 +++
 .../admin-guide/perf/fujitsu_pci_pmu.rst      |  50 ++
 Documentation/admin-guide/perf/index.rst      |   2 +
 drivers/perf/Kconfig                          |  18 +
 drivers/perf/Makefile                         |   2 +
 drivers/perf/fujitsu_mac_pmu.c                | 573 ++++++++++++++++++
 drivers/perf/fujitsu_pci_pmu.c                | 553 +++++++++++++++++
 7 files changed, 1273 insertions(+)
 create mode 100644 Documentation/admin-guide/perf/fujitsu_mac_pmu.rst
 create mode 100644 Documentation/admin-guide/perf/fujitsu_pci_pmu.rst
 create mode 100644 drivers/perf/fujitsu_mac_pmu.c
 create mode 100644 drivers/perf/fujitsu_pci_pmu.c

-- 
2.34.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-05-30  9:18 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-16  4:59 [PATCH v4 0/2] perf: Fujitsu: Add Uncore MAC/PCI PMU driver Yoshihiro Furudera
2025-01-16  4:59 ` [PATCH v4 1/2] perf: Fujitsu: Add the Uncore MAC " Yoshihiro Furudera
2025-01-30 17:04   ` Jonathan Cameron
2025-02-03  7:18     ` Yoshihiro Furudera (Fujitsu)
2025-02-03 11:05       ` Jonathan Cameron
2025-02-04  0:23         ` Yoshihiro Furudera (Fujitsu)
2025-04-11  2:56       ` Koichi Okuno (Fujitsu)
2025-04-11  8:23         ` Jonathan Cameron
2025-05-30  9:16           ` Koichi Okuno (Fujitsu)
2025-01-16  4:59 ` [PATCH v4 2/2] perf: Fujitsu: Add the Uncore PCI " Yoshihiro Furudera
2025-01-30 17:08   ` Jonathan Cameron
2025-02-03  7:19     ` Yoshihiro Furudera (Fujitsu)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).