Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp8254472ybn; Tue, 1 Oct 2019 05:40:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqwLdTpTyKfSwA1vANBlvq29g4A+nAGRgzyecaBOiEgcpPT8mNSFuOTPZwZzgd/wm7WlOv1W X-Received: by 2002:a17:906:27cf:: with SMTP id k15mr23781221ejc.150.1569933618874; Tue, 01 Oct 2019 05:40:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569933618; cv=none; d=google.com; s=arc-20160816; b=PWaZ2/GQpI9QjFybbZHycMpKiJlKJOXyWJbTNZwAtKA64r3p+FcxBPmeHFYDg9d7ee u0fHBiCMRgO3y6ligSrggllUmTnd/fEVNdenYNl9PMepdIp3fwUBO5CWLrhBOD0VjNjL Oeggvr8JWylPS0ThuvD9ZgLkh5XzRTuzlSEV9QBXp5dTWYv5h8Rtp+4SlGJL/qb/u0lv mMx2Mv9jybGA5h1TQ8ahFEJV8eIuA9M8puTlewxShYey0DiU/jTdQeiwPef/Uk5H4847 hFcIuJEwoMsVYZkoTFmbIRTwPukOZuCzNy0MnSMKbq2yzj3UCkT49XhydezGsnD8zAsO SAQQ== 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 :content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:cc:to:subject:dkim-signature :dkim-filter; bh=P3LQEMEr2ElljIQFeYWukVZZz3LkJ8Ybhmdpwqsf1A0=; b=Is+lnCpE00tmBhQ66iPxpu94e9pZj9a0lK0illfdxi7Bj3SKvaw30ODXdXAIQVn5wQ UalnTAmA+YerrQsYipzSsG4qJ8C04ibq3AH4pJGOmyQ057JUGIwxvq8LVvG4uaoSMxAd w9Wi78wUan9wkwJkTHh+2gfkl7XV5LcfvzzyOJkQAjXkPU1rKjXcBDkniyPVFKSgmXvU ASntk6b/iwgTJFF2CJcnmDp5fg3K0whAofz6rAwIUm4YnlJDdlKvcNmA5ojuBg5zOVfQ xLgYdVYSmZwoNWRFFRg9deBi9H7LkkcbLWMjTvaKEO14W/5OVfLVKkoQ7N6kT+ED6vIk kDFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=Kc5elUoe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (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 o17si8512684ejm.261.2019.10.01.05.39.53; Tue, 01 Oct 2019 05:40:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=Kc5elUoe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387880AbfJAMir (ORCPT + 99 others); Tue, 1 Oct 2019 08:38:47 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:58911 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732007AbfJAMiq (ORCPT ); Tue, 1 Oct 2019 08:38:46 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20191001123845euoutp025789fb73d82e853900103a0eee9fbccb~JhjkkEUrj1376613766euoutp02e for ; Tue, 1 Oct 2019 12:38:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20191001123845euoutp025789fb73d82e853900103a0eee9fbccb~JhjkkEUrj1376613766euoutp02e DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1569933525; bh=P3LQEMEr2ElljIQFeYWukVZZz3LkJ8Ybhmdpwqsf1A0=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=Kc5elUoefFeEupRb9TuW6SBOmhq0W00Sgqtnjrb8pKXWT+NKi+hoJeb/qvF0gGVVG NoZI8p5nmKYN8hY5xHbJw4rqe5k9m1AVPqtoiECyhShwguXFa9/qdB9UXt6R3BTe+N OdQUq9BQutxwBb67S4dwN3H9dOtXYhYtoVKv6K8s= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20191001123844eucas1p24a109be47dc918a3c988aeeb63b7f6f0~JhjkOeLGg2967929679eucas1p2a; Tue, 1 Oct 2019 12:38:44 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id EB.73.04374.4D8439D5; Tue, 1 Oct 2019 13:38:44 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20191001123844eucas1p1ab3cf26fa7a5ec8748b67f49df5aaa47~JhjjyhIH60392003920eucas1p1_; Tue, 1 Oct 2019 12:38:44 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20191001123844eusmtrp10339363d1656fab2f497e0178b59ca6e~JhjjxsAZZ0473004730eusmtrp1X; Tue, 1 Oct 2019 12:38:44 +0000 (GMT) X-AuditID: cbfec7f5-4f7ff70000001116-24-5d9348d4aacc Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id CA.0B.04166.4D8439D5; Tue, 1 Oct 2019 13:38:44 +0100 (BST) Received: from [106.120.51.20] (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20191001123843eusmtip237921a023022d439d4283e2bae0b2dd9~JhjjG90Ma1599415994eusmtip2u; Tue, 1 Oct 2019 12:38:43 +0000 (GMT) Subject: Re: [PATCH 1/3] ARM: dts: exynos: Add interrupt to DMC controller in Exynos5422 To: Krzysztof Kozlowski Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, b.zolnierkie@samsung.com, kgene@kernel.org, mark.rutland@arm.com, cw00.choi@samsung.com, kyungmin.park@samsung.com, m.szyprowski@samsung.com, s.nawrocki@samsung.com, myungjoo.ham@samsung.com, robh+dt@kernel.org, willy.mh.wolff.ml@gmail.com From: Lukasz Luba Message-ID: <16c56e81-d0a7-a405-fa12-83442364c260@partner.samsung.com> Date: Tue, 1 Oct 2019 14:38:43 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190927085359.GA19131@pi3> Content-Language: en-US Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA01Sa0hTYRju29m5OJodp+WbhcEKUkMzKvgg8QIq+5XRrzBWrXZQyU3bmZYm 5KWLzmtalqs0pZoMY2ViOkpBl1O6mOYtozCVpFKLZg3BLI/HyH/P+7zP+z7P+/ExhGKI9GOS 9EbOoNckKymZtLlr/lXwgKpCHZo/sh0/vG4j8fDcFIlrHK9IXDrxlcC9vQ9o/DJ3msaNE0Mk fmO/SWFXsQPh671tEnzf8Z7Gd4f7JPhdTj2FLzx10Lhz+hKJf3WPo0hW1VDdgFSt5ve0qtFa QKke3TmnKmmyIpWr0f8AFS8L03LJSemcYWf4MVliSf2O1HbZmdqKQjIbdTImxDDA7oEnV3Um 5MEo2HoETlOgCcmW8ByC9hdtlFi4EPTbZ0hBJQzk5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GfuYuTg YBPQk9ixqhCkgVfATWLCtGVMIGEWARWJtk42kLCoQITE4R2zGCFKBCVOznzCAmJzAs2/Mfsf 2C5mATOJeZsfMkPY4hK3nsxngrDlJba/ncM8gVFoFpL2WUhaZiFpmYWkZQEjyypGkdTS4tz0 3GJDveLE3OLSvHS95PzcTYzAmN527OfmHYyXNgYfYhTgYFTi4Z3wcmKsEGtiWXFl7iFGCQ5m JRFemz+TYoV4UxIrq1KL8uOLSnNSiw8xmgL9NpFZSjQ5H5hu8kriDU0NzS0sDc2NzY3NLJTE eTsEDsYICaQnlqRmp6YWpBbB9DFxcEo1MHpxKDecfPNweoayqUnCvMmsm5R5mzvaJ28V+Ga8 5+mzAwuvTFzWlsFswOb8audV/6uc4do3n7olV5Y/67GdWjWR+7uzyxpG89CdLw/tWhYcvvYr Z/h52xtRSTpfV83ICZ9aMEV/2VdR48Pad4SPxPvX+LO8VZjBOWmvbqtguYLziic/prJy6Cqx FGckGmoxFxUnAgDoPfRt/wIAAA== X-CMS-MailID: 20191001123844eucas1p1ab3cf26fa7a5ec8748b67f49df5aaa47 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190925161842eucas1p271a9cf4f62b3d7af02c0a5d0d1eb9c4f X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190925161842eucas1p271a9cf4f62b3d7af02c0a5d0d1eb9c4f References: <20190925161813.21117-1-l.luba@partner.samsung.com> <20190925161813.21117-2-l.luba@partner.samsung.com> <20190927085359.GA19131@pi3> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Krzysztof, On 9/27/19 10:53 AM, Krzysztof Kozlowski wrote: > On Wed, Sep 25, 2019 at 06:18:11PM +0200, Lukasz Luba wrote: >> Add interrupt to Dynamic Memory Controller in Exynos5422 and Odroid >> XU3-family boards. It will be used instead of devfreq polling mode >> governor. The interrupt is connected to performance counters private >> for DMC, which might track utilisation of the memory channels. >> >> Signed-off-by: Lukasz Luba >> --- >> arch/arm/boot/dts/exynos5420.dtsi | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi >> index ac49373baae7..72738e620d11 100644 >> --- a/arch/arm/boot/dts/exynos5420.dtsi >> +++ b/arch/arm/boot/dts/exynos5420.dtsi >> @@ -240,6 +240,8 @@ >> dmc: memory-controller@10c20000 { >> compatible = "samsung,exynos5422-dmc"; >> reg = <0x10c20000 0x100>, <0x10c30000 0x100>; >> + interrupt-parent = <&combiner>; >> + interrupts = <16 0>; > > You register DMC for DREX0 and DREX1 but take only DREX0 interrupt. Why > skipping second? > Right, the second should also be there: <16 1>. The channel 1 has not been triggered in CPU test cases but might be used by some other NoC clients. I will add it in the next version. Regards, Lukasz