From patchwork Thu Mar 16 14:51:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 664074 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BCFBDC6FD19 for ; Thu, 16 Mar 2023 14:51:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230477AbjCPOvp (ORCPT ); Thu, 16 Mar 2023 10:51:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230280AbjCPOvo (ORCPT ); Thu, 16 Mar 2023 10:51:44 -0400 Received: from mail-qv1-xf33.google.com (mail-qv1-xf33.google.com [IPv6:2607:f8b0:4864:20::f33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 796CBA6771 for ; Thu, 16 Mar 2023 07:51:41 -0700 (PDT) Received: by mail-qv1-xf33.google.com with SMTP id qh28so1375467qvb.7 for ; Thu, 16 Mar 2023 07:51:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678978300; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=+c2VODMXDsgjnzYN1wpqme6CSn52whg1aII3mJI+P74=; b=I4nUZqrR9ZqTfpN6PC8CIUZdwxUE2nfnKe9cX3azTTY3agoJVtApZ3psCIw3R9BhvP 7JS9NdPGgMHgot/oTDpHpzDV1Qca3Wxof4Z9QMdW7LzQJGbkftmn6zc4wTKHdGmaYV7I /fMh0lD1PD+0OSq8HExJ4f3sFfenKu4GmcO44ZtthbSUsQCT63eAFhISu6NkKdmS+Ofs 3AH6nHzW13FhriDfKb56Wih/0eKmp93hieXsLwZu1Y3wDY2t/D8N3nm3lT0CymWDw2Kh ujTsYt0DmrZqayqAKa4icGm5ksfZO7u0moRa7uKCpkvZXuDUAsXn4zHm8R4JL5o3kEh6 H53g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678978300; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+c2VODMXDsgjnzYN1wpqme6CSn52whg1aII3mJI+P74=; b=IQsAt1T5ZodTNvwuY1sGLyNDQwwL4Oxb/7jXk2e/ebmaimt+KoiTXd2H+7ZEi7I3pm XpRnDfKJX2BrZnylsJgqV7PolnvIAJihz348uDOswfJjPE9R8Hr6Zf+67Gw3jJIRx6VK sOqcziY8KnDaueq7CqZo1IgfTx0uGGhxkU1WAq7GIB+SKZRFCnOCDLjihPEUTvGLzcxf rw/9Xy3njhKNoGQ55tQ6zpcPPPfwP+Sl936NWWqIsP81S0/DXwlrcAOtBOcDFGzknL4V cUavZH8I3gJRHAlf1PcYr+r2gSXsy8AgYehCDYvm/2yYSxjFTLbr1cSuBWlXcgFRALYQ R1Dw== X-Gm-Message-State: AO0yUKUIQGoBdkDvBe/j2+/TvI3ETlshNl/0+BYMgyI4pa0hBbnswXJx mRCPlttuUSYDoBurvH89zHFBfA== X-Google-Smtp-Source: AK7set/spgJw1VRJnEotZNs7Ru/q+XbHnKrcPIJeLvgqAtonPtHvPALlEki5QRjkHfTmVDdnHd7YgQ== X-Received: by 2002:a05:6214:4115:b0:5aa:6130:7c63 with SMTP id kc21-20020a056214411500b005aa61307c63mr20027187qvb.46.1678978300471; Thu, 16 Mar 2023 07:51:40 -0700 (PDT) Received: from localhost.localdomain ([98.61.227.136]) by smtp.gmail.com with ESMTPSA id n129-20020a37bd87000000b007456b2759efsm2844070qkf.28.2023.03.16.07.51.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Mar 2023 07:51:39 -0700 (PDT) From: Alex Elder To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: caleb.connolly@linaro.org, mka@chromium.org, evgreen@chromium.org, andersson@kernel.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 v3 0/4] net: ipa: minor bug fixes Date: Thu, 16 Mar 2023 09:51:32 -0500 Message-Id: <20230316145136.1795469-1-elder@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The four patches in this series fix some errors, though none of them cause any compile or runtime problems. The first changes the files included by "drivers/net/ipa/reg.h" to ensure everything it requires is included with the file. It also stops unnecessarily including another file. The prerequisites are apparently satisfied other ways, currently. The second adds two struct declarations to "gsi_reg.h", to ensure they're declared before they're used later in the file. Again, it seems these declarations are currently resolved wherever this file is included. The third removes register definitions that were added for IPA v5.0 that are not needed. And the last updates some validity checks for IPA v5.0 registers. No IPA v5.0 platforms are yet supported, so the issues resolved here were never harmful. Versions 2 and 3 of this series change the "Fixes" tags in patches so they supply legitimate commit hashes. -Alex Alex Elder (4): net: ipa: reg: include net: ipa: add two missing declarations net: ipa: kill FILT_ROUT_CACHE_CFG IPA register net: ipa: fix some register validity checks drivers/net/ipa/gsi_reg.c | 9 ++++++++- drivers/net/ipa/gsi_reg.h | 4 ++++ drivers/net/ipa/ipa_reg.c | 28 ++++++++++++++++++---------- drivers/net/ipa/ipa_reg.h | 21 ++++++--------------- drivers/net/ipa/reg.h | 3 ++- 5 files changed, 38 insertions(+), 27 deletions(-)