]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf: Fujitsu: Add the Uncore PMU driver
authorKoichi Okuno <fj2767dz@fujitsu.com>
Tue, 9 Sep 2025 03:02:50 +0000 (12:02 +0900)
committerWill Deacon <will@kernel.org>
Mon, 22 Sep 2025 12:05:11 +0000 (13:05 +0100)
commitbad11557eed2592c017a06752e58df49080b4a6a
tree977e7ef9055acb7c98179154f641fbfd20968ddb
parentb3fe1c83a56f3cb7c475747ee1c6ec5a9dd5f60e
perf: Fujitsu: Add the Uncore PMU driver

This adds a new dynamic PMU to the Perf Events framework to program and
control the Uncore PMUs in Fujitsu chips.

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
perf stat -e mac_iod0_mac0_ch0/ea-mac/ ls
perf stat -e mac_iod0_mac0_ch0/event=0x80/ ls

FUJITSU-MONAKA PMU Events Specification v1.1 URL:
https://github.com/fujitsu/FUJITSU-MONAKA

Reviewed-by: Yicong Yang <yangyicong@hisilicon.com>
Signed-off-by: Koichi Okuno <fj2767dz@fujitsu.com>
Signed-off-by: Will Deacon <will@kernel.org>
Documentation/admin-guide/perf/fujitsu_uncore_pmu.rst [new file with mode: 0644]
Documentation/admin-guide/perf/index.rst
drivers/perf/Kconfig
drivers/perf/Makefile
drivers/perf/fujitsu_uncore_pmu.c [new file with mode: 0644]