From patchwork Fri Jan 23 23:11:44 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 5698221 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6F8319F357 for ; Fri, 23 Jan 2015 23:14:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A577B202FE for ; Fri, 23 Jan 2015 23:14:51 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D96D1202E5 for ; Fri, 23 Jan 2015 23:14:50 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YEnPU-0003XX-7Z; Fri, 23 Jan 2015 23:13:04 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YEnOi-0003Ji-AF for linux-arm-kernel@bombadil.infradead.org; Fri, 23 Jan 2015 23:12:16 +0000 Received: from devils.ext.ti.com ([198.47.26.153]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YEnOg-0000FQ-VS for linux-arm-kernel@lists.infradead.org; Fri, 23 Jan 2015 23:12:15 +0000 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id t0NNBpAe004330; Fri, 23 Jan 2015 17:11:51 -0600 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id t0NNBo1V018773; Fri, 23 Jan 2015 17:11:50 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.224.2; Fri, 23 Jan 2015 17:11:50 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id t0NNBnnG012949; Fri, 23 Jan 2015 17:11:49 -0600 From: Felipe Balbi To: Tony Lindgren , Paul Walmsley Subject: [PATCH 4/4] arm: dts: am4372: add pmu DT data Date: Fri, 23 Jan 2015 17:11:44 -0600 Message-ID: <1422054704-14915-5-git-send-email-balbi@ti.com> X-Mailer: git-send-email 2.3.0-rc1 In-Reply-To: <1422054704-14915-1-git-send-email-balbi@ti.com> References: <1422054704-14915-1-git-send-email-balbi@ti.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150123_181215_102419_3F30F1E6 X-CRM114-Status: UNSURE ( 8.94 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -6.9 (------) Cc: devicetree@vger.kernel.org, Linux OMAP Mailing List , Felipe Balbi , Linux ARM Kernel Mailing List X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP with this patch, performance monitors work and show sensible data on AM43xx devices: ~# perf stat sleep 5 Performance counter stats for 'sleep 5': 6.079585 task-clock (msec) # 0.001 CPUs utilized 3 context-switches # 0.493 K/sec 0 cpu-migrations # 0.000 K/sec 35 page-faults # 0.006 M/sec 5888256 cycles # 0.969 GHz 1458715 stalled-cycles-frontend # 24.77% frontend cycles idle 4632019 stalled-cycles-backend # 78.67% backend cycles idle 1892556 instructions # 0.32 insns per cycle # 2.45 stalled cycles per insn 141832 branches # 23.329 M/sec 56093 branch-misses # 39.55% of all branches 5.018813000 seconds time elapsed Signed-off-by: Felipe Balbi --- arch/arm/boot/dts/am4372.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi index 861f127dfead..ea103aa970f1 100644 --- a/arch/arm/boot/dts/am4372.dtsi +++ b/arch/arm/boot/dts/am4372.dtsi @@ -51,6 +51,14 @@ }; }; + pmu { + compatible = "arm,cortex-a9-pmu"; + reg = <0x4b000000 0x800000>; + interrutps = , + ; + ti,hwmods = "debugss"; + }; + gic: interrupt-controller@48241000 { compatible = "arm,cortex-a9-gic"; interrupt-controller;