Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp1675177ioo; Sun, 22 May 2022 23:58:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyF7rEaCXY2AC+snkLwenj1M6N5mG0OZjA5oBmCfhNymTL8QEKw5mU/o2iEaY39dkfqf3Tr X-Received: by 2002:a63:4525:0:b0:3db:8a4d:8a77 with SMTP id s37-20020a634525000000b003db8a4d8a77mr19432496pga.542.1653289137299; Sun, 22 May 2022 23:58:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653289137; cv=none; d=google.com; s=arc-20160816; b=HgrRpNMtaAXuqrmu3GKO0butL3dYdRdgSYMtRjSrrO7bZU0aW8ckbhNJHHH5AHSJ2/ Djkz/2g0YpT5dArR524OL2fva+Y7B2nqEBcxURzrIHMNCxQFLADd3ntFtjC44L2cbMgr jAP7a22xsSh9FGWM3u8leYSxf3v2RTTwICAJRpWQwodxhTvCj9DyexabpIC5g9bHx6pF iPtNRSy1DAEk+isHN5CgO7cGSL+zPNl4FObfB+qm5r7Pg7jz97yJrM/RwV9HzgOvka5O mEoNTIbKPlL+WJyEqrPw1K+uwDwx15/egAU4dKBWYt68l9hQX9IdsqDnAitoF7skQPp0 hwOA== 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=ByK1Pxr8l6D3d0/+gXXWA151WGHTkEu3PWsI8o0VKgA=; b=KpuawIeW13hsMZ9L4OclBK7IxB/JW0KWLls5b4OXJtOmJW+D3b6gPS9wZroqh/pnxZ +sntBYx1wo2UWcVp70cC1CvpzzSFuLNZK1awPJOx2/4LUK0znTI+ddJl5u7FIfBX5lRT L9wSwDw+lThYeOAkknJm1pXJOxD+N4rJygPrvWGesiLgCi6ltANd9sLMFUnvYSEEOJ+n CumFqMgbIsZavDCrIop2hbMwqbncCU98IJD/djossKIA7whCPYglmKu2IpMx1o0JI9h/ wz/ticLlkiG+igNnX0m2Tgo3Aja+fJ0uKFqG0oCJ4hjg3WWznAFOGNQjYrWGk6E25hZc U9Ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ihgnBslO; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id bg9-20020a1709028e8900b0015c16a75912si8320112plb.552.2022.05.22.23.58.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 May 2022 23:58:57 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ihgnBslO; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BA1F55C36C; Sun, 22 May 2022 23:24:03 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347756AbiEVAcb (ORCPT + 99 others); Sat, 21 May 2022 20:32:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231236AbiEVAc2 (ORCPT ); Sat, 21 May 2022 20:32:28 -0400 Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3E4640A24 for ; Sat, 21 May 2022 17:32:27 -0700 (PDT) Received: by mail-io1-xd32.google.com with SMTP id s23so12088897iog.13 for ; Sat, 21 May 2022 17:32:27 -0700 (PDT) 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=ByK1Pxr8l6D3d0/+gXXWA151WGHTkEu3PWsI8o0VKgA=; b=ihgnBslObTa5etz9FgEODeZKM+kAqR7zd+SW+7Ut6+pkdWgRVU7kDWmGvK08b5Tesy rwz940kYMo9zRKhts0kuNelWeAB14chvU5HMnEmFPy4LT9p5ymX3Jh/uOfiq/JbmblY9 XwYsguGWHXMWvHNTSTySDEyL6rdIMh7VS7dnUQblJTzJTB6qH79LXBTS8ZoKC2rHfrml sDUvqexFsWwb7mx01TnUAcWaCG/oKp0wEIq2Y+wioWoCS/Ww2Tnauagu9SOvcQ3Cfh+z 787Mp6H/B/dTtYQ/sMoMgK6uzX/hysuX2ZALxbuNNsz0oPwzHzlSGNc47SbM/SqsBFY9 MCJg== 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=ByK1Pxr8l6D3d0/+gXXWA151WGHTkEu3PWsI8o0VKgA=; b=G4Wfh7YeQpVzzWkNNoxqQ20dlm8hah3tTOiJdLI/1lhZSWUdb4tM4orT298rp4iS9X 3ROXtJSxpbLIEvshTdV2D1sSoX0tsAwNh0mXla2CgnMLkqPPBG59UDgl9+4rAMS0b7qY Nae1zji4BQlU3ewBeZkAKPC4PpS/jbV7jgT6MWN4pSpxNREF8NAM8kZPPVXMzCF8+OXg xvF5uLxdaqBtQobliImMwdhWmiEWE7kFyvPxfseBFY9iQXSstbLN+np7OZmQZ5O2Ucql kudkGk3Z1OhmopFwLTU4CMP4yFvaEuEehdqVXNF2NhteZehyNhhH/VB+gXr/MfS9SWJI puPQ== X-Gm-Message-State: AOAM533oOp9z86s24Ka0cqKogGdb0h/tKLfJRWi9sjHpKwZ1JK7YP1Mz lxD6uQE/o2R5jYB23YS353syjw== X-Received: by 2002:a05:6638:22c1:b0:32b:8e38:bff4 with SMTP id j1-20020a05663822c100b0032b8e38bff4mr8325521jat.151.1653179546920; Sat, 21 May 2022 17:32:26 -0700 (PDT) Received: from presto.localdomain (c-73-185-129-58.hsd1.mn.comcast.net. [73.185.129.58]) by smtp.gmail.com with ESMTPSA id g8-20020a02c548000000b0032b5e78bfcbsm1757115jaj.135.2022.05.21.17.32.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 May 2022 17:32:26 -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 v2 0/9] net: ipa: a few more small items Date: Sat, 21 May 2022 19:32:14 -0500 Message-Id: <20220522003223.1123705-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=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 series consists of three small sets of changes. Version 2 adds a patch that avoids a warning that occurs when handling a modem crash (I unfortunately didn't notice it earlier). All other patches are the same--just rebased. The first three patches allow a few endpoint features to be specified. At this time, currently-defined endpoints retain the same configuration, but when the monitor functionality is added in the next cycle these options will be required. The fourth patch simply removes an unused function, explaining also why it would likely never be used. The fifth patch is new. It counts the number of modem TX endpoints and uses it to determine how many TREs a transaction needs when when handling a modem crash. It is needed to avoid exceeding the limited number of commands imposed by the last four patches. And the last four patches refactor code related to IPA immediate commands, eliminating an unused field and then simplifying and removing some unneeded code. -Alex Alex Elder (9): net: ipa: make endpoint HOLB drop configurable net: ipa: support hard aggregation limits net: ipa: specify RX aggregation time limit in config data net: ipa: kill gsi_trans_commit_wait_timeout() net: ipa: count the number of modem TX endpoints net: ipa: get rid of ipa_cmd_info->direction net: ipa: remove command direction argument net: ipa: remove command info pool net: ipa: use data space for command opcodes drivers/net/ipa/gsi.h | 1 - drivers/net/ipa/gsi_trans.c | 38 ++------- drivers/net/ipa/gsi_trans.h | 24 +++--- drivers/net/ipa/ipa.h | 2 + drivers/net/ipa/ipa_cmd.c | 78 +++++------------- drivers/net/ipa/ipa_cmd.h | 11 --- drivers/net/ipa/ipa_data-v3.1.c | 2 + drivers/net/ipa/ipa_data-v3.5.1.c | 2 + drivers/net/ipa/ipa_data-v4.11.c | 2 + drivers/net/ipa/ipa_data-v4.2.c | 2 + drivers/net/ipa/ipa_data-v4.5.c | 2 + drivers/net/ipa/ipa_data-v4.9.c | 2 + drivers/net/ipa/ipa_endpoint.c | 129 +++++++++++++++++++----------- drivers/net/ipa/ipa_endpoint.h | 23 +++++- 14 files changed, 156 insertions(+), 162 deletions(-) -- 2.32.0