Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp8710902ybl; Thu, 16 Jan 2020 23:09:59 -0800 (PST) X-Google-Smtp-Source: APXvYqxF+YHwYZyDntaSKpgxmQ4jmtVmOKhH6NHxBcg/xRyHN9PtamCjQx71YQ88/bq9XSMR5E2E X-Received: by 2002:a54:408f:: with SMTP id i15mr498215oii.64.1579244998947; Thu, 16 Jan 2020 23:09:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579244998; cv=none; d=google.com; s=arc-20160816; b=IZa6o7NZc8WGnfyF9d1w742AvY7w8t4TSC1qA5RUikwjTe4kLTwuO/nhLyNTlipcyA P5J1H4QffMkaihb3JCFlA1wVoFyZBJOs51Zecd1pbvFPj9nY15ipr36+8+nfkePZfUPr NqD1yt1OMw1XwJ7Jdl1IqFd6nCR6FaQvZgA5lsueXYr07+ZGIUhrdz+kHLEApGUWk26g /wRLBq74gKzgNNsUL0NaLHlK2N1iQ9bBb5hBxksoA/OeoiYXMnfKXVsPdE1YKvKMUSIB KbhXgl5curOkOuU7WZObDXgNdAr1/UBUbpK024G5w5clApWGj4JMHiU1roD8wvmPa8IA vINA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender: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=cFarK9MsZqNPZLwDbzZwWEM500rcWbAWdAi8QDCCiuc=; b=TaNqsMud2miZX4li26re3wFc0WYK7YsTDILGAjfjzWGPV5wZamG9AiYV82E6DhjFAw dB2qHuYjLoFHVxwr2iW9h/KVmW/At9GCXflUm1KBe8ri7gbt1Yj+feVtnupUIYtOAV7W q2Iry98SGol/vEusMK4z7K7pdvvhd+XrRlgJ1CfrEh8SrclcOXakHu/8pZNb76h4UxML m0tMl9QNg2DwFFn5LKe8Yr64f6cQ75QGwAdSwjfp6hZD/BpLTD5zO4qRA5ss5WxEf/Oj JJGL92xXGvjIt8yyVOFJHENk8Swb+5vZw4RgszViAditGm67Rcsf38IZLZ+8sD2HDy2L GTcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=u0zZHJiq; 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 u25si14904948otg.170.2020.01.16.23.09.46; Thu, 16 Jan 2020 23:09:58 -0800 (PST) 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=u0zZHJiq; 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 S1729014AbgAQHHe (ORCPT + 99 others); Fri, 17 Jan 2020 02:07:34 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:41064 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726726AbgAQHHe (ORCPT ); Fri, 17 Jan 2020 02:07:34 -0500 Received: from epcas1p2.samsung.com (unknown [182.195.41.46]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20200117070730epoutp03001bf7de405bdc36acbaedb1008c36be~qmtMDUVic3218732187epoutp03O for ; Fri, 17 Jan 2020 07:07:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20200117070730epoutp03001bf7de405bdc36acbaedb1008c36be~qmtMDUVic3218732187epoutp03O DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1579244850; bh=cFarK9MsZqNPZLwDbzZwWEM500rcWbAWdAi8QDCCiuc=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=u0zZHJiquxnyUkl3N/wbUvKR9KrZgVjcGkwluOoNH7S9IrvJRh5BTkQBgO49+KIDT jSXk465fhCYulbLeJws9m392b57oDquxDQOWfcnhSOeq72YY+THNQfmStWLGRjzIe+ 6K0Gz/CGzPheL3JFRkFhlY4kd8YpgGwRt/8dnn4s= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20200117070730epcas1p46bf5ae97bada6233a7cdc3fb95b650a3~qmtL0UyrA1348113481epcas1p4j; Fri, 17 Jan 2020 07:07:30 +0000 (GMT) Received: from epsmges1p4.samsung.com (unknown [182.195.40.158]) by epsnrtp2.localdomain (Postfix) with ESMTP id 47zXFC0SYMzMqYkW; Fri, 17 Jan 2020 07:07:27 +0000 (GMT) Received: from epcas1p4.samsung.com ( [182.195.41.48]) by epsmges1p4.samsung.com (Symantec Messaging Gateway) with SMTP id 6A.D6.48019.E2D512E5; Fri, 17 Jan 2020 16:07:27 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas1p1.samsung.com (KnoxPortal) with ESMTPA id 20200117070726epcas1p176a320d4d85bb2fb7484c28f9442285e~qmtIcsmGA2514625146epcas1p1I; Fri, 17 Jan 2020 07:07:26 +0000 (GMT) Received: from epsmgms1p2new.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200117070726epsmtrp143cb8f1b9a1cb1d2aa2c16f94aa5ba9d~qmtIb6DC00939509395epsmtrp1I; Fri, 17 Jan 2020 07:07:26 +0000 (GMT) X-AuditID: b6c32a38-23fff7000001bb93-89-5e215d2e7633 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2new.samsung.com (Symantec Messaging Gateway) with SMTP id BB.F1.06569.E2D512E5; Fri, 17 Jan 2020 16:07:26 +0900 (KST) Received: from [10.113.221.102] (unknown [10.113.221.102]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20200117070726epsmtip18e6a561de55eafce0267301aa362dc8b~qmtIP4Y6-2981429814epsmtip1h; Fri, 17 Jan 2020 07:07:26 +0000 (GMT) Subject: Re: [PATCH v4 0/3] interconnect: Support Samsung Exynos use-case To: =?UTF-8?B?QXJ0dXIgxZp3aWdvxYQ=?= , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: georgi.djakov@linaro.org, b.zolnierkie@samsung.com, m.szyprowski@samsung.com, krzk@kernel.org From: Chanwoo Choi Organization: Samsung Electronics Message-ID: Date: Fri, 17 Jan 2020 16:14:47 +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: <7037771c6aaa7b72a41e33c621d4e0c6db7758ca.camel@samsung.com> Content-Language: en-US Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA02Se0hTcRTH+e1xt0nL28o8Gda8EZVg21VX19AotDDqD8koS1Nv7uKGe7G7 WRbSu0zsTTlnPqIkEkrz1UtdmD3Ww8eskEoKs1KjRKUyiupu12j/fTjnfM/3nN/vSIWKi1iI VG+yMVYTbSCwAFHT3UXqCNXWsHT1xG1EvSk/iKhrjhoxVdxSh1GdnbUSqufWOYwaP9qOKEdn q4C60t4nWSFNrKs+giW+ftGMJR5rqEaJ43VzkkRbcmJ1DK1lrErGlGXW6k3ZccTa5Iz4DM0S NRlBxlBLCaWJNjJxRMK6pIjVegM3BqHMpQ12LpREsyyhWh5rNdttjFJnZm1xBGPRGiwxlsUs bWTtpuzFWWbjMlKtjtRwhZk5uscDBzHLxKwd7z+MYntQQVAhkkkBj4Zv9zyYlxX4D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ljJogaQYmTM5+wgNicQIv/vHoPVsMsoC7xZ94lZghbXOLWk/lMELa8RPPW 2cwTGIVnIWmfhaRlFpKWWUhaFjCyrGKUTC0ozk3PLTYsMMpLLdcrTswtLs1L10vOz93ECI4n La0djCdOxB9iFOBgVOLhnRGkECfEmlhWXJl7iFGCg1lJhPfkDNk4Id6UxMqq1KL8+KLSnNTi Q4zSHCxK4rzy+ccihQTSE0tSs1NTC1KLYLJMHJxSDYxyzQfj+o1Pr0zkut72vGzBPJVt4seX KiWvVWv6MmvxiV+f995w0Sy+6Jjl0eXWfH5PqIspD490rZlPn+z8e6qTFd36Vt9c1C3pvyD9 QMWXBSs457LM/3PqlcmO89t6Kl+fu/X47OqtFy4e25Nhs3WCYNasG7lbn33h8XzbqqGt/1Ne qluMZ62oEktxRqKhFnNRcSIARPJfpKMCAAA= X-CMS-MailID: 20200117070726epcas1p176a320d4d85bb2fb7484c28f9442285e 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: 20200116144241eucas1p226c1d7fc2fad5bd1b9fb6d0fb1b22bff References: <20200116144202.12116-1-a.swigon@samsung.com> <95ac808c-aacf-8ca8-94a7-98bbdb37b39d@samsung.com> <7037771c6aaa7b72a41e33c621d4e0c6db7758ca.camel@samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 1/17/20 3:10 PM, Artur Świgoń wrote: > Hi Chanwoo, > > On Fri, 2020-01-17 at 14:31 +0900, Chanwoo Choi wrote: >> Hi Artur, >> >> I'm concerned about that make it the separate series >> without use-case like exynos-bus, exynos-drm. >> If this series is applied to v5.6, it doesn't make >> the problem and the patches for exynos-bus/exynos-drm >> will be reviewed and then merged on later kernel version. >> >> But, if not, the interconnect, exynos-bus and exynos-drm >> patches should be merged into the same kernel version, >> it must require the immutable branch among interconnect, >> devfreq and exynos-drm. I think that you need to consider >> it between different subsystems. > > Thanks for the feedback. Due to the fact that the RFC depends > on the proposed changes to the interconnect framework, I need > to ensure that these three patches come first. > > If there is any disagreement over any of these three patches, > the rest of the RFC might need to be modified. In such case, > I will update the RFC and send the rest of v4 patches (for > exynos-bus, exynos-mixer, and probably also exynos5-dmc). OK. Thanks. > >> On 1/16/20 11:41 PM, Artur Świgoń wrote: >>> Previously posted as a part of a larger RFC: [1]. >>> >>> The Exynos SoC family relies on the devfreq driver for frequency >>> scaling. However, a way to programmatically enforce QoS contraints >>> (i.e., minimum frequency) is desired. A solution which uses the >>> interconnect framework to ensure QoS is currently being developed[1]. >>> >>> The exynos-bus hierarchy is composed of multiple buses which are probed >>> separately. Sometimes the DMC is even handled by a different driver. >>> Since the exynos-bus driver is generic and supports multiple differing >>> bus hierarchies, IDs for nodes (i.e. buses) are assigned dynamically. Due >>> to the unspecified relative probing order, every bus registers its own >>> interconnect provider. >>> >>> Rationale for each patch in this series: >>> * Patch 01 (exporting of_icc_get_from_provider()) makes it easy to >>> retrieve the parent node from the DT (cf. patch 05 in [1]). >>> * Patch 02 (allowing #interconnect-cells = <0>) allows to remove dummy >>> node IDs from the DT. >>> * Patch 03 (allowing inter-provider node pairs) is necessary to make >>> such multi-provider hierarchy work. A new approach implemented in v3 >>> ensures not to break any existing drivers. >>> >>> --- >>> Changes since v3 (to patches in this series): >>> * Improve commit messages. >>> >>> --- >>> Artur Świgoń >>> Samsung R&D Institute Poland >>> Samsung Electronics >>> >>> --- >>> References: >>> [1] https://protect2.fireeye.com/url?k=c69d0cf5-9b4f1bfc-c69c87ba-0cc47a31cdf8-2143c550c0e479bd&u=https://patchwork.kernel.org/patch/11305287/ >>> >>> Artur Świgoń (3): >>> interconnect: Export of_icc_get_from_provider() >>> interconnect: Relax requirement in of_icc_get_from_provider() >>> interconnect: Allow inter-provider pairs to be configured >>> >>> drivers/interconnect/core.c | 16 ++++++++-------- >>> include/linux/interconnect-provider.h | 8 ++++++++ >>> 2 files changed, 16 insertions(+), 8 deletions(-) >>> >> >> -- Best Regards, Chanwoo Choi Samsung Electronics