Received: by 10.223.164.221 with SMTP id h29csp9637wrb; Fri, 20 Oct 2017 15:35:37 -0700 (PDT) X-Received: by 10.98.14.195 with SMTP id 64mr6231549pfo.197.1508538937785; Fri, 20 Oct 2017 15:35:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508538937; cv=none; d=google.com; s=arc-20160816; b=YnshznEfEjh79WwrVAwmS8Ylti8KMmd6kwF0Psthdxbnpuo5jI7CbxJGo7KFD/wTwx /FsPIfPwSHuhdLyvu0sGJCHBgvzbSwCmFgki9sx1GmdTW13sPFJEJJZi/tBUmR6R88WY E2ZtocA4KBAC4luYYtT2OPMq7AS9cGAHX51nm3XMxhGNqdEj/USdpEHz8svNJJbHd3tP kKUkuAFBAvOxpSz+8atRFiTf7WtDUAuiFDoTnuPM+YIbAzX6Npt/Tun7z2SRwZkXKNlH Uu6fYOKFcRs2grEAYHFG7crb9qqpZGaGCsOKvW9Mc5KcmC0m4/vYC6fyh0z3N0EInmfM b/sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=MHrZLBIqtW0FrW6bAg7qgBF9xMVB4kvOjPN6GiGdmac=; b=v8pQMfVOrgx0YDtt2sKKZlQi21nQzkTppv5vKkR+fAO3yvkL5cRBsMQGB6Pz0yeU4V QnboUp2cEPoIXLEscFBSLqN8IEkTYpgOilUeQsTHnPgMnJnTjVVeP9LpEVBpn8yto0ga Ul0GjnZJEUtnnLRMIpd6nW9sCVr8fLh2HfJnsnD4cXZcI7KXHUk6yrfesul/c9ZGHxmv WWs2E8awo2GmsG5FkFLeMb86YZkLnJJl7YDQihdwwAlEUBAsVQGd7vLbg4StrtK9VuUM ajthpm8VHPcW+c5jDDO5rS0POdZbgvkYERXDpvVtCUnIEFhKSyzh7HkbYNxVvl4Dxzi+ gdnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dwHa11cs; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e8si1261381pgt.670.2017.10.20.15.35.23; Fri, 20 Oct 2017 15:35:37 -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=@linaro.org header.s=google header.b=dwHa11cs; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752910AbdJTWfA (ORCPT + 99 others); Fri, 20 Oct 2017 18:35:00 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:56178 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752227AbdJTWe5 (ORCPT ); Fri, 20 Oct 2017 18:34:57 -0400 Received: by mail-pf0-f194.google.com with SMTP id 17so12946784pfn.12 for ; Fri, 20 Oct 2017 15:34:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=MHrZLBIqtW0FrW6bAg7qgBF9xMVB4kvOjPN6GiGdmac=; b=dwHa11csDa4kpVDaUlPsqLLDwSFM++D3PItm2dF9FI+lf7L56ViPkzpmHl5egqdXit 2I37GqIA+BGLh50cGZNY5WvC6xQESvU/jaRSnBqLrCIOnLquqXpSIw6DXj1G+CkUkKRI NmNpIyulzqpI49n0Zz4uoQk9BzfoI9H6lVKAk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=MHrZLBIqtW0FrW6bAg7qgBF9xMVB4kvOjPN6GiGdmac=; b=EyEPlOf97oLZpbwnLLLvu6XM1CV9ffK2XSMc9Cm/vcd7WkaeT02TZkAYnDJS9uEeOV QkcS6O+2MIU3OVONN73UOuKtbnQqkb2tEcSX9Y7ie6bmboukdWod4GF/PS2KBJpUYU38 ErUTRoHJivRYZrm+bm4NNkz7Up1kz82BDTuztIH6MdqiTMLpBQKjB6yYF7T8h50Q6yWN 7nIKSLrUyq1cp0r+wZ8G55FPNDW4uif7mfUYmYFDgKK/kHmUk29kTkEqtdOhkDGU4G7n 10XQd1GXJJuec323Qefs24TIvj1/MllWg45XzM+yVSEQ9aoF9qRH6AGIRTOsyh59gU4l wBzw== X-Gm-Message-State: AMCzsaUrm0dMp5Kgwylkj5eVyLhDmsgiNnnsZwqXHBXmBQjIQ2kYzO9u FmAMqGT0M0biYbEhwn1B3UQLlA== X-Google-Smtp-Source: ABhQp+Ro7r/OVerrWEPe15MImq3RQisdVz26Vj4Kk7XJirdDW9aiVEmFba2qZqzAE7EFTmysMN2rhA== X-Received: by 10.84.218.200 with SMTP id g8mr5163693plm.23.1508538896836; Fri, 20 Oct 2017 15:34:56 -0700 (PDT) Received: from minitux (ip68-111-217-79.sd.sd.cox.net. [68.111.217.79]) by smtp.gmail.com with ESMTPSA id j6sm2848582pgn.68.2017.10.20.15.34.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 20 Oct 2017 15:34:56 -0700 (PDT) Date: Fri, 20 Oct 2017 15:34:53 -0700 From: Bjorn Andersson To: Georgi Djakov Cc: linux-pm@vger.kernel.org, gregkh@linuxfoundation.org, rjw@rjwysocki.net, robh+dt@kernel.org, khilman@baylibre.com, mturquette@baylibre.com, vincent.guittot@linaro.org, skannan@codeaurora.org, sboyd@codeaurora.org, andy.gross@linaro.org, seansw@qti.qualcomm.com, davidai@quicinc.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, mark.rutland@arm.com, lorenzo.pieralisi@arm.com Subject: Re: [PATCH v3 1/3] interconnect: Add generic on-chip interconnect API Message-ID: <20171020223452.GD1165@minitux> References: <20170908171830.13813-1-georgi.djakov@linaro.org> <20170908171830.13813-2-georgi.djakov@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri 20 Oct 07:43 PDT 2017, Georgi Djakov wrote: > Hi, > > On 09/08/2017 08:18 PM, Georgi Djakov wrote: > > This patch introduce a new API to get requirements and configure the > > interconnect buses across the entire chipset to fit with the current demand. > > > > The API is using a consumer/provider-based model, where the providers are > > the interconnect buses and the consumers could be various drivers. > > The consumers request interconnect resources (path) between endpoints and > > set the desired constraints on this data flow path. The providers receive > > requests from consumers and aggregate these requests for all master-slave > > pairs on that path. Then the providers configure each participating in the > > topology node according to the requested data flow path, physical links and > > constraints. The topology could be complicated and multi-tiered and is SoC > > specific. > > > > Signed-off-by: Georgi Djakov > > --- > > Documentation/interconnect/interconnect.rst | 93 +++++++ > > drivers/Kconfig | 2 + > > drivers/Makefile | 1 + > > drivers/interconnect/Kconfig | 10 + > > drivers/interconnect/Makefile | 1 + > > drivers/interconnect/interconnect.c | 382 ++++++++++++++++++++++++++++ > > include/linux/interconnect-consumer.h | 73 ++++++ > > include/linux/interconnect-provider.h | 119 +++++++++ > > 8 files changed, 681 insertions(+) > > create mode 100644 Documentation/interconnect/interconnect.rst > > create mode 100644 drivers/interconnect/Kconfig > > create mode 100644 drivers/interconnect/Makefile > > create mode 100644 drivers/interconnect/interconnect.c > > create mode 100644 include/linux/interconnect-consumer.h > > create mode 100644 include/linux/interconnect-provider.h > > Any comments on this patch? > Sorry, I still haven't found the time to do a proper review of this yet. > I am planning to change the prefix that is used for naming for example > the functions from "interconnect_" to something shorter like icbus_. > This isn't implementing a bus; if you feel that just ic_ is too short I would suggest naming things inter_. (But keep the full name in the file names) Regards, Bjorn From 1581788116576914273@xxx Fri Oct 20 14:45:00 +0000 2017 X-GM-THRID: 1577992804531504815 X-Gmail-Labels: Inbox,Category Forums