Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3391028imu; Mon, 10 Dec 2018 01:06:47 -0800 (PST) X-Google-Smtp-Source: AFSGD/VgDgwpe4QWN+3gIdwmhlvSRdBYrpIW+FwCTogFOGXpqzWARcjodxvqEgJTgzTqP/Z8FR3I X-Received: by 2002:a17:902:4124:: with SMTP id e33mr11379748pld.236.1544432807791; Mon, 10 Dec 2018 01:06:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544432807; cv=none; d=google.com; s=arc-20160816; b=fBBrcVgw8ae2HJISnGikiTe0r2YluPq3pMyyho9IImqkn9lKWdFw0jvLQINCFn3SZh 04OHXShiZCQ9a5TNb0LnELUpVta1WKYBXPGnsVXwA5ZIsaQVbD/YT+IfplsTbwDTWSpd D+jHLyEuM+3OVg8WSlC7T4wTwx+DKPjl3VhO9/KcDDo+usMGH5CDDYHIPfjAl8zDCnj6 luH6tz4iqXvOH/IaNWDDY7J42H4Co2jAk8WZiWWv0WionnAvVGqBo0rPqseKvg4aIMz5 XwnCOo7JcT8ybBewGjUVno1gutuNaWE1ysm0L/EmhJZE/1LNm9SFeBqB8OD7U0GR+Cg+ 30jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=OZGCtl0s42CEQU4yKwqXBNJBWb6cemdDrQzpSV1gBDA=; b=ti0InC90X8OUBEc2e01AKlHxg7i4+DF10C91h9adyzTbffRWPgJkQHu6QHJuVih9TO GbE3QHT7iHBHHr5ATp3bH9P7evfrtTe9qciRWU6IKOxMcWUlU8wgiJCof6Swv0QS/4Xy LJh/HguTlBbrRqo5yGPacSSjdZAPlixtKhR8omrlggdO/71ZLccRLdXv4XSguSM8hXTj CeuOLw8UBZFfztV3KC1t+h2c4KVDElk+Lb9TYTrAafs1G3HXLE93InwbCgdlnylANjK2 DiXXduEf4IL/gyhldnzXEP4HajCs+B75P2V2BguuXhiaBevModyjG01ob/v7NA1JHcaX j3Lg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 2si9894049pfd.154.2018.12.10.01.06.26; Mon, 10 Dec 2018 01:06:47 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726924AbeLJJE1 (ORCPT + 99 others); Mon, 10 Dec 2018 04:04:27 -0500 Received: from mail-ot1-f65.google.com ([209.85.210.65]:46675 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726675AbeLJJE1 (ORCPT ); Mon, 10 Dec 2018 04:04:27 -0500 Received: by mail-ot1-f65.google.com with SMTP id w25so9638764otm.13; Mon, 10 Dec 2018 01:04:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=OZGCtl0s42CEQU4yKwqXBNJBWb6cemdDrQzpSV1gBDA=; b=bD87PoaVK7/uj+tgku9n3oyyva3pe9ot/ibWiWBnnb4e4BuOtemWfH3fi7JtIjXED4 BWS2YdA6lWnDGM3wJGKeyb3FzZF9T4rj2sQgVQLW6yUAVQMNAQ6K31oSDqLuEFHcqT7x mSSDL5KVrSqlAZNyGk/fN1Fk87uiX8hRSQKfORUZhZBUyH142KuaYBvgFOyX0twNfdKF zgNThSl8kHhGtuaoXSidEQWp1nTYg5jAbsiMJFm5z9B7UkWCE1gZW5O2JDdo0Vl5huv+ nfERk1Ydjz2gZ1mRB/NtCdM9+UccCfA7qXlaaPuFPDSLNw8syf7P65a/pn9ACg+4OQIu m1XQ== X-Gm-Message-State: AA+aEWYT4jpccYgOKT/H+XfEa21QHp3BB2RzVLcqzngkIBk2HgPjfZ6h 8wcLElqdT0ijiqVy9gFsbloHY/qOH5vVvZ7l0wQ= X-Received: by 2002:a9d:60b:: with SMTP id 11mr7720286otn.200.1544432665576; Mon, 10 Dec 2018 01:04:25 -0800 (PST) MIME-Version: 1.0 References: <20181127180349.29997-1-georgi.djakov@linaro.org> <20181206145547.GA7884@kroah.com> In-Reply-To: <20181206145547.GA7884@kroah.com> From: "Rafael J. Wysocki" Date: Mon, 10 Dec 2018 10:04:14 +0100 Message-ID: Subject: Re: [PATCH v10 0/8] Introduce on-chip interconnect API To: Greg Kroah-Hartman Cc: evgreen@chromium.org, Georgi Djakov , Linux PM , "Rafael J. Wysocki" , Rob Herring , Michael Turquette , Kevin Hilman , Vincent Guittot , Saravana Kannan , bjorn.andersson@linaro.org, Amit Kucheria , seansw@qti.qualcomm.com, daidavid1@codeaurora.org, Mark Rutland , Lorenzo Pieralisi , abailon@baylibre.com, maxime.ripard@bootlin.com, Arnd Bergmann , Thierry Reding , ksitaraman@nvidia.com, sanjayc@nvidia.com, "devicetree@vger.kernel.org" , Linux Kernel Mailing List , Linux ARM , linux-arm-msm , linux-tegra@vger.kernel.org, Doug Anderson Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 6, 2018 at 3:55 PM Greg KH wrote: > > On Wed, Dec 05, 2018 at 12:41:35PM -0800, Evan Green wrote: > > On Tue, Nov 27, 2018 at 10:03 AM Georgi Djakov wrote: > > > > > > Modern SoCs have multiple processors and various dedicated cores (video, gpu, > > > graphics, modem). These cores are talking to each other and can generate a > > > lot of data flowing through the on-chip interconnects. These interconnect > > > buses could form different topologies such as crossbar, point to point buses, > > > hierarchical buses or use the network-on-chip concept. > > > > > > These buses have been sized usually to handle use cases with high data > > > throughput but it is not necessary all the time and consume a lot of power. > > > Furthermore, the priority between masters can vary depending on the running > > > use case like video playback or CPU intensive tasks. > > > > > > Having an API to control the requirement of the system in terms of bandwidth > > > and QoS, so we can adapt the interconnect configuration to match those by > > > scaling the frequencies, setting link priority and tuning QoS parameters. > > > This configuration can be a static, one-time operation done at boot for some > > > platforms or a dynamic set of operations that happen at run-time. > > > > > > This patchset introduce a new API to get the requirement and configure the > > > interconnect buses across the entire chipset to fit with the current demand. > > > The API is NOT for changing the performance of the endpoint devices, but only > > > the interconnect path in between them. > > > > For what it's worth, we are ready to land this in Chrome OS. I think > > this series has been very well discussed and reviewed, hasn't changed > > much in the last few spins, and is in good enough shape to use as a > > base for future patches. Georgi's also done a great job reaching out > > to other SoC vendors, and there appears to be enough consensus that > > this framework will be usable by more than just Qualcomm. There are > > also several drivers out on the list trying to add patches to use this > > framework, with more to come, so it made sense (to us) to get this > > base framework nailed down. In my experiments this is an important > > piece of the overall power management story, especially on systems > > that are mostly idle. > > > > I'll continue to track changes to this series and we will ultimately > > reconcile with whatever happens upstream, but I thought it was worth > > sending this note to express our "thumbs up" towards this framework. > > Looks like a v11 will be forthcoming, so I'll wait for that one to apply > it to the tree if all looks good. I'm honestly not sure if it is ready yet. New versions are coming on and on, which may make such an impression, but we had some discussion on it at the LPC and some serious questions were asked during it, for instance regarding the DT binding introduced here. I'm not sure how this particular issue has been addressed here, for example. Thanks, Rafael