From patchwork Sat Nov 12 10:17:12 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alim Akhtar X-Patchwork-Id: 9424027 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D29806047D for ; Sat, 12 Nov 2016 10:22:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BD0022970B for ; Sat, 12 Nov 2016 10:22:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B178D29733; Sat, 12 Nov 2016 10:22:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 796D02970B for ; Sat, 12 Nov 2016 10:22:02 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1c5VPV-0000xI-Qm; Sat, 12 Nov 2016 10:19:45 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c5VP9-0000u4-3Y for linux-arm-kernel@lists.infradead.org; Sat, 12 Nov 2016 10:19:24 +0000 Received: from epcpsbgm1new.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OGI01OP1XZNJW00@mailout1.samsung.com> for linux-arm-kernel@lists.infradead.org; Sat, 12 Nov 2016 19:18:59 +0900 (KST) X-AuditID: cbfee61a-f79916d0000062de-01-5826ec93c1ea Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1new.samsung.com (EPCPMTA) with SMTP id 03.58.25310.39CE6285; Sat, 12 Nov 2016 19:18:59 +0900 (KST) Received: from exypnos.sisodomain.com ([107.108.73.28]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OGI00BWIXZGMP80@mmp1.samsung.com>; Sat, 12 Nov 2016 19:18:59 +0900 (KST) From: Alim Akhtar To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH v2 2/2] arm64: dts: Add ARM PMU node for exynos7 Date: Sat, 12 Nov 2016 15:47:12 +0530 Message-id: <1478945832-1826-2-git-send-email-alim.akhtar@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-reply-to: <1478945832-1826-1-git-send-email-alim.akhtar@samsung.com> References: <1478945832-1826-1-git-send-email-alim.akhtar@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrGLMWRmVeSWpSXmKPExsVy+t9jAd3Jb9QiDJ690rd4v6yH0eL8+Q3s FpseX2O1uLxrDpvFjPP7mCwOfnjCavHy4wkWB3aPNfPWMHpsWtXJ5rF5Sb3H501yASxRbjYZ qYkpqUUKqXnJ+SmZeem2SqEhbroWSgp5ibmptkoRur4hQUoKZYk5pUCekQEacHAOcA9W0rdL cMuYeXs5W8FVzopfhyexNTA+Ze9i5OSQEDCR+HJ2IQuELSZx4d56ti5GLg4hgaWMEk9+fmKE cH4ySryYdIkZpIpNQFvi7vQtTF2MHBwiAt4Sy68pgoSZBcolHr3qZAWxhQUcJP607GMDsVkE VCVWX2gHs3kF3CR+nZ7KBrFMUaL72QQwm1PAXaJr0yawI4SAahqPT2abwMi7gJFhFaNEakFy QXFSeq5hXmq5XnFibnFpXrpecn7uJkZwGD+T2sF4cJf7IUYBDkYlHt4VxmoRQqyJZcWVuYcY JTiYlUR4D78CCvGmJFZWpRblxxeV5qQWH2I0BTpsIrOUaHI+MMbySuINTcxNzI0NLMwtLU2M lMR5G2c/CxcSSE8sSc1OTS1ILYLpY+LglGpglFvx+63IZkEGSd0UT41m/ZLavsnJ8jcmNEw5 I1JztqpZ7WSVQObTNVffbLUt+8/t85cneU/KqdsTGzd3XciwnBb7U+6j8eTsrb/vXTX9Offy dN/7NmYSFWIS1iZ6ZzdcOrAyIETPeG3AiZsHjhvKXlP661hpbTi/R5PtZJOQ+JuVuTPWvOX2 VGIpzkg01GIuKk4EACNqhPF5AgAA X-MTR: 20000000000000000@CPGS X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161112_021923_342993_CBE8F63B X-CRM114-Status: UNSURE ( 9.44 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: catalin.marinas@arm.com, will.deacon@arm.com, linux-kernel@vger.kernel.org, krzk@kernel.org, robin.murphy@arm.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds ARM Performance Monitor Unit dt node for exynos7. PMU provides various statistics on the operation of the CPU and memory system at runtime, which are very useful when debugging or profiling code. This enables the same. Signed-off-by: Alim Akhtar Reviewed-by: Javier Martinez Canillas --- arch/arm64/boot/dts/exynos/exynos7.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) Changes since v1: * Added "interrupt-affinity" property as per Robin Murphy review comment. diff --git a/arch/arm64/boot/dts/exynos/exynos7.dtsi b/arch/arm64/boot/dts/exynos/exynos7.dtsi index 396ffb9..09e7a05b 100644 --- a/arch/arm64/boot/dts/exynos/exynos7.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos7.dtsi @@ -472,6 +472,16 @@ status = "disabled"; }; + arm-pmu { + compatible = "arm,cortex-a57-pmu", "arm,armv8-pmuv3"; + interrupts = , + , + , + ; + interrupt-affinity = <&cpu_atlas0>, <&cpu_atlas1>, + <&cpu_atlas2>, <&cpu_atlas3>; + }; + timer { compatible = "arm,armv8-timer"; interrupts =