Received: by 10.223.164.221 with SMTP id h29csp5172029wrb; Fri, 20 Oct 2017 07:45:01 -0700 (PDT) X-Received: by 10.99.121.130 with SMTP id u124mr4793544pgc.124.1508510701073; Fri, 20 Oct 2017 07:45:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508510701; cv=none; d=google.com; s=arc-20160816; b=QdvJPB5Yr/gZB3d8T9LTR7uNjcVUsfan3pPOVgGaMufuw5vIAWqXazXg36ziTpQlCU tv7cA7yW06XobJc12WvN/RxHa9bATrrymSpW+Nt379p9yfb/6AADzqE8wiIjKmztIObF abIniuV6moFLm430H2RWXrI7rvoUoemDDvXmDQgyA5T8l77rp/Zyjbuvxyy+M/7tK6q0 +1tP24ouEjv+DvKAw1x6yIly54m1MqI1pbHNkiWGKlHQ346wtl5/MoHR/xaWKaYTIjta n8KmPtQ7sjewuv7J85f2XnflUPtj3CfpHqyWE2PDoUe/ZNZGXxa045oWguFUT8hVGi49 y9+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=F8y2J28gao+0HWRjk+Mt+iWiFe1cH2tgrlSm2355ZZM=; b=euugqtefSrUQL8Qtzvi5G3LasY6JhFaHrn8NOq+WjZBzFYZ1a1QVg2gM5eDM/sTYnu Gu19p12MyXrR3TsMXfTfnLbPWIP4zcum+iAOjQRzaRoBl7HzvmyHfXRHWpKuhhj9WOu0 koDOTAxuOr5UzyVr+sQ7gm03jhZqPi1PoFbbBUvNRsyV1jIBothDSdRdJ3JZswHPWl5+ LxaZac7Jifckls4uIjRjPAL6wRb54n7rc189AD6PReA0bD0DD+wrLJyYq+2tiYbSkl5r aWeBpL5+Mtrk4niXhTDeyQPlPhAii/RUjUpztg3mz1iXFjw7nYF6KxA5hwkzRzb+EuNw LhqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=G5qXf/fz; 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 m193si878821pfc.125.2017.10.20.07.44.46; Fri, 20 Oct 2017 07:45:01 -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=G5qXf/fz; 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 S1752633AbdJTOnI (ORCPT + 99 others); Fri, 20 Oct 2017 10:43:08 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:48335 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752467AbdJTOnF (ORCPT ); Fri, 20 Oct 2017 10:43:05 -0400 Received: by mail-wm0-f66.google.com with SMTP id p75so3287204wmg.3 for ; Fri, 20 Oct 2017 07:43:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=F8y2J28gao+0HWRjk+Mt+iWiFe1cH2tgrlSm2355ZZM=; b=G5qXf/fzZ0IsjhWgORvEawbRYWkqSd8JkESBTNlH57c4yc6MLfGcESPhHCrSZ9Mw3S ZOLrQbD4SCUPctM1ns+a5S+xRiW2lGtmItsDEr/k0XcDJG/YJqA9+9RDyLoiEx7aL1Vq 6Pz/kTFc2nw5JZxvnVFSkR4p3ywEC+aioffWw= 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:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=F8y2J28gao+0HWRjk+Mt+iWiFe1cH2tgrlSm2355ZZM=; b=azARu+tYGkwrXYYay79fRJPfp/4pp7hH78egv+mv0xYeuiLQ5IznUZYJOtGB5GIxDC wVjCtzAcUE5yr7QOLmcJVEin8fWrNvwCU20XEvoY5sugFIWS1/Bdl2Tf4OnLQ+PyoRQi nQ+mh0iH9CKqhqurakFaBLUr3+v4wPcTafsiyS68UbTrrA3bTOoVVWAfB9vqmGfucZie 80/BKMEJRTJXrIX/nr8PZF9bRx81KBx5m3fhBv99cz3KoojZYTRk/moE2sC9/DXAGK8v sePhknWjdxty8IHZ6+cOnAVOTCpfBG7ldLEb2lbETccQThg/NGu1LZW2F3W7qJvD5CUm qqTQ== X-Gm-Message-State: AMCzsaXXrBPish/cm3Mdep5QvISPCcYRQMn7wZsphazK/2lYoJhS55ER dRVG2ehaOHRYdo/SmHQu0GnFIw== X-Google-Smtp-Source: ABhQp+THl5NrihL0/9TZO2SDJ9vkLOiwwIuGSLfut9sSB4yN39IW/fGu+OuvECqDWMwGb49N/6cqZQ== X-Received: by 10.80.168.129 with SMTP id k1mr6795322edc.109.1508510583558; Fri, 20 Oct 2017 07:43:03 -0700 (PDT) Received: from [10.44.66.8] ([212.45.67.2]) by smtp.googlemail.com with ESMTPSA id b9sm1450850edc.81.2017.10.20.07.43.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Oct 2017 07:43:02 -0700 (PDT) Subject: Re: [PATCH v3 1/3] interconnect: Add generic on-chip interconnect API To: linux-pm@vger.kernel.org, gregkh@linuxfoundation.org Cc: 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 References: <20170908171830.13813-1-georgi.djakov@linaro.org> <20170908171830.13813-2-georgi.djakov@linaro.org> From: Georgi Djakov Message-ID: Date: Fri, 20 Oct 2017 17:43:02 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20170908171830.13813-2-georgi.djakov@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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? I am planning to change the prefix that is used for naming for example the functions from "interconnect_" to something shorter like icbus_. Thanks, Georgi From 1577992804531504815@xxx Fri Sep 08 17:20:09 +0000 2017 X-GM-THRID: 1577992804531504815 X-Gmail-Labels: Inbox,Category Forums