Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp628818pxu; Sun, 22 Nov 2020 22:50:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJyltKa6L/ayKS76tblgHoYgy1Jwmymi+2yeegZUKFR8OrQfSIIYec+vX2uLfi1dMt3EIJrM X-Received: by 2002:a17:906:6d4:: with SMTP id v20mr46312785ejb.500.1606114253862; Sun, 22 Nov 2020 22:50:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606114253; cv=none; d=google.com; s=arc-20160816; b=fdgegYpMmC7BrG7B2cI6AHrbLSaVg+eAknQxLSFNUTEiICEW4AylkCIB2+XHN07vWB 21lDXeoeR/nmyVyA5uXvEOHlwuftzzs1ZcWtwPmRTJnVtlSWVVdIizNoHEo8WxuANxSf 8oZUdP7V33c5SIjbB6utsWZNLO+nm/ns0hIq6h4ruoT8bOe4OrQOf/wj3KT6eCCIWFc6 8WUnCGMxZrn4cb0kp+qLg70RqY4ULODUYSfCJ1Lk9UZLWFPDOPuFxmw1ayyoU0GdjeDH SzmzYqo54CqoDUQ49S3EoCdeP3iFqeIbb2kTGPEYpDyddHZuxaV8JQU7ygHRlq//VPJq BGuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:dlp-filter:cms-type :content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:organization:from:cc:to:subject :dkim-signature:dkim-filter; bh=huO/DzlWXqHKtGTBqiOhR7mqW/ABbdb9hkVOQAK47aI=; b=qyVRFvcgUZXJLfI05dZKhAqQDQrF2JT9G9yOgX/YIjrUY+9oiK/l4YFOC+9B2WGbAM N6teAdXZ3lbwcmDY6CSYk09vSengkltDWGIbLZOOHHaQdhbVd12TyuxzC7LNKPsROgrk sFpMkepou2uQYRp6FGG81r7GVPTgOrMkoOkrTCoj2XsZ5iHdcMP5LsygdcfU1gmOK33U +RO0Gl4r44wQsf0eYg9wIELLBur6wF3tV+fRl6IpelDA6fH+e1lCInuHmaV9zj9qWIoE pZUGv9PzB177loIzgVQRJ2hRbwN6ybIAL9Iv7dWntaRQm9QcAfFBBJtfRoEfHGUNVjPs ifNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="HLKk/+fV"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id o25si6754210edz.20.2020.11.22.22.50.30; Sun, 22 Nov 2020 22:50:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="HLKk/+fV"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1727496AbgKWGsF (ORCPT + 99 others); Mon, 23 Nov 2020 01:48:05 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:15638 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727088AbgKWGsF (ORCPT ); Mon, 23 Nov 2020 01:48:05 -0500 Received: from epcas1p2.samsung.com (unknown [182.195.41.46]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20201123064801epoutp03e72c785fd5a610eb6991d15a97b36a76~KED9qrs-51244812448epoutp03O for ; Mon, 23 Nov 2020 06:48:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20201123064801epoutp03e72c785fd5a610eb6991d15a97b36a76~KED9qrs-51244812448epoutp03O DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1606114081; bh=huO/DzlWXqHKtGTBqiOhR7mqW/ABbdb9hkVOQAK47aI=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=HLKk/+fVwHveW6qT52oIvAfSJg9Jc954lJ72TQDlTRx2txiuN+d/hYYyBnjSqh+FM RJ2vSjRvbYpJfEvJRl2g8596+gX8IuceeNvslMJtMdta0Gn380bAXBHA9KXbnQhJ2k hqqUbGW9A8K29n8+ZmkVg6++Q4fU4PjR60AsMfGc= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20201123064801epcas1p156a2230fe89d187f98a9e4d2b909a29e~KED9GdV6M0116501165epcas1p1o; Mon, 23 Nov 2020 06:48:01 +0000 (GMT) Received: from epsmges1p2.samsung.com (unknown [182.195.40.153]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4Cfd5B3NG2zMqYkj; Mon, 23 Nov 2020 06:47:58 +0000 (GMT) Received: from epcas1p1.samsung.com ( [182.195.41.45]) by epsmges1p2.samsung.com (Symantec Messaging Gateway) with SMTP id C1.C1.63458.E1B5BBF5; Mon, 23 Nov 2020 15:47:58 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas1p3.samsung.com (KnoxPortal) with ESMTPA id 20201123064757epcas1p37d2d540ba70cd4ad107d4442b58599e1~KED6OzJgg0264502645epcas1p3F; Mon, 23 Nov 2020 06:47:57 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20201123064757epsmtrp271e2c012cb93f1be7a489f1751cea718~KED6NwXer1092710927epsmtrp2-; Mon, 23 Nov 2020 06:47:57 +0000 (GMT) X-AuditID: b6c32a36-6dfff7000000f7e2-0a-5fbb5b1eae96 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id CB.4D.13470.D1B5BBF5; Mon, 23 Nov 2020 15:47:57 +0900 (KST) Received: from [10.113.221.102] (unknown [10.113.221.102]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20201123064757epsmtip2bdaaee5bf25ff7e246f8f3ba49fba7dd~KED5vTpQB2156421564epsmtip2I; Mon, 23 Nov 2020 06:47:57 +0000 (GMT) Subject: Re: [PATCH v10 09/19] PM / devfreq: tegra30: Support interconnect and OPPs from device-tree To: Dmitry Osipenko , Thierry Reding , Jonathan Hunter , Georgi Djakov , Rob Herring , Michael Turquette , Stephen Boyd , Peter De Schrijver , MyungJoo Ham , Kyungmin Park , Mikko Perttunen , Viresh Kumar , Peter Geis , Nicolas Chauvet , Krzysztof Kozlowski Cc: linux-tegra@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org From: Chanwoo Choi Organization: Samsung Electronics Message-ID: Date: Mon, 23 Nov 2020 16:02:17 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Thunderbird/59.0 MIME-Version: 1.0 In-Reply-To: <20201123002723.28463-10-digetx@gmail.com> Content-Language: en-US Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrGJsWRmVeSWpSXmKPExsWy7bCmrq5c9O54g9knxC3efXrKarH642NG iytf37NZTN+7ic2iZdYiFovz5zewW2x9uobJ4mzTG3aLy7vmsFl87j3CaNH5ZRabxcVTrha3 G1ewWUxaO5XR4uwzb4vWvUfYLf5d28hi8XPXPBaLzQ+OsTkIe7y/0crusXPWXXaPS+f+MHts WtXJ5nHn2h42j/vdx5k8epvfsXn0bVnF6PF5k1wAZ1S2TUZqYkpqkUJqXnJ+SmZeuq2Sd3C8 c7ypmYGhrqGlhbmSQl5ibqqtkotPgK5bZg7QU0oKZYk5pUChgMTiYiV9O5ui/NKSVIWM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epcas1p37d2d540ba70cd4ad107d4442b58599e1 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: SVC_REQ_APPROVE CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20201123003325epcas1p1b90c7b94507a3d58053949f5395c885a References: <20201123002723.28463-1-digetx@gmail.com> <20201123002723.28463-10-digetx@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Dmitry, On 11/23/20 9:27 AM, Dmitry Osipenko wrote: > This patch moves ACTMON driver away from generating OPP table by itself, > transitioning it to use the table which comes from device-tree. This > change breaks compatibility with older device-trees and brings support > for the interconnect framework to the driver. This is a mandatory change > which needs to be done in order to implement interconnect-based memory > DVFS, i.e. device-trees need to be updated. Now ACTMON issues a memory > bandwidth requests using dev_pm_opp_set_bw() instead of driving EMC clock > rate directly. > > Tested-by: Peter Geis > Tested-by: Nicolas Chauvet > Acked-by: Chanwoo Choi > Signed-off-by: Dmitry Osipenko > --- > drivers/devfreq/tegra30-devfreq.c | 79 +++++++++++++++---------------- > 1 file changed, 37 insertions(+), 42 deletions(-) > (snip) When the patches related to icc are merged, I'll merge patch9/10. Thanks for your work. -- Best Regards, Chanwoo Choi Samsung Electronics