From patchwork Mon Apr 28 06:53:51 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haojian Zhuang X-Patchwork-Id: 29184 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yk0-f199.google.com (mail-yk0-f199.google.com [209.85.160.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 17778202FE for ; Mon, 28 Apr 2014 06:57:50 +0000 (UTC) Received: by mail-yk0-f199.google.com with SMTP id 200sf11989722ykr.10 for ; Sun, 27 Apr 2014 23:57:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:cc:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:content-type:content-transfer-encoding; bh=0nl99PYPVpZLHkHA6+8TC1+NB+lGxhBXqjvHVFWT040=; b=hK4MxFeGAUnaKm8UvXwKPfa5T0SIWzQBzQA/LlG1NyyyVqRLAwb4n1o8pE6Lfw1IS1 eyIphHj0FIn36+O3ijh5vVzPq4kHOmTVuMwaDsX8zpD30fnOAiG2wFUQUHU7V8ESCpBH hNh9E/ymzMkrLPxT0znara+2eGNAvZjXZWUw9aQctYmKrmVIfYJbYw7e/zU/fNLZeL6h IuDPG4Jc7gyi/KCYz7OEZBi987gFq5yeMcCm9zkJwgDXU8FeZywl40Nuwq7YSm1EGuBm LKe8IZboz0dVPLPnYc1GZB8BU5E+1CKsbpwPABn0sUbx0LtGAwVjrMi+jQDWlpPo9gmE o/aQ== X-Gm-Message-State: ALoCoQkI7oT4UuJaJ24VYjqptvbtXv/c9IGUQkWrfRxzB4uhEGEvQy3rFdenAmsQwCricQRaEioK X-Received: by 10.58.95.98 with SMTP id dj2mr11491795veb.30.1398668269811; Sun, 27 Apr 2014 23:57:49 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.34.233 with SMTP id l96ls2394316qgl.90.gmail; Sun, 27 Apr 2014 23:57:49 -0700 (PDT) X-Received: by 10.58.181.170 with SMTP id dx10mr1654803vec.25.1398668269644; Sun, 27 Apr 2014 23:57:49 -0700 (PDT) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id ud8si3430185vdc.15.2014.04.27.23.57.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 27 Apr 2014 23:57:49 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.220.181; Received: by mail-vc0-f181.google.com with SMTP id hy4so1748221vcb.12 for ; Sun, 27 Apr 2014 23:57:49 -0700 (PDT) X-Received: by 10.58.126.4 with SMTP id mu4mr22678025veb.0.1398668269572; Sun, 27 Apr 2014 23:57:49 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp95443vcb; Sun, 27 Apr 2014 23:57:49 -0700 (PDT) X-Received: by 10.224.40.142 with SMTP id k14mr14152448qae.43.1398668268984; Sun, 27 Apr 2014 23:57:48 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id d5si7329329qad.201.2014.04.27.23.57.48 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 27 Apr 2014 23:57:48 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; 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 1WefUd-00024G-6v; Mon, 28 Apr 2014 06:56:47 +0000 Received: from mail-pb0-f53.google.com ([209.85.160.53]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WefUL-0001J5-Cv for linux-arm-kernel@lists.infradead.org; Mon, 28 Apr 2014 06:56:29 +0000 Received: by mail-pb0-f53.google.com with SMTP id jt11so3770803pbb.12 for ; Sun, 27 Apr 2014 23:56:09 -0700 (PDT) X-Received: by 10.66.148.134 with SMTP id ts6mr23533169pab.113.1398668169085; Sun, 27 Apr 2014 23:56:09 -0700 (PDT) Received: from localhost.localdomain ([140.206.182.114]) by mx.google.com with ESMTPSA id sy2sm32699307pbc.28.2014.04.27.23.55.59 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 27 Apr 2014 23:56:07 -0700 (PDT) From: Haojian Zhuang To: tglx@linutronix.de, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org, arnd@arndb.de, olof@lixom.net, khilman@kernel.org, xuwei5@hisilicon.com, christoffer.dall@linaro.org, Dave.Martin@arm.com, nicolas.pitre@linaro.org, marc.zyngier@arm.com Subject: [PATCH v4 13/14] ARM: dts: Add PMU support in HiP04 Date: Mon, 28 Apr 2014 14:53:51 +0800 Message-Id: <1398668032-8335-14-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1398668032-8335-1-git-send-email-haojian.zhuang@linaro.org> References: <1398668032-8335-1-git-send-email-haojian.zhuang@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140427_235629_470249_850A5C94 X-CRM114-Status: GOOD ( 10.63 ) X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.3.2 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.160.53 listed in list.dnswl.org] Cc: Haojian Zhuang , Kefeng Wang X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: haojian.zhuang@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: Kefeng Wang ARM Performance Monitor Units are available on the HiP04. So add the support in the dtsi. Simply tested with perf. Signed-off-by: Kefeng Wang Signed-off-by: Haojian Zhuang --- arch/arm/boot/dts/hip04.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/hip04.dtsi b/arch/arm/boot/dts/hip04.dtsi index 7e909ee..98aa9fd 100644 --- a/arch/arm/boot/dts/hip04.dtsi +++ b/arch/arm/boot/dts/hip04.dtsi @@ -218,6 +218,26 @@ status = "ok"; }; + arm-pmu { + compatible = "arm,cortex-a15-pmu"; + interrupts = <0 64 4>, + <0 65 4>, + <0 66 4>, + <0 67 4>, + <0 68 4>, + <0 69 4>, + <0 70 4>, + <0 71 4>, + <0 72 4>, + <0 73 4>, + <0 74 4>, + <0 75 4>, + <0 76 4>, + <0 77 4>, + <0 78 4>, + <0 79 4>; + }; + timer { compatible = "arm,armv7-timer"; interrupts = <1 13 0xf08>,