Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp278152rwb; Fri, 2 Sep 2022 14:05:19 -0700 (PDT) X-Google-Smtp-Source: AA6agR4tDRBxww+G6EAw/lta7mMD+OSnerNSRzmKI/7tk8ESBbSJS8k3rvtYlryeSey1SZhMNEmA X-Received: by 2002:a17:906:58c9:b0:730:bc01:fd5f with SMTP id e9-20020a17090658c900b00730bc01fd5fmr27785159ejs.504.1662152719550; Fri, 02 Sep 2022 14:05:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662152719; cv=none; d=google.com; s=arc-20160816; b=tBQAk0Ptk0PSf1GcAlziHKgVavQxLdGxhDO8XQnJN18P4RM7U0DzAE48f2h3SoCIYa KtOyIFvbGw1hqxTj3+jjZaINdIlgS+RI82cbe79BUwa30mulG6ez9uB5XWB0RPeLGhWQ 5n8BoCWA2UsyYDzurTLWT+pPUxLeypV9OUGLxZ+p+2TzTAfVitjfcjrCW0I1UHmInidv CEyDrYFSLKwi8a9LoaxiM6gPP5xpk7jSG8mazFpqtilpU406eczEnsD40nbVID6P6h+q A53x/w42OLYarj2zzpLKoN83TTTNlyG99W/uzhF++XN7UiDtX9BWtYZYKUknhIS360yV kSYA== 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=ZPui7nz2t/JidoBEB5DJqHDb5B0r6Z1+2ugl0ACPk+s=; b=R/0IVr8MZDSFn1kyO+lWjNRP/+YpcFcFPvw4dcvhjeMFB2PArXq8hREYUUi3okM1cz y6r2zzWEfdsrcdBRaqLeksVHxi7zxwibjKRcyLJocXyhaIay3SVxj19mMmOAFD4DpoPw Iajaf/O9eclZKK5rgvk6B5LCmZ4swogetZPcCP/gHXWfKkJj7FK7Vws8CboTB1E61rii ENP1nxx14K4ocqfD9VVamT8X7NpoTLzdLFKGlMEeMch7IbF0O62BIafstedFJtn7Q1/O 2JMCoIWPcOy1NrLI/w2YPOdANvstz40cfZBMqs7gy4x5sFNt0Zak6X4TA/oJzVIjC9YM ks9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="WS6+Z/en"; 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 t13-20020a056402524d00b00448ab5d3ba3si2829098edd.1.2022.09.02.14.04.43; Fri, 02 Sep 2022 14:05:19 -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="WS6+Z/en"; 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 S230348AbiIBVC0 (ORCPT + 99 others); Fri, 2 Sep 2022 17:02:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230449AbiIBVCX (ORCPT ); Fri, 2 Sep 2022 17:02:23 -0400 Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFBD4B4E84 for ; Fri, 2 Sep 2022 14:02:22 -0700 (PDT) Received: by mail-io1-xd2c.google.com with SMTP id r141so2659951iod.4 for ; Fri, 02 Sep 2022 14:02:22 -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=ZPui7nz2t/JidoBEB5DJqHDb5B0r6Z1+2ugl0ACPk+s=; b=WS6+Z/enNrHKG2vyzj7Rd6uVC79M2MrNYm1UV5AuT9S9S2WBS516zxqhG2nPuyAdSA 1tvF7rPqGNB0Vwg8HYjzOFSVs1L3C6nDYK6JW1WD5a9YrwFk82qqqDGJaQfCOU0N/D4a ShN/tsSwSiGgagbYX3iz5X+vDtwOvmZO3i4hdlYuvYK4x/s5e4GZWYctkfoAI7enWVN7 AMIpsH2BrAHQgGXeQR0R/SN47XNSE5BT26yiMUj8+CeBVvnLNKqDl/kTWHBv9xjfl1r8 paaYqfWl/XO+qocuQRxsv7Drt+gWkAwpf76bdrzEEzHG6i50DNXayRGuuAYj3p1VnabE MCmA== 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=ZPui7nz2t/JidoBEB5DJqHDb5B0r6Z1+2ugl0ACPk+s=; b=mx461NF5M8LRdWqXrzugfaVUpaMb6zg6XagxB/GjprW05gNuZhYxFhDniLh4P8uk4+ QzU38yYenrLkO1apuEH4yk/jOQLybD3y9CEuOgAlj+SwZRV4YjlG7gnbL7OdqgZQ2Tg+ ASHE+qT2N7GaRDtlbgimH4/RfPebo+STFILMFYMK3/aFyfu04d5abMXLJ/wtUBqWj5cJ odQQgnavfclH1OyOkQ4TEBCKQ6S4Nj/upHELqdcj8e76Ncg1XY76i01irJrFQkeCW+8W tEKiJpWvW6yyFQkrpaiZ1Dt6MXCh7NDcDp2XV4l7ARmPeb4DCtJkTB9wqR+pxPDmtzrd 9wZA== X-Gm-Message-State: ACgBeo0GAcNtz92Au/SOK+97NAJ2LeSG5UN0oA+lRaYuJ6uq839CobHX IhdIgQGfZO1Rt6ogpQpEnkmlLQ== X-Received: by 2002:a05:6638:3047:b0:341:de2b:e489 with SMTP id u7-20020a056638304700b00341de2be489mr20991527jak.273.1662152541983; Fri, 02 Sep 2022 14:02:21 -0700 (PDT) Received: from presto.localdomain ([98.61.227.136]) by smtp.gmail.com with ESMTPSA id i7-20020a0566022c8700b00689e718d971sm1259208iow.51.2022.09.02.14.02.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Sep 2022 14:02:21 -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: start using transaction IDs Date: Fri, 2 Sep 2022 16:02:12 -0500 Message-Id: <20220902210218.745873-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 A previous group of patches added ID fields to track the state of transactions: https://lore.kernel.org/netdev/20220831224017.377745-1-elder@linaro.org This series starts using those IDs instead of the lists used previously. Most of this series involves reworking the function that determines which transaction is the "last", which determines when a channel has been quiesed. The last patch is mainly used to prove that the new index method of tracking transaction state is equivalent to the previous use of lists. -Alex Alex Elder (6): net: ipa: rework last transaction determination net: ipa: use IDs for last allocated transaction net: ipa: use IDs exclusively for last transaction net: ipa: simplify gsi_channel_trans_last() net: ipa: further simplify gsi_channel_trans_last() net: ipa: verify a few more IDs drivers/net/ipa/gsi.c | 53 +++++++++++---------------- drivers/net/ipa/gsi_private.h | 14 ++++++++ drivers/net/ipa/gsi_trans.c | 68 ++++++++++++++++++++++------------- 3 files changed, 78 insertions(+), 57 deletions(-) -- 2.34.1