All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v7 0/3] Cavium ARM64 uncore PMU support
@ 2017-07-19 12:08 ` Jan Glauber
  0 siblings, 0 replies; 18+ messages in thread
From: Jan Glauber @ 2017-07-19 12:08 UTC (permalink / raw)
  To: linux-arm-kernel

Add support for various PMU counters found on the Cavium ThunderX and
OcteonTx SoC.

The driver provides common "uncore" functions to avoid code duplication and
support adding more device PMUs (like L2 cache) in the future.

Patches are on top of 4.13-rc1.

Changes to v6:
- Make driver stand-alone again without hooking into EDAC
- depend on ARCH_THUNDER

Changes to v5:
- Only allow built-in CONFIG_CAVIUM_PMU
- Drop unneeded export of perf_event_update_userpage()
- Simplify callbacks in edac code, move CONFIG_CAVIUM_PMU check
  to header file
- Fix some sparse static warnings
- Add documentation
- Fix OCX TLK event_valid check
- Add group validation in event_init
- Add a guard variable to prevent calling init twice
- Use kasprintf and fix pmu name allocation
- Remove unneeded check for embedded pmu
- Loop around local64_cmpxchg
- Simplify cvm_pmu_lmc_event_valid
- Fix list_add error case

Jan Glauber (3):
  perf: cavium: Support memory controller PMU counters
  perf: cavium: Support transmit-link PMU counters
  perf: cavium: Add Documentation

 Documentation/perf/cavium-pmu.txt |  74 +++++
 drivers/perf/Kconfig              |   8 +
 drivers/perf/Makefile             |   1 +
 drivers/perf/cavium_pmu.c         | 632 ++++++++++++++++++++++++++++++++++++++
 include/linux/cpuhotplug.h        |   1 +
 5 files changed, 716 insertions(+)
 create mode 100644 Documentation/perf/cavium-pmu.txt
 create mode 100644 drivers/perf/cavium_pmu.c

-- 
2.9.0.rc0.21.g7777322

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

end of thread, other threads:[~2017-07-24 13:30 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-19 12:08 [PATCH v7 0/3] Cavium ARM64 uncore PMU support Jan Glauber
2017-07-19 12:08 ` Jan Glauber
2017-07-19 12:08 ` [PATCH v7 1/3] perf: cavium: Support memory controller PMU counters Jan Glauber
2017-07-19 12:08   ` Jan Glauber
2017-07-19 13:31   ` Jonathan Cameron
2017-07-19 13:31     ` Jonathan Cameron
2017-07-24  8:57     ` Jan Glauber
2017-07-24  8:57       ` Jan Glauber
2017-07-24 13:22       ` Jonathan Cameron
2017-07-24 13:22         ` Jonathan Cameron
2017-07-19 12:08 ` [PATCH v7 2/3] perf: cavium: Support transmit-link " Jan Glauber
2017-07-19 12:08   ` Jan Glauber
2017-07-24 13:27   ` Jonathan Cameron
2017-07-24 13:27     ` Jonathan Cameron
2017-07-19 12:08 ` [PATCH v7 3/3] perf: cavium: Add Documentation Jan Glauber
2017-07-19 12:08   ` Jan Glauber
2017-07-24 13:30   ` Jonathan Cameron
2017-07-24 13:30     ` Jonathan Cameron

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.