From patchwork Fri Apr 18 06:05:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haojian Zhuang X-Patchwork-Id: 28625 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f198.google.com (mail-ve0-f198.google.com [209.85.128.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id CCF3B2013D for ; Fri, 18 Apr 2014 06:15:21 +0000 (UTC) Received: by mail-ve0-f198.google.com with SMTP id oz11sf5140190veb.5 for ; Thu, 17 Apr 2014 23:15:21 -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=Qasb5vEAfBVkxeOCC+cOVt/UsPxtO8noQiVRvR9yLLg=; b=eWbVFYGckaSUNeQC0SIPzTp/ZLcN2jlVN+yjvPUlNjjEBqd2Wp0T/hyGlmyf3upDcX NQriZ6VwyKKXK4L7/Vg4A6WB2/MAfJrbe2FrC3+Q+Ipi7nhpRhazcAHjZls8DvwWzKnR cHb1Y/UKwluafqYbj8xzYh7x7kVVHLTvkZAGDOMk5A8SvVyL08L05Aggz5zzkMlNvExt Xpbr+1tHmy+CwZxZTJha/+TahrSuAxqbJ43+sGhT2+CSGjoMx489KAAW1faTB1eVQm2m QXBx9lZJKdH+IwDOxh3netg6fq+vZczEp3rFNxCuiEUQ8ehqBxUMWWVwHY+Yu/uFzXlr 7vIw== X-Gm-Message-State: ALoCoQn8YX/YvgiiwKbl2Dct+McmLoU1H1ov9fiKfwhUJpSgIPFJxJnhYM1/+j+9p4tmCUba1cnv X-Received: by 10.58.127.66 with SMTP id ne2mr8967288veb.27.1397801721566; Thu, 17 Apr 2014 23:15:21 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.30.4 with SMTP id c4ls288330qgc.51.gmail; Thu, 17 Apr 2014 23:15:21 -0700 (PDT) X-Received: by 10.58.137.169 with SMTP id qj9mr221628veb.46.1397801721460; Thu, 17 Apr 2014 23:15:21 -0700 (PDT) Received: from mail-ve0-f174.google.com (mail-ve0-f174.google.com [209.85.128.174]) by mx.google.com with ESMTPS id h11si4819822veh.158.2014.04.17.23.15.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 17 Apr 2014 23:15:21 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.174; Received: by mail-ve0-f174.google.com with SMTP id oz11so2094219veb.5 for ; Thu, 17 Apr 2014 23:15:21 -0700 (PDT) X-Received: by 10.58.187.165 with SMTP id ft5mr63802vec.47.1397801721386; Thu, 17 Apr 2014 23:15:21 -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 ib8csp89525vcb; Thu, 17 Apr 2014 23:15:21 -0700 (PDT) X-Received: by 10.224.124.129 with SMTP id u1mr414539qar.95.1397801720974; Thu, 17 Apr 2014 23:15:20 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id z8si2889307qar.134.2014.04.17.23.15.20 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Apr 2014 23:15:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) 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 1Wb23w-0006MZ-Im; Fri, 18 Apr 2014 06:14:12 +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 1Wb23t-0005xo-Nm for linux-arm-kernel@lists.infradead.org; Fri, 18 Apr 2014 06:14:10 +0000 Received: by mail-pb0-f53.google.com with SMTP id rp16so1155361pbb.26 for ; Thu, 17 Apr 2014 23:13:49 -0700 (PDT) X-Received: by 10.66.254.198 with SMTP id ak6mr13142pad.156.1397801629396; Thu, 17 Apr 2014 23:13:49 -0700 (PDT) Received: from localhost.localdomain ([140.206.182.114]) by mx.google.com with ESMTPSA id tk5sm57498473pbc.63.2014.04.17.23.13.35 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 17 Apr 2014 23:13:48 -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, marc.zyngier@arm.com, christoffer.dall@linaro.org, Dave.Martin@arm.com, nicolas.pitre@linaro.org Subject: [PATCH v3 12/13] ARM: dts: Add PMU support in HiP04 Date: Fri, 18 Apr 2014 14:05:55 +0800 Message-Id: <1397801156-25682-13-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1397801156-25682-1-git-send-email-haojian.zhuang@linaro.org> References: <1397801156-25682-1-git-send-email-haojian.zhuang@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140417_231409_803801_2EEA7DF4 X-CRM114-Status: GOOD ( 10.68 ) 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: 209.85.128.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) 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>,