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: 9424019 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 2C84F60484 for ; Sat, 12 Nov 2016 10:19:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 15C5E2970D for ; Sat, 12 Nov 2016 10:19:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0A7782971D; Sat, 12 Nov 2016 10:19:29 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A2F0F29694 for ; Sat, 12 Nov 2016 10:19:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936602AbcKLKTL (ORCPT ); Sat, 12 Nov 2016 05:19:11 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:32972 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S938318AbcKLKTC (ORCPT ); Sat, 12 Nov 2016 05:19:02 -0500 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>; 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 Cc: krzk@kernel.org, will.deacon@arm.com, catalin.marinas@arm.com, linux-kernel@vger.kernel.org, robin.murphy@arm.com 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 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.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 =