All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] arm64: perf: Support for chaining event counters
@ 2018-05-18 10:22 ` Suzuki K Poulose
  0 siblings, 0 replies; 38+ messages in thread
From: Suzuki K Poulose @ 2018-05-18 10:22 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: linux-kernel, mark.rutland, will.deacon, robin.murphy, Suzuki K Poulose


This series adds support for counting PMU events using chained counters.
The Arm v8 PMUv3 supports combining two adjacent 32bit counters
(even and odd) to count a given "event" in 64bit mode. This series adds
the support for this mode in the core arm_pmu driver infrastructure and
also adds the support for armv8 64bit kernel PMU. This also removes the
restriction of using CPU Cycles counter (naturally 64bit) in 32bit mode.

Tested on Juno, Fast models. Applies on 4.17-rc4

Suzuki K Poulose (6):
  arm_pmu: Refactor maximum period handling
  arm_pmu: Change API to support 64bit counter values
  arm_pmu: Add support for long event counters
  arm64: perf: Make the cycle counter 64bit by default
  armpmu: Tidy up clear_event_idx call backs
  arm64: perf: Add support for chaining counters

 arch/arm/kernel/perf_event_v6.c     |   8 +-
 arch/arm/kernel/perf_event_v7.c     |   8 +-
 arch/arm/kernel/perf_event_xscale.c |   8 +-
 arch/arm64/kernel/perf_event.c      | 258 ++++++++++++++++++++++++++++++------
 drivers/perf/arm_pmu.c              |  52 ++++++--
 include/linux/perf/arm_pmu.h        |  12 +-
 6 files changed, 281 insertions(+), 65 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2018-05-22  9:42 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-18 10:22 [PATCH 0/6] arm64: perf: Support for chaining event counters Suzuki K Poulose
2018-05-18 10:22 ` Suzuki K Poulose
2018-05-18 10:22 ` [PATCH 1/6] arm_pmu: Refactor maximum period handling Suzuki K Poulose
2018-05-18 10:22   ` Suzuki K Poulose
2018-05-18 13:10   ` Robin Murphy
2018-05-18 13:10     ` Robin Murphy
2018-05-18 10:22 ` [PATCH 2/6] arm_pmu: Change API to support 64bit counter values Suzuki K Poulose
2018-05-18 10:22   ` Suzuki K Poulose
2018-05-21 23:30   ` kbuild test robot
2018-05-21 23:30     ` kbuild test robot
2018-05-22  9:42     ` Suzuki K Poulose
2018-05-22  9:42       ` Suzuki K Poulose
2018-05-18 10:22 ` [PATCH 3/6] arm_pmu: Add support for long event counters Suzuki K Poulose
2018-05-18 10:22   ` Suzuki K Poulose
2018-05-18 13:22   ` Robin Murphy
2018-05-18 13:22     ` Robin Murphy
2018-05-18 10:22 ` [PATCH 4/6] arm64: perf: Make the cycle counter 64bit by default Suzuki K Poulose
2018-05-18 10:22   ` Suzuki K Poulose
2018-05-18 10:22 ` [PATCH 5/6] arm_pmu: Tidy up clear_event_idx call backs Suzuki K Poulose
2018-05-18 10:22   ` Suzuki K Poulose
2018-05-18 10:22 ` [PATCH 6/6] arm64: perf: Add support for chaining counters Suzuki K Poulose
2018-05-18 10:22   ` Suzuki K Poulose
2018-05-18 13:49   ` Robin Murphy
2018-05-18 13:49     ` Robin Murphy
2018-05-18 15:57     ` Suzuki K Poulose
2018-05-18 15:57       ` Suzuki K Poulose
2018-05-21 13:42       ` Suzuki K Poulose
2018-05-21 13:42         ` Suzuki K Poulose
2018-05-21 14:00         ` Robin Murphy
2018-05-21 14:00           ` Robin Murphy
2018-05-21 14:41           ` Suzuki K Poulose
2018-05-21 14:41             ` Suzuki K Poulose
2018-05-21 15:29             ` Robin Murphy
2018-05-21 15:29               ` Robin Murphy
2018-05-18 14:57   ` Robin Murphy
2018-05-18 14:57     ` Robin Murphy
2018-05-21 10:49     ` Suzuki K Poulose
2018-05-21 10:49       ` Suzuki K Poulose

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.