From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D4C1CC07E85 for ; Fri, 7 Dec 2018 10:06:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8808D20645 for ; Fri, 7 Dec 2018 10:06:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=linaro.org header.i=@linaro.org header.b="EgLLsRdF" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8808D20645 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726030AbeLGKG3 (ORCPT ); Fri, 7 Dec 2018 05:06:29 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:36267 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725976AbeLGKG2 (ORCPT ); Fri, 7 Dec 2018 05:06:28 -0500 Received: by mail-wm1-f66.google.com with SMTP id a18so3941346wmj.1 for ; Fri, 07 Dec 2018 02:06:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:openpgp:autocrypt:message-id:date :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=kUwCLVhtHzk/2FY1YPtUTTCUBvJxk6qL0FqXIMwaMGE=; b=EgLLsRdF0ufehtUkt0d6+MO46jfc6jxP9t7c8y9Us/0lQ+pO1Z3QVuNlMaRI0Rb79G hu4NIUruXENdjTcXRezhpT6wsga5iXnCgojo6AzjDGt0dFfzMRjaHfIvpDTcPdeSs/yC XtIIWeHSl/z0ZFAX8FAOnI1lcd9BOCBLcsyMc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:autocrypt :message-id:date:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=kUwCLVhtHzk/2FY1YPtUTTCUBvJxk6qL0FqXIMwaMGE=; b=M4qoLtTPRqfOXK3A18pwf10ZKTTUGXLSPDvO7g7YaSC1GM3ub1zhmp0vbiBbZkenj8 nk+rbg0tXdxlC79MklgOabXVHMXlJ1UPoTdkR9XeGlt8pRBOeanBkZAI2YZlhzQ3Bax7 mDDA7kOqPd6Vz4t9wNdIuLThhetEGjs7CjJaDh45mShb/V65nOCe4RSCGDr1ykKhBxuq IQ7Z6RxpeJdNscD6jb1FnKUYpFgHyajQAAybQ2R4v0XUuvgZXkS1Iud6rWuePGlYIdTK aNL4vDPln/jHAS1GOL4ROl/Dqll/9fmck6H3wa5BJ6ZKk7hIDriV9aRtjYEHZoMsG3WK WLPA== X-Gm-Message-State: AA+aEWYzRVkbs/QfGXmSl9pPMueIziOiqXm+tTar+GZ03D1kjmq0g3R0 qWBZ3ZzajfC+XcfEFcqwliJ7QQ== X-Google-Smtp-Source: AFSGD/UlsM50NUxHuwWMDONeZyXRKXAsqMKVkTVr0RrtmQThCndUvhyJ1U5qwE5su7XgBewMycF4Sg== X-Received: by 2002:a7b:c4cb:: with SMTP id g11mr1627453wmk.149.1544177186274; Fri, 07 Dec 2018 02:06:26 -0800 (PST) Received: from [10.44.66.8] ([212.45.67.2]) by smtp.googlemail.com with ESMTPSA id r69sm5978266wmd.4.2018.12.07.02.06.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Dec 2018 02:06:25 -0800 (PST) Subject: Re: [PATCH v10 0/8] Introduce on-chip interconnect API To: Greg KH , Evan Green Cc: linux-pm@vger.kernel.org, rjw@rjwysocki.net, robh+dt@kernel.org, Michael Turquette , khilman@baylibre.com, Vincent Guittot , Saravana Kannan , Bjorn Andersson , amit.kucheria@linaro.org, seansw@qti.qualcomm.com, daidavid1@codeaurora.org, mark.rutland@arm.com, lorenzo.pieralisi@arm.com, Alexandre Bailon , maxime.ripard@bootlin.com, Arnd Bergmann , Thierry Reding , ksitaraman@nvidia.com, sanjayc@nvidia.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-tegra@vger.kernel.org, Doug Anderson References: <20181127180349.29997-1-georgi.djakov@linaro.org> <20181206145547.GA7884@kroah.com> From: Georgi Djakov Openpgp: preference=signencrypt Autocrypt: addr=georgi.djakov@linaro.org; prefer-encrypt=mutual; keydata= xsFNBFjTuRcBEACyAOVzghvyN19Sa/Nit4LPBWkICi5W20p6bwiZvdjhtuh50H5q4ktyxJtp 1+s8dMSa/j58hAWhrc2SNL3fttOCo+MM1bQWwe8uMBQJP4swgXf5ZUYkSssQlXxGKqBSbWLB uFHOOBTzaQBaNgsdXo+mQ1h8UCgM0zQOmbs2ort8aHnH2i65oLs5/Xgv/Qivde/FcFtvEFaL 0TZ7odM67u+M32VetH5nBVPESmnEDjRBPw/DOPhFBPXtal53ZFiiRr6Bm1qKVu3dOEYXHHDt nF13gB+vBZ6x5pjl02NUEucSHQiuCc2Aaavo6xnuBc3lnd4z/xk6GLBqFP3P/eJ56eJv4d0B 0LLgQ7c1T3fU4/5NDRRCnyk6HJ5+HSxD4KVuluj0jnXW4CKzFkKaTxOp7jE6ZD/9Sh74DM8v etN8uwDjtYsM07I3Szlh/I+iThxe/4zVtUQsvgXjwuoOOBWW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qSr82aIQc4+FlDX2Ot6T/4tGUDr9MAHaBKFtVyIqXBO xOf0vQEokkUGRKWBE0uA3zFVRfLiT6NUjDQ0vdphTnsdA7h01MliZLQ2lLL2Mt5lsqU+6sup Tfql1omgEpjnFsPsyFebzcKGbdEr6vySGa3Cof+miX06hQXKe99a5+eHNhtZJcMAIO89wZmj 7ayYJIXFqjl/X0KBcCbiAl4vbdBw1bqFnO4zd1lMXKVoa29UHqby4MPbQhjWNVv9kqp8A39+ E9xw890l1xdERkjVKX6IEJu2hf7X3MMl9tOjBK6MvdOUxvh1bNNmXh7OlBL1MpJYY/ydIm3B KEmKjLDvB0pePJkdTw== Message-ID: Date: Fri, 7 Dec 2018 12:06:21 +0200 MIME-Version: 1.0 In-Reply-To: <20181206145547.GA7884@kroah.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Greg and Evan, On 12/6/18 16:55, 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. > Yes, it's coming. I will also include an additional fixup patch, as the sdm845 provider driver will fail to build in linux-next, due to a recent change in the cmd_db API. Thanks, Georgi