From patchwork Thu Nov 23 14:34:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 119522 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp895119qgn; Thu, 23 Nov 2017 06:34:54 -0800 (PST) X-Google-Smtp-Source: AGs4zMYzLmbNHyJO+T6qWvF+wBLCPz0EHt3yVO2Fe+w5cgH1qCZ0FFNwy+YygtUWvR9yb+KFPItC X-Received: by 10.98.215.90 with SMTP id v26mr18340946pfl.174.1511447694044; Thu, 23 Nov 2017 06:34:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511447694; cv=none; d=google.com; s=arc-20160816; b=eD2fQAyO11OSTJEJnqd1O1vorDY6osO8jGhQu5E+txMFeFxLPa+kazl6tN1rpEdM/9 xWvDlyZsp8fJ18OYRUdlQUcFMsboa8M9wK9T/ZBUojO1DNsjHjWn0n6wjVqeZU+vTv2R X0plU9QpPlONcdJC1RbFcTq5kY+Ea2SDTLDVWREQ43J2x7fpS04KOCTlKhHmxujMkypa 3loGPvA04fGvbwqM7VFDC0EQSWpu3yULo4wgU7HJtgmt9v3BGfFYfTwzINWigg7ImW2W cgpMZ8vkpykosuPvOcX0/J6hboywpTY06Lk5jVcntsKQYosfQDQ6F2900WsMmdNmJqNu EKGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=nkIsq7kJTgVCprk5yizYQ1ckCzIxYX+pp3aG1nUSB2s=; b=Cx1qPquXTFjgO27EKfq7A2Sajw/e2rGv+2+U6u7c2HUl6MrvF2In94ThQqaDksKU/e kE4xqDkXHUJnW+WSJPfULdwlGMflfGHz9SK+48HsCtyAsL7HS/g2SwCDsjhSUDCxVkNB kupNn0CwcoCmFsJPbLXexqf4RBQbQXPx+ZmTAqZngcCzV7aWSsSP+j/w1jSflCCbr1n/ /06kK57nzbWq+IPCyIwRofB/Oj3+IOj82hDCLR4kBUZiiPkKXWA409ebMZNKg1r6/R+q YM3FZTrUS0CQGN3qtBj9eKG7CtEZjoaOfZCaxGPghDrJBm0yojOU65p2u2aCHZMsXuJI SLhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@samsung.com header.s=mail20170921 header.b=Isgxh6nf; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b25si10293034pgn.405.2017.11.23.06.34.53; Thu, 23 Nov 2017 06:34:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@samsung.com header.s=mail20170921 header.b=Isgxh6nf; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751816AbdKWOex (ORCPT + 3 others); Thu, 23 Nov 2017 09:34:53 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:49747 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752691AbdKWOev (ORCPT ); Thu, 23 Nov 2017 09:34:51 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20171123143447euoutp02ce65c0b604ec054096213d1d224c85e4~5vanmvZPo0080400804euoutp02C; Thu, 23 Nov 2017 14:34:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20171123143447euoutp02ce65c0b604ec054096213d1d224c85e4~5vanmvZPo0080400804euoutp02C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1511447687; bh=oWsKPxE+rY1m9MKo6z2Boyj/0XY0TIlNZ0TpCND0P8o=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=Isgxh6nf1aQ65KNXqpeYubg47YK8WJPP7GmJpEb7YuVV2EYryWQfCRVOgdD1rGpm6 WLkiEt+QaiFG012FcxgZLeCk5lN0Rzx2OqjRhhMXO7G9xVzmUt35xLF4YSNN4IHDJw /a+iB+rJ9U+1/hDFBqzF70kQr7KrSVXWaEBkVozI= Received: from eusmges1.samsung.com (unknown [203.254.199.239]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20171123143446eucas1p2dd26aaf679e427b49990ab933093f61f~5vam2A8n42850928509eucas1p2q; Thu, 23 Nov 2017 14:34:46 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1.samsung.com (EUCPMTA) with SMTP id EA.5E.12576.68CD61A5; Thu, 23 Nov 2017 14:34:46 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20171123143445eucas1p211f591cae7ad5121f5b5e19ede898db7~5vamHA28M0877108771eucas1p28; Thu, 23 Nov 2017 14:34:45 +0000 (GMT) X-AuditID: cbfec7ef-f79ee6d000003120-ae-5a16dc86b9a3 Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 9F.BE.20118.58CD61A5; Thu, 23 Nov 2017 14:34:45 +0000 (GMT) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OZV0016QKHTT010@eusync1.samsung.com>; Thu, 23 Nov 2017 14:34:45 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Marian Mihailescu Subject: [PATCH 1/3] ARM: dts: exynos: Add CPU performance counters to Exynos4 boards Date: Thu, 23 Nov 2017 15:34:29 +0100 Message-id: <20171123143431.12434-2-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.14.2 In-reply-to: <20171123143431.12434-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrNIsWRmVeSWpSXmKPExsWy7djPc7ptd8SiDBbuFLLYOGM9q8X58xvY LWac38dksfbIXXaL9dN+sjqweuycdZfdY9OqTjaPvi2rGD0+b5ILYInisklJzcksSy3St0vg yuhaepGx4CNnxYezX9kaGPs5uhg5OSQETCQ6jjYwQthiEhfurWfrYuTiEBJYxijRef0VG0hC SOAzo8TMTypdjBxgDX3TfOBq7vxvY4WoaWCSaJ4VBWKzCRhKdL3tAusVEVCV+Ny2gB2kgVlg D6PE5dcHwRLCAuESCy5+YAKxWYCKnj7oZANZwCtgK3Fztw7EQfIS7xfcZwQJcwrYSbz5ogky RkLgJ6vEnmsnoI52kbj07i0bhC0s8er4FnYIW0bi8uRuFgi7n1GiqVUbwp7BKHHuLS+EbS1x +PhFsPuZBfgkJm2bzgzxI69ER5sQRImHRMuHPqhVjhKHTzawQPw+kVHi57cpjBMYpRcwMqxi FEktLc5NTy021CtOzC0uzUvXS87P3cQIjMLT/46/38H4tDnkEKMAB6MSDy/DfNEoIdbEsuLK 3EOMEhzMSiK84u1iUUK8KYmVValF+fFFpTmpxYcYpTlYlMR5baPaIoUE0hNLUrNTUwtSi2Cy TBycUg2M6dtCyx7WFslEML/Zr7bwJ/8KyV8TpqitVzRa9F/NQS+un2frlH8Pk96uavsU8qhg g+IZd/YZRyOvM3hGXPz6K9LVMijoa6r7p/lPlxa3SrzprxResGlfrbHKeT1174Nt+0z/3dLd o7T0oeFUqfjDO+5uPjU14stZ1e9zbkfdyZ6S+DzpIHPZPiWW4oxEQy3mouJEAEkcdLu+AgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpiluLIzCtJLcpLzFFi42I5/e/4Zd3WO2JRBu1vdS02zljPanH+/AZ2 ixnn9zFZrD1yl91i/bSfrA6sHjtn3WX32LSqk82jb8sqRo/Pm+QCWKK4bFJSczLLUov07RK4 MrqWXmQs+MhZ8eHsV7YGxn6OLkYODgkBE4m+aT5djJxAppjEhXvr2boYuTiEBJYwShxfN40d wmlikmh4eIYVpIpNwFCi620XG4gtIqAq8bltAVgRs8A+Ron7W3YwgSSEBcIl1m5ZxA5iswAV PX3QyQayjVfAVuLmbh2IbfIS7xfcZwQJcwrYSbz5ogkSFgKq6DxynmkCI+8CRoZVjCKppcW5 6bnFRnrFibnFpXnpesn5uZsYgSGz7djPLTsYu94FH2IU4GBU4uFlmC8aJcSaWFZcmXuIUYKD WUmEV7xdLEqINyWxsiq1KD++qDQntfgQozQHi5I4b++e1ZFCAumJJanZqakFqUUwWSYOTqkG xrV2aw1cT54MN9J0sJb/vuvN3sdx54Ivi/3XCWS+eqX3gMX5+5tSAvgOX7m+psSn5eRyj2vv nBy/GK/hcnJTPDvZR3PP8cmK1WoJ81h0ePZuVS+2/mOWky/zeIn8oq1VlXJBC59eFGHkqfEI SVfdceOFA6s4m4Kcbseuz6tq1/F4WbA9ZW/sUmIpzkg01GIuKk4EADIXWukVAgAA X-CMS-MailID: 20171123143445eucas1p211f591cae7ad5121f5b5e19ede898db7 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20171123143445eucas1p211f591cae7ad5121f5b5e19ede898db7 X-RootMTR: 20171123143445eucas1p211f591cae7ad5121f5b5e19ede898db7 References: <20171123143431.12434-1-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Enable support for ARM Performance Monitoring Units available in Cortex-A9 CPU cores for Exynos4 SoCs (4210 and 4412). Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos4210.dtsi | 6 ++++++ arch/arm/boot/dts/exynos4412.dtsi | 6 ++++++ 2 files changed, 12 insertions(+) -- 2.14.2 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/exynos4210.dtsi b/arch/arm/boot/dts/exynos4210.dtsi index 03dd61f64809..522f3a7ed07f 100644 --- a/arch/arm/boot/dts/exynos4210.dtsi +++ b/arch/arm/boot/dts/exynos4210.dtsi @@ -64,6 +64,12 @@ }; }; + arm_pmu { + compatible = "arm,cortex-a9-pmu"; + interrupt-parent = <&combiner>; + interrupts = <2 2>, <3 2>; + }; + sysram: sysram@2020000 { compatible = "mmio-sram"; reg = <0x02020000 0x20000>; diff --git a/arch/arm/boot/dts/exynos4412.dtsi b/arch/arm/boot/dts/exynos4412.dtsi index b255ac55b1c1..468c2795481c 100644 --- a/arch/arm/boot/dts/exynos4412.dtsi +++ b/arch/arm/boot/dts/exynos4412.dtsi @@ -150,6 +150,12 @@ }; }; + arm_pmu { + compatible = "arm,cortex-a9-pmu"; + interrupt-parent = <&combiner>; + interrupts = <2 2>, <3 2>, <18 2>, <19 2>; + }; + sysram@2020000 { compatible = "mmio-sram"; reg = <0x02020000 0x40000>;