All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] ARM CCI-500 PMU driver support
@ 2015-05-05 11:49 ` Suzuki K. Poulose
  0 siblings, 0 replies; 42+ messages in thread
From: Suzuki K. Poulose @ 2015-05-05 11:49 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Arnd Bergmann, devicetree, linux-kernel, Lorenzo Pieralisi,
	Olof Johansson, Pawel Moll, Punit Agrawal, Will Deacon, arm,
	Suzuki K. Poulose

From: "Suzuki K. Poulose" <suzuki.poulose@arm.com>

This series adds the support for CCI-500 PMU,  by
reusing and rearranging the CCI-400 PMU driver code.

CCI-500 (the new Cache Coherent Interconnect IP) has
a PMU with 8 independent event counters and supports
profiling events related to master/slave interfaces
along with the global events(cci internal events).

The series also adds aliases for events for all the
supported CCI PMUs(CCI_400{r0,r1}, CCI_500).

Patches 1/7 is a fix posted by Mark Salter, which has
been posted to arm@kernel.org already. I have included
it in this series, as this series applies on top of it.

Patches 2-5 - Creates an abstraction of a CCI PMU and
makes the CCI-400 driver code to make use of the abstraction.
Patch 6 - Adds the CCI-500 PMU driver support
Patch 7 - Adds the aliases for CCI PMU events (specific to chipsets).

With the series, one can use named events for the CCI pmus.

e.g, CCI-400

 # perf list | grep CCI
  CCI_400/cycles/                                    [Kernel PMU event]
  CCI_400/mi_retry_speculative_fetch,source=?/       [Kernel PMU event]

e.g, CCI-500

 # perf list |grep CCI
  CCI_500/cci_rq_stall_address_hazard/               [Kernel PMU event]
  CCI_500/cci_snoop_access_filter_bank_0_1/          [Kernel PMU event]

Testing was performed on a fast model, with perf fuzzer and functional
tests for the CCI-500 PMU.

Mark Salter (1):
  drivers: CCI: fix used_mask init in validate_group()

Suzuki K. Poulose (6):
  arm-cci: Cleanup PMU driver code
  arm-cci: Abstract out the PMU counter details
  arm-cci: Abstract handling for CCI events
  arm-cci: Sanitise CCI400 PMU driver specific code
  arm-cci: Add CCI-500 PMU support
  arm-cci: Add aliases for PMU events

 Documentation/devicetree/bindings/arm/cci.txt |    4 +-
 drivers/bus/Kconfig                           |   17 +
 drivers/bus/arm-cci.c                         |  905 ++++++++++++++++++++-----
 3 files changed, 756 insertions(+), 170 deletions(-)

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 42+ messages in thread
* [PATCH 0/7] ARM CCI PMU updates for 4.2
@ 2015-05-26  9:53 Suzuki K. Poulose
  2015-05-26  9:53   ` Suzuki K. Poulose
  0 siblings, 1 reply; 42+ messages in thread
From: Suzuki K. Poulose @ 2015-05-26  9:53 UTC (permalink / raw)
  To: arm
  Cc: will.deacon, punit.agrawal, mark.rutland, linux-arm-kernel, arnd,
	olof, pawel.moll, linux-kernel, Suzuki K. Poulose

From: "Suzuki K. Poulose" <suzuki.poulose@arm.com>

Hi,

Here is the series which adds support for the CCI-500
PMU. Could you please apply this for 4.2 ?

Please let me know if you need a pull request, I could ask Will to
setup one.

---
This series adds the support for CCI-500 PMU,  by
reusing and rearranging the CCI-400 PMU driver code.

CCI-500 (the new Cache Coherent Interconnect IP) has
a PMU with 8 independent event counters and supports
profiling events related to master/slave interfaces
along with the global events(cci internal events).

The series also adds aliases for events for all the
supported CCI PMUs(CCI_400{r0,r1}, CCI_500).

Patches 1/7 is a fix posted by Mark Salter, which has
been posted to arm@kernel.org already. I have included
it in this series, as this series applies on top of it.

Patches 2-5 - Creates an abstraction of a CCI PMU and
makes the CCI-400 driver code to make use of the abstraction.
Patch 6 - Adds the CCI-500 PMU driver support
Patch 7 - Adds the aliases for CCI PMU events (specific to chipsets).

With the series, one can use named events for the CCI pmus.

e.g, CCI-400

 # perf list | grep CCI
  CCI_400/cycles/                                    [Kernel PMU event]
  CCI_400/mi_retry_speculative_fetch,source=?/       [Kernel PMU event]

e.g, CCI-500

 # perf list |grep CCI
  CCI_500/cci_rq_stall_address_hazard/               [Kernel PMU event]
  CCI_500/cci_snoop_access_filter_bank_0_1/          [Kernel PMU event]

Testing was performed on a fast model, with perf fuzzer and functional
tests for the CCI-500 PMU.
---
Changes since V1:  https://lkml.org/lkml/2015/5/5/323

The series remains functionaly pretty much the same, except for a minor
fix in the Kconfig default for CCI-500.
  - Pulled in a CCI-400 config fix posted separately,
    as Patch 1/7.
	https://patchwork.kernel.org/patch/6387121/
  - Add the similar Kconfig changes for CCI-500 as fixed in
    the patch above.
  - Dropped Mark Salter's fix for CCI, which is now queued.

Suzuki K. Poulose (7):
  arm-cci: Do not enable CCI-400 PMU by default
  arm-cci: Cleanup PMU driver code
  arm-cci: Abstract out the PMU counter details
  arm-cci: Abstract handling for CCI events
  arm-cci: Sanitise CCI400 PMU driver specific code
  arm-cci: Add CCI-500 PMU support
  arm-cci: Add aliases for PMU events

 Documentation/devicetree/bindings/arm/cci.txt |    4 +-
 drivers/bus/Kconfig                           |   31 +-
 drivers/bus/arm-cci.c                         |  905 ++++++++++++++++++++-----
 3 files changed, 763 insertions(+), 177 deletions(-)

-- 
1.7.9.5


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

end of thread, other threads:[~2015-05-26 14:04 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-05 11:49 [PATCH 0/7] ARM CCI-500 PMU driver support Suzuki K. Poulose
2015-05-05 11:49 ` Suzuki K. Poulose
2015-05-05 11:49 ` Suzuki K. Poulose
2015-05-05 11:49 ` [PATCH 1/7] drivers: CCI: fix used_mask init in validate_group() Suzuki K. Poulose
2015-05-05 11:49   ` Suzuki K. Poulose
2015-05-05 11:49   ` Suzuki K. Poulose
2015-05-05 11:49 ` [PATCH 2/7] arm-cci: Cleanup PMU driver code Suzuki K. Poulose
2015-05-05 11:49   ` Suzuki K. Poulose
2015-05-05 11:49   ` Suzuki K. Poulose
2015-05-18 10:18   ` Punit Agrawal
2015-05-18 10:18     ` Punit Agrawal
2015-05-18 10:18     ` Punit Agrawal
2015-05-05 11:49 ` [PATCH 3/7] arm-cci: Abstract out the PMU counter details Suzuki K. Poulose
2015-05-05 11:49   ` Suzuki K. Poulose
2015-05-05 11:49   ` Suzuki K. Poulose
2015-05-18 11:54   ` Punit Agrawal
2015-05-18 11:54     ` Punit Agrawal
2015-05-18 11:54     ` Punit Agrawal
2015-05-05 11:49 ` [PATCH 4/7] arm-cci: Abstract handling for CCI events Suzuki K. Poulose
2015-05-05 11:49   ` Suzuki K. Poulose
2015-05-18 13:08   ` Punit Agrawal
2015-05-18 13:08     ` Punit Agrawal
2015-05-05 11:49 ` [PATCH 5/7] arm-cci: Sanitise CCI400 PMU driver specific code Suzuki K. Poulose
2015-05-05 11:49   ` Suzuki K. Poulose
2015-05-05 11:49   ` Suzuki K. Poulose
2015-05-18 13:22   ` Punit Agrawal
2015-05-18 13:22     ` Punit Agrawal
2015-05-18 13:22     ` Punit Agrawal
2015-05-05 11:49 ` [PATCH 6/7] arm-cci: Add CCI-500 PMU support Suzuki K. Poulose
2015-05-05 11:49   ` Suzuki K. Poulose
2015-05-05 11:49   ` Suzuki K. Poulose
2015-05-18 13:22   ` Punit Agrawal
2015-05-18 13:22     ` Punit Agrawal
2015-05-18 13:22     ` Punit Agrawal
2015-05-05 11:49 ` [PATCH 7/7] arm-cci: Add aliases for PMU events Suzuki K. Poulose
2015-05-05 11:49   ` Suzuki K. Poulose
2015-05-05 11:49   ` Suzuki K. Poulose
2015-05-18 13:33   ` Punit Agrawal
2015-05-18 13:33     ` Punit Agrawal
2015-05-26  9:53 [PATCH 0/7] ARM CCI PMU updates for 4.2 Suzuki K. Poulose
2015-05-26  9:53 ` [PATCH 6/7] arm-cci: Add CCI-500 PMU support Suzuki K. Poulose
2015-05-26  9:53   ` Suzuki K. Poulose
2015-05-26  9:53   ` 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.