Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5520152pxb; Mon, 7 Feb 2022 04:03:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJxHt40i+JSphK1ivh5gqJHxSM5rXaAfRffqf00JbFtaGZQVty4NEQ1Gy6OUf1j32h6/+5ED X-Received: by 2002:a63:491d:: with SMTP id w29mr9009977pga.366.1644235413178; Mon, 07 Feb 2022 04:03:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644235413; cv=none; d=google.com; s=arc-20160816; b=xnMpfr+1nEc553Zhh/jNrI/MSG49HP4PS/xW4siqnTJCsvVrrDMMWLEOl3fPHRK/aH uDlCUDc1q+BeWtUz/V+CdNA06v0twbpIvzC9hIinOwdsUMpTmMWwT3iOfFTf3c+/FhJ7 vEM7Zh3NuvBlK9WnUVB3qfQyxdKUd6bJxbJdxvRqD48/wPJp+GjOScge9EDKnTYpvSge Z2EDl2Z4faq1NiJve8xOP3zP3Lyhe8ksi6N/eEuezhFupgkd8E723SnSXPZo74n+Q4xR RP510M5CnDvbqQ3aW5nCYxod3HQv2iZqxX5mRSrJsEFA5T+nqRFjc5dC0a1LP4uLotPn 3pqg== 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=MxtfVI7KgoxN9MF1SpdHVpgmrFjcw8vxtvnlV5FrFuE=; b=QLk7AYGTlzLHJvA6unysVK6cuKM+5lerkLOyeV6FDvLcJbEm7lr22W4Ukpn9NfxuKr 7fLD+9c7qgB2cqrkmzjeIXJp/ueqj6TG4bqoOjbrHPpkhT7Fc6cPMrX5Ecd9T/VIbbd9 xUj+tXl9HHjujxXTznJbR63Pd+Nd0VeIvwmFhfSDF8SzvAIsWxvXldbYGeJakFJ6y0j6 CXlGmvFAPGrUJr3IcyJwauiKytB8ZIY/VtE3oaez8stfUN428YU7Jfqk3mB9XBltE3wQ wPeRMTu+MihjU4eujLIgKrYJYbUBCu57+/0Xp3BYKYckL5GAS7BiloRAeExLod+HFhHm cqDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NiD0q3wT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y18si9722836plh.256.2022.02.07.04.03.16; Mon, 07 Feb 2022 04:03:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NiD0q3wT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S234706AbiBDTuz (ORCPT + 99 others); Fri, 4 Feb 2022 14:50:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231869AbiBDTux (ORCPT ); Fri, 4 Feb 2022 14:50:53 -0500 Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96FDDC061714 for ; Fri, 4 Feb 2022 11:50:49 -0800 (PST) Received: by mail-io1-xd33.google.com with SMTP id d188so8699071iof.7 for ; Fri, 04 Feb 2022 11:50:49 -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=MxtfVI7KgoxN9MF1SpdHVpgmrFjcw8vxtvnlV5FrFuE=; b=NiD0q3wT+xkpMP6TDkOOqpU7H+ZR/irEDLfQ7ixuXR1K/2tAqFaHtFl1UfLN+ii2hl sffwSCM/7LmpxGuH0PuKmzF9fHEajjbGS001rDHCbQpOb2i1ijU6hfoOUqn/uGu+Q8HD mC/ZtXQDrM5c2sK8q5IaLE1Da7NtZRQq0am8fz5aqmx3GztO3YVWHgiBtsPEINnDrB6L NNHrJpX98MWuMU7a5IOkJWvKLQ9wT36Ee8L9/kf2Q8Tf7gmsRdEzelvcctV5OeP1QOwP jh2c0xvTgipGj5n7XKDwJaKkag0ngVn5BsHmz3sU7dK98U4zfJOlzjMWpQTgl0fL/pD4 QssA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=MxtfVI7KgoxN9MF1SpdHVpgmrFjcw8vxtvnlV5FrFuE=; b=OVYYi7U/4ZtQHKJNK6mRZFroF+jJi+wyT3rUTwXVc3mMI6c1H6UNY1ddUpV2zIbdtS pgcgfnnAoDjZb3eKLTboRTYQ2fJ64UwtSnWKhrRkiXjI9IMebVfoqgZWU8jyjH8l7L1F pfhjPOc0SMOlwVWM3aQ5ETxnc8xlGPi1r1+P9eMkMc3S33ZCtx5KqXnXmJ97fkhPr1I7 fEtTas12ye81phcJVx4ej1xAkVtU1vHH8qE0StPsxJaXfoWzdi+qCj7tcasNIicj2sOZ Fx4GYzR1+rwcJJ28J6Ivkd5wV3z4Pp8Tv/0ihNSAX1ae3FaT8nlUMs0EmK/rk76catW1 gUaQ== X-Gm-Message-State: AOAM531cLY5MTwzFhOyT0Pv+4OHqH6Nef6fPSMz8QsYypWZGIHGEDP5s pCiAFWiWn3PPO+izM3d4QukHMg== X-Received: by 2002:a05:6638:1501:: with SMTP id b1mr338974jat.251.1644004249035; Fri, 04 Feb 2022 11:50:49 -0800 (PST) Received: from localhost.localdomain (c-73-185-129-58.hsd1.mn.comcast.net. [73.185.129.58]) by smtp.gmail.com with ESMTPSA id k13sm1417564ili.22.2022.02.04.11.50.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Feb 2022 11:50:48 -0800 (PST) From: Alex Elder To: davem@davemloft.net, kuba@kernel.org Cc: djakov@kernel.org, bjorn.andersson@linaro.org, mka@chromium.org, evgreen@chromium.org, cpratapa@codeaurora.org, avuyyuru@codeaurora.org, jponduru@codeaurora.org, subashab@codeaurora.org, elder@kernel.org, netdev@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next 0/7] net: ipa: use bulk interconnect interfaces Date: Fri, 4 Feb 2022 13:50:37 -0600 Message-Id: <20220204195044.1082026-1-elder@linaro.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The IPA code currently enables and disables interconnects by setting the bandwidth of each to a non-zero value, or to zero. The interconnect API now supports enable/disable functions, so we can use those instead. In addition, the interconnect API provides bulk interfaces that allow all interconnects to be operated on at once. This series converts the IPA driver to use the bulk enable and disable interfaces. In the process it uses some existing data structures rather than defining new ones. -Alex Alex Elder (7): net: ipa: kill struct ipa_interconnect net: ipa: use icc_enable() and icc_disable() net: ipa: use interconnect bulk enable/disable operations net: ipa: use bulk operations to set up interconnects net: ipa: use bulk interconnect initialization net: ipa: embed interconnect array in the power structure net: ipa: use IPA power device pointer drivers/net/ipa/ipa_power.c | 178 +++++++++--------------------------- 1 file changed, 42 insertions(+), 136 deletions(-) -- 2.32.0