From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933179AbbEELtd (ORCPT ); Tue, 5 May 2015 07:49:33 -0400 Received: from eu-smtp-delivery-143.mimecast.com ([207.82.80.143]:56952 "EHLO eu-smtp-delivery-143.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752939AbbEELtY (ORCPT ); Tue, 5 May 2015 07:49:24 -0400 From: "Suzuki K. Poulose" To: linux-arm-kernel@lists.infradead.org Cc: Arnd Bergmann , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Lorenzo Pieralisi , Olof Johansson , Pawel Moll , Punit Agrawal , Will Deacon , arm@kernel.org, "Suzuki K. Poulose" Subject: [PATCH 0/7] ARM CCI-500 PMU driver support Date: Tue, 5 May 2015 12:49:01 +0100 Message-Id: <1430826548-29960-1-git-send-email-suzuki.poulose@arm.com> X-Mailer: git-send-email 1.7.9.5 X-OriginalArrivalTime: 05 May 2015 11:49:21.0647 (UTC) FILETIME=[86AA6FF0:01D08729] X-MC-Unique: h4MsX9GlQ1ymdg0577xjgQ-1 Content-Type: text/plain; charset=WINDOWS-1252 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by nfs id t45BnagW002183 From: "Suzuki K. Poulose" 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