From patchwork Fri Jan 15 12:50:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 363593 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp264751jap; Fri, 15 Jan 2021 04:52:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJx+tNpdKN22fPYFYdmU58pu0gsSIRIfyODr0fQkh3fRBMLBOQFkP4HBHe17JtZy8jgKqdxZ X-Received: by 2002:a17:906:5e45:: with SMTP id b5mr5588476eju.69.1610715171966; Fri, 15 Jan 2021 04:52:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610715171; cv=none; d=google.com; s=arc-20160816; b=wUs7cITM+gOguu7GSo06V9VhSAm1iy2guKT66iKUI37aIJtv3Gy+K0mocWhLajrIWl J1chnjYTjPtbaBsRNikYF707WjCTzy7rfJ67eaTblggxBX7Cx4EG32gh4wY4H/cRj8o9 0metxjzhjpJw1N9G8wyO1xsh1mfZkzKthfmM0yjqAXfO9WNG89+KpF9kkVi5OXsecTA1 cp05OIcybHKaC5cnZlx/lqNY+EEeijLRF3YVa2y3b25WeWhHOXd2l/TohPV2EHbE4kV0 ZXkwgrSZ+Ew4VvYKp//Fi2DBxY/CoEGEZsDDcDjEiEC7dZuXCZbhtVmkXDw7Bao7mrBj DQ4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=fDHUO4MEuX+tZMwIcw55R/Dlc8/Cyt45IHiITIJj9Qo=; b=AVsePzBmqIshZbfLIRaKI22ihKFYXqe2SVloRgATYFaKHcsLwSacX3Er1ryrmBsZeo FCO34piPgKNoMWBnex5PN+gN+UhTZFxWVGcl9cd7rblw9xaW9v3CmMxp8M4+BDeyg21X dswbLIVDsCh4Igim6hXf//4ARepb+Lw6AGzVF1bpYrofsVLgC/ZqT3djOsWiRB+34oj8 WDziyyJfdOf/TqVUnoiuTvNq1x0U3QZesQ56aXwb06yS3CaWY0F90joOwM0sU9kKlgIc MegqGNKera8HFopM5CmRPR3HDfb+2ToDJ48AuQ1qKDIgYzKsukTxGQViqiNT1PR7bGzk sRRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EL+jOdl5; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-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. [23.128.96.18]) by mx.google.com with ESMTP id dp16si3572351ejc.564.2021.01.15.04.52.51; Fri, 15 Jan 2021 04:52:51 -0800 (PST) Received-SPF: pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EL+jOdl5; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-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 S2387948AbhAOMvh (ORCPT + 7 others); Fri, 15 Jan 2021 07:51:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387689AbhAOMve (ORCPT ); Fri, 15 Jan 2021 07:51:34 -0500 Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5ADB3C0613C1 for ; Fri, 15 Jan 2021 04:50:54 -0800 (PST) Received: by mail-io1-xd30.google.com with SMTP id w18so17884302iot.0 for ; Fri, 15 Jan 2021 04:50:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=fDHUO4MEuX+tZMwIcw55R/Dlc8/Cyt45IHiITIJj9Qo=; b=EL+jOdl5+XC0YfgY+/uV0wfn2boaD2cdnHfolEevx29xnLOIIBR2IsEQ/D9DeZtHTW SIowklpDYcevXbN9uQga4G1ZajzhtyRrMW1q41S05otkZZZADUKfxqcotw24cf+OBm9T +9plfL0ULuOyZ8LDhqsT6u5Ma1w38A/eI2jif5dLo2fYwW3BbMs71tPN3608qfGuj2jS w9CkwOrHmLZCy7Q/T4u7ojc0zTQY9qdflbHYmECOQwJauul+z4uhZ1XjMzN/9uyLK1t/ CRxwD4Z4LA5ULSlON0fiMI6tQrXx/viNFhFJuJ2bXxY7WGKGnjHo12ObCUNhJG3rBdYA xURQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=fDHUO4MEuX+tZMwIcw55R/Dlc8/Cyt45IHiITIJj9Qo=; b=LAng4aLwPKZGrHL0YJYviGpljkQLyqjQkPxbDXZ86gm+Ybo5vqf6OB7/R0Cw/gZfkE DaXC97y9bOTiBRzUm9baD4xLgB/++a//BHF6vts2MDCk22ioW9u0h+Kt4jlGjcxxTBwm we7SWSB+Qxx45Ig6ic8RhLlL6PiimZ8SuPlHQG+3Bi6zA5WKSfEDB8ACZRg018g9adYz jHSzs/tMIP8c51ThUvpExcZ18EIa63PzwN0c0BUK+h2JZWFnyvqPHZNDx/VDga+mIyfV LRFLUZm2q7pv7U5TPolJ5hqaaZWELdLmRJEaf7QnCLGwFAc7d5oyej2XuLQxJhQ0R3ng RZQQ== X-Gm-Message-State: AOAM532bt37LxVj7PaPmLq6g1rjF9K7bEbWwiHVHlLP9Ha/iuHs3QZ7n YMVwlxrywgK+Ou5E3w9XN4BjGQ== X-Received: by 2002:a05:6638:14d5:: with SMTP id l21mr10154007jak.54.1610715053724; Fri, 15 Jan 2021 04:50:53 -0800 (PST) Received: from beast.localdomain (c-73-185-129-58.hsd1.mn.comcast.net. [73.185.129.58]) by smtp.gmail.com with ESMTPSA id f13sm3952450iog.18.2021.01.15.04.50.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 04:50:53 -0800 (PST) From: Alex Elder To: davem@davemloft.net, kuba@kernel.org Cc: evgreen@chromium.org, bjorn.andersson@linaro.org, cpratapa@codeaurora.org, subashab@codeaurora.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next 0/7] net: ipa: interconnect improvements Date: Fri, 15 Jan 2021 06:50:43 -0600 Message-Id: <20210115125050.20555-1-elder@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org The main outcome of this series is to allow the number of interconnects used by the IPA to differ from the three that are implemented now. With this series in place, any number of interconnects can now be used, all specified in the configuration data for a specific platform. A few minor interconnect-related cleanups are implemented as well. -Alex Alex Elder (7): net: ipa: rename interconnect settings net: ipa: don't return an error from ipa_interconnect_disable() net: ipa: introduce an IPA interconnect structure net: ipa: store average and peak interconnect bandwidth net: ipa: add interconnect name to configuration data net: ipa: clean up interconnect initialization net: ipa: allow arbitrary number of interconnects drivers/net/ipa/ipa_clock.c | 192 ++++++++++++++++-------------- drivers/net/ipa/ipa_data-sc7180.c | 38 +++--- drivers/net/ipa/ipa_data-sdm845.c | 38 +++--- drivers/net/ipa/ipa_data.h | 26 ++-- 4 files changed, 157 insertions(+), 137 deletions(-) -- 2.20.1