Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp4660046rwb; Tue, 6 Sep 2022 10:32:39 -0700 (PDT) X-Google-Smtp-Source: AA6agR5QvuWBW2yBP9ZrfZgeEm5ko21Qp2L/doeq25H5o9x+tgyPnQaEZ3bTAalqXFIyD84VyCkt X-Received: by 2002:a17:907:760b:b0:73d:b5bc:feb6 with SMTP id jx11-20020a170907760b00b0073db5bcfeb6mr40275514ejc.407.1662485559365; Tue, 06 Sep 2022 10:32:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662485559; cv=none; d=google.com; s=arc-20160816; b=GNPrO3gWJcb608ntXP0OQU/hNEpzBdAJDAOk3PWwyoFYW6M22CYJzrTkOpNqGcFXQC dN8dhDlsybOmRWgSosK9EhBRz3wjrAy78c9Ae6SaqN0qUGJiIWy0QC7F9HDw+O/6r/dD SAxv6XU+c8yUU0vOvEWJdcpMDePKDu590qVPwqLX15yALPt+jUwT4ZI/3IhykO9MJWA8 BI8TWhurcqAHbFD1J6v0wUxz3J1qUG1W55zcXArl8xu5GwTqDy+c9RqlpwxUx2zFRpl/ 9BOt1lEg6bVE9jRjWTu5HmcE8mOtYORBJ/kEByYpjy1PEtyQjnhcClApWc6ngVWW+JxT 027A== 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=gzyOHmyEwcUpmMysME9KHn4+PV23NPixwgHPKgsB/oY=; b=wMUpJtXUGDcP44nXFUEH2fG71tM6scilBBwm3QU7YCf0PGTAiqRGECszFJY6A3ISzT bzLSqGMJ6MTmfpISSGsQyIlKYM2bN/+GGBrvfr/dWTtNBlz5BlD6zzoUWe96eo84kxrT zZhizhu1sw38ZsYbqZid983dgZdVl+x8bfwBQu1ovFXCwQ4ElkD9ScBn331HILLbFavK jMYj7RGAf6CJTgpuJpoP6jT+RrhPfseZjoRzr+c63orzj2pVWFbq6Y5fb1544TJl6t4k Vh+94fRL+EcALR1UjPkH+OxNU+vAMH3IeRvQGGaIdnsSNZi9X6+LSbdy5dFHJq/9uhLp CVDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MvxONyw1; 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 f20-20020a056402069400b0044e6a957758si5261084edy.607.2022.09.06.10.32.13; Tue, 06 Sep 2022 10:32:39 -0700 (PDT) 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=MvxONyw1; 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 S233397AbiIFR2j (ORCPT + 99 others); Tue, 6 Sep 2022 13:28:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37998 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234629AbiIFR2D (ORCPT ); Tue, 6 Sep 2022 13:28:03 -0400 Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D6F31F2D2 for ; Tue, 6 Sep 2022 10:19:47 -0700 (PDT) Received: by mail-io1-xd35.google.com with SMTP id q81so9460957iod.9 for ; Tue, 06 Sep 2022 10:19:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=gzyOHmyEwcUpmMysME9KHn4+PV23NPixwgHPKgsB/oY=; b=MvxONyw1ebqpEt5Lt7LRNWus5vuNJaskfmaB4vSkZDiH39G6HCVF5FWsakBlve0GG+ 7pGoFFqC4A4NT2wFdXyPIcDcsj3y1iyE+fpsytjN6fJRq01mA5uWPTUXqZTGvIvAW4NH Z/rKAoL9pd+0LfqZdeBKfJpzkODdCCBphFy2x7bX98L6cT/iJ+GchW8Qwke2cGOe0Q2p jfJEnZcrTIUTUPFZ/2xFcunIxnsmJyGIbHRhoBLDPU7Gu2oaohJaxV7fB8PtWoSGgtEI rR42PeGW+4pSqnNLxCPaz8Aybcqcb1D45SPHT1evh49FVAkNziqESlFQ3Gcu3QcYE7js PHSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=gzyOHmyEwcUpmMysME9KHn4+PV23NPixwgHPKgsB/oY=; b=zx7z7nzYROw/hR4zCQLworEcYhp5BqJga52OjLuxa5XLcXtHyTzrcWTWzu95lirQ+t XlVzWkXLnZlK2kPiqsfjS6BGTVlNgUnqpm/2ji07ESTrhRWSd6Qd57dNMOXEJIpq7c+k cmS2/C6kO9B/gZCDEtnzBCRew7h04xMOa0j0TfZjk3QZ0Qkn3fGJkUbtwGblrbQHGE8Y SHVlR5COywYDI7T7MT1uvRrDSS2i+8NPD0EuRFkLDfv2jDmXAZlk/VxLOKv3yw9s2WsA Gtt8PmA4K+aZHRTbfcRnHKSS4BsN+SjFPrhj9aGTp4AxB6EqgKlz1op5RiQksxRc0lVv pV8g== X-Gm-Message-State: ACgBeo2nF/neQ/FzY0C9ZxWEx6O43hIHvb84Z9SpL3ZjAGMSYHBKw1i5 4yzeBvPS0OjQ25rTSIhe6K9wkw== X-Received: by 2002:a6b:7d05:0:b0:68b:7243:63ff with SMTP id c5-20020a6b7d05000000b0068b724363ffmr19789524ioq.191.1662484785991; Tue, 06 Sep 2022 10:19:45 -0700 (PDT) Received: from presto.localdomain ([98.61.227.136]) by smtp.gmail.com with ESMTPSA id q10-20020a056e020c2a00b002eb3f5fc4easm5292204ilg.27.2022.09.06.10.19.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Sep 2022 10:19:45 -0700 (PDT) From: Alex Elder To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: mka@chromium.org, evgreen@chromium.org, bjorn.andersson@linaro.org, quic_cpratapa@quicinc.com, quic_avuyyuru@quicinc.com, quic_jponduru@quicinc.com, quic_subashab@quicinc.com, elder@kernel.org, netdev@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next 0/6] net: ipa: don't use lists for transaction state Date: Tue, 6 Sep 2022 12:19:37 -0500 Message-Id: <20220906171942.957704-1-elder@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 This is the last series of patches to convert the IPA code so integer IDs are used rather than lists to track the state of transactions. A first series of patches added ID fields to track the state of transactions: https://lore.kernel.org/netdev/20220831224017.377745-1-elder@linaro.org The second series started transitioning code to use these IDs rather than lists to manage state: https://lore.kernel.org/netdev/20220902210218.745873-1-elder@linaro.org This final series finishes the transition, to always use IDs instead of the lists to manage transaction state. As a result, the list fields, links, and a spinlock to protect updates are no longer needed, so they are removed. This permits a few other improvements to be implemented. -Alex Alex Elder (5): net: ipa: always use transaction IDs instead of lists net: ipa: kill the allocated transaction list net: ipa: kill all other transaction lists net: ipa: update channel in gsi_channel_trans_complete() net: ipa: don't have gsi_channel_update() return a value drivers/net/ipa/gsi.c | 11 +-- drivers/net/ipa/gsi.h | 7 -- drivers/net/ipa/gsi_private.h | 22 ++---- drivers/net/ipa/gsi_trans.c | 136 ++++++---------------------------- drivers/net/ipa/gsi_trans.h | 3 - 5 files changed, 35 insertions(+), 144 deletions(-) -- 2.34.1