Received: by 10.223.164.221 with SMTP id h29csp1926836wrb; Sun, 22 Oct 2017 20:00:14 -0700 (PDT) X-Received: by 10.159.216.131 with SMTP id s3mr9132224plp.432.1508727614849; Sun, 22 Oct 2017 20:00:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508727614; cv=none; d=google.com; s=arc-20160816; b=r/TpHCXvRaTAlkUcy7Oqqzg9Luf/GQOgTciqlDLmaa7o0xB0o7HqtEG3lQkAnsipB/ FsfGUl2Ys6NbRvBYkIUBk6aeIV6cqzVt/zGDAmxbGSY1OEEScSZUAOn87FN1/q0G2r7T Ns4RY7RDC0PNB1r7soyCKZMkFDLvlvhdLq2iysnDjGXaIYehj/I+6M+p2PrFhuI1023x /T3vaIVN2tgRog6cJTNB8ETHY1M1rsykldixBkdFRlpCfRza/X7KFTDr3ttH956/V6qv V8i71PbtX8AIr4fzpRANWHwyHZkidCGglsFz50X56uPQYIduqznMLwZTPz7OIjT39Qr4 kLkg== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=ccLxztHW1cxESx4DRB8GcUqss5py9n44R5snnOvAW+E=; b=IrshqKTM6ySqdQ0Ek0Hr61FZ+D6oRTn7f9rAuQo8qcvKa99vCXh3YmLU1VTUOJF9KJ MzOjr2tqlsE5uICKUblb+bonzIgR0i1t3pWtrqe8KsaPVXyZen0p0lQ37GcrzV3PeIFO CJXhtRixVB+8/8VVeHA7mbKGOiaQNcLwgkisskKLGsDqIlKawqzRO/G7lrliS+fiB5Jo wLwa+rvF/q6ZAEXmsMIH6QhOV7giLSQ/hlr8zvFQBAVadB26TPwcLgpbh/nlkU2qdth3 DbKxFdnKPb9ajNJw0FQg2z/r+rUmmK5wTKhKUW/KLALnHB1jlhnncZEhdqzKhZLEvWT/ EiEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=CPvsb8sf; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a23si4629866pfg.402.2017.10.22.20.00.01; Sun, 22 Oct 2017 20:00:14 -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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=CPvsb8sf; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751524AbdJWC7D (ORCPT + 99 others); Sun, 22 Oct 2017 22:59:03 -0400 Received: from mail-oi0-f67.google.com ([209.85.218.67]:45980 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751200AbdJWC7B (ORCPT ); Sun, 22 Oct 2017 22:59:01 -0400 Received: by mail-oi0-f67.google.com with SMTP id f66so28526700oib.2 for ; Sun, 22 Oct 2017 19:59:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ccLxztHW1cxESx4DRB8GcUqss5py9n44R5snnOvAW+E=; b=CPvsb8sfdrCTco2Bqp8dS5NqhRXwRQf+NIGvPL3Vd0XWulxIxORzEHsfSJntdX9sXJ L1Ii1rHPlYM86seuKqRiqdHC4ZfYJH9wkZgaJK8OqhxFZ3i6AzrKlqPJ8bezYcXGFZ3n JCRnIbnKozbLvVAFIDbBlcoFXEinJB0Psu5xd7unAfyeJMKy9JLvuaMlB4cLc+E2nXjC Wft5FFl/psIH9BC/LujLP41l6woDuaYiGPAiyMKQwed5tdBbeticEldjv/+mqWdVdBIm nvg9JCL/3NWFUC6qjcQiVqDGYs9Mu9a66yVa85Rgd12ewFr/y3KVQTPKjrx5gSWiuCnN nB9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ccLxztHW1cxESx4DRB8GcUqss5py9n44R5snnOvAW+E=; b=JcMlNR/3wYzotCJMKuCIb1nnMAQLjWN2G7TjUnDNMSyKXaTOPpNRHQgk3x/+8IAfUv LToerNyI9Txkc5l4LNIUsGoG4KyyPmDwEjBwMtNUA6PhTpg8FAUAJIUKz43ZnWS7sY+G l/YN8bwGCuFtKcvS06XCLdRjM2WHY4ym+yZmj9jaj9SSejkUU81hvGRR0HONG0i8NxJG d7VZDgvMIMtIpPjyqbOsSe4iRSLR018i0xHNSkY5Ay8ZtBMXmjnhXUex2jyM7+FPwn9z 3G6QE2OUlon++KQ6xcBvszLEfxfmmq1HxZf2yKQZmCMpWXuD9ZmHyizQ0chCQ5HFM2Hu HPZg== X-Gm-Message-State: AMCzsaWdcNOMQWRMMoXlZOUQhCR8u51G53UcabTMQ5ijwWQ5dSMG2OCl VBBfW2UGKSoLJC34VgQEYP6uT8M6ADKJZQjNh9sJOQ== X-Google-Smtp-Source: ABhQp+TJjg3+U1USvSvvt+baJbpTQHwlh8ZineSK5hzKZwgi9ZAqMrucnknBLCdvdBxVEtj1p+SXC0fVPdlOPh9Z2PA= X-Received: by 10.157.54.203 with SMTP id s11mr6839765otd.13.1508727540669; Sun, 22 Oct 2017 19:59:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.74.100 with HTTP; Sun, 22 Oct 2017 19:58:30 -0700 (PDT) In-Reply-To: <20171020223452.GD1165@minitux> References: <20170908171830.13813-1-georgi.djakov@linaro.org> <20170908171830.13813-2-georgi.djakov@linaro.org> <20171020223452.GD1165@minitux> From: Michael Turquette Date: Sun, 22 Oct 2017 19:58:30 -0700 Message-ID: Subject: Re: [PATCH v3 1/3] interconnect: Add generic on-chip interconnect API To: Bjorn Andersson Cc: Georgi Djakov , Linux PM list , Greg Kroah-Hartman , "Rafael J. Wysocki" , Rob Herring , Kevin Hilman , Vincent Guittot , Saravana Kannan , Stephen Boyd , Andy Gross , "Sweeney, Sean" , "Dai, David" , Linux Kernel Mailing List , "Stephen Boyd , Emilio Lopez , Hans de Goede , linux-clk , linux-arm-kernel" , linux-arm-msm@vger.kernel.org, Mark Rutland , lorenzo.pieralisi@arm.com 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 Hi all, On Fri, Oct 20, 2017 at 3:34 PM, Bjorn Andersson wrote: > 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. Same. > >> 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) Not trying to bikeshed too much, but how about icc_ for "interconnect controller"? No idea if that is a hash collision with other in-kernel apis. Just "ic_" looks to me like "integrated circuit". Regards, Mike > > Regards, > Bjorn From 1581817724813336535@xxx Fri Oct 20 22:35:37 +0000 2017 X-GM-THRID: 1577992804531504815 X-Gmail-Labels: Inbox,Category Forums