From: Jan Glauber <jglauber@cavium.com>
To: Mark Rutland <mark.rutland@arm.com>, Will Deacon <will.deacon@arm.com>
Cc: linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org,
Suzuki K Poulose <Suzuki.Poulose@arm.com>,
Borislav Petkov <bp@alien8.de>,
David Daney <david.daney@cavium.com>,
Zhangshaokun <zhangshaokun@hisilicon.com>,
Jan Glauber <jglauber@cavium.com>
Subject: [PATCH v10 0/7] Cavium ARM64 uncore PMU support
Date: Mon, 25 Sep 2017 14:34:55 +0200 [thread overview]
Message-ID: <20170925123502.17289-1-jglauber@cavium.com> (raw)
Add support for various PMU counters found on the Cavium ThunderX and
OcteonTx SoC.
The PMU driver provides common "uncore" functions to avoid code duplication
and support adding more device PMUs (like L2 cache) in the future.
Changes to v9:
- Fix build error in first EDAC patch
- Use alphabetic ordering in some places
- Store pmu name in struct pmu
- Use devm_*
- Remove mapping of LMC events, expose hardware event numbers
directly
- Simplify event removal
Changes to v8:
- Wrapper for PCI devices
Jan Glauber (7):
edac: thunderx: Remove suspend/resume support
perf: export perf_event_update_userpage()
edac,soc: thunderx: Add wrapper for EDAC LMC PCI device
edac,soc: thunderx: Add wrapper for EDAC OCX PCI device
perf: cavium: Support memory controller PMU counters
perf: cavium: Support transmit-link PMU counters
perf: cavium: Add Documentation
Documentation/perf/cavium-pmu.txt | 75 +++++
drivers/edac/Kconfig | 3 +
drivers/edac/thunderx_edac.c | 92 +-----
drivers/perf/Kconfig | 15 +
drivers/perf/Makefile | 1 +
drivers/perf/cavium_pmu.c | 660 ++++++++++++++++++++++++++++++++++++++
drivers/soc/Kconfig | 1 +
drivers/soc/Makefile | 1 +
drivers/soc/cavium/Kconfig | 14 +
drivers/soc/cavium/Makefile | 2 +
drivers/soc/cavium/cavium_lmc.c | 53 +++
drivers/soc/cavium/cavium_ocx.c | 49 +++
include/linux/cpuhotplug.h | 1 +
include/linux/soc/cavium/lmc.h | 12 +
include/linux/soc/cavium/ocx.h | 12 +
kernel/events/core.c | 1 +
16 files changed, 913 insertions(+), 79 deletions(-)
create mode 100644 Documentation/perf/cavium-pmu.txt
create mode 100644 drivers/perf/cavium_pmu.c
create mode 100644 drivers/soc/cavium/Kconfig
create mode 100644 drivers/soc/cavium/Makefile
create mode 100644 drivers/soc/cavium/cavium_lmc.c
create mode 100644 drivers/soc/cavium/cavium_ocx.c
create mode 100644 include/linux/soc/cavium/lmc.h
create mode 100644 include/linux/soc/cavium/ocx.h
--
2.9.0.rc0.21.g7777322
next reply other threads:[~2017-09-25 12:35 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-25 12:34 Jan Glauber [this message]
2017-09-25 12:34 ` [PATCH v10 1/7] edac: thunderx: Remove suspend/resume support Jan Glauber
2017-09-27 15:48 ` Borislav Petkov
2017-09-25 12:34 ` [PATCH v10 2/7] perf: export perf_event_update_userpage() Jan Glauber
2017-09-25 12:34 ` [PATCH v10 3/7] edac,soc: thunderx: Add wrapper for EDAC LMC PCI device Jan Glauber
2017-09-27 16:19 ` Borislav Petkov
2017-10-02 15:17 ` Jan Glauber
2017-10-04 10:34 ` Borislav Petkov
2017-09-25 12:34 ` [PATCH v10 4/7] edac,soc: thunderx: Add wrapper for EDAC OCX " Jan Glauber
2017-09-25 12:35 ` [PATCH v10 5/7] perf: cavium: Support memory controller PMU counters Jan Glauber
2017-11-09 10:07 ` Suzuki K Poulose
2017-09-25 12:35 ` [PATCH v10 6/7] perf: cavium: Support transmit-link " Jan Glauber
2017-09-27 15:48 ` Jonathan Cameron
2017-09-25 12:35 ` [PATCH v10 7/7] perf: cavium: Add Documentation Jan Glauber
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=20170925123502.17289-1-jglauber@cavium.com \
--to=jglauber@cavium.com \
--cc=Suzuki.Poulose@arm.com \
--cc=bp@alien8.de \
--cc=david.daney@cavium.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=will.deacon@arm.com \
--cc=zhangshaokun@hisilicon.com \
/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®