From mboxrd@z Thu Jan 1 00:00:00 1970 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 7B5C6ECAAA1 for ; Sat, 10 Sep 2022 01:11:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230434AbiIJBLk (ORCPT ); Fri, 9 Sep 2022 21:11:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229892AbiIJBLh (ORCPT ); Fri, 9 Sep 2022 21:11:37 -0400 Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA90BFC66D for ; Fri, 9 Sep 2022 18:11:35 -0700 (PDT) Received: by mail-io1-xd2a.google.com with SMTP id 62so2786501iov.5 for ; Fri, 09 Sep 2022 18:11:35 -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=5pILyiPDCM9SKmo7wNT1UylORqh3jGN1ac6dkAugrO8=; b=pFbp7jtM060PZR0aws7LaEpRUbvtKbUMGN9ZBXctH70BqqTpwYA3d2yf+vGRt9blgX C1MLMwV4/QopFHtiKyuBQ2VsRNAMmDj6OOpdQGpsoqnCyYhcOzJe06SO/T8hY9a9Du/o 4QN8+W1G9tM1yktjyV9ngD0OgrPbytZSjHXuaP8uHK4KFNnOSrCvgnab0ckvGVFRssng TRbzEgxtieVGzaVurXNi4McKeyj3OYpVTyvvKG1FhugkAcpFCRk3/iL5yyU6ek2AbjSH Quyzi+rGdeRb026WemeWNC8y9T+X7McFezD1021bzkSqlhA3bvSpyWJZZFuq+w6ZdoY3 u8rA== 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=5pILyiPDCM9SKmo7wNT1UylORqh3jGN1ac6dkAugrO8=; b=CFWQgpGzv13G2j1G8SE5A2nDQj6Ecitc4ZQOFXO9pJRjZc8/i6A5AvYIabUJuFNpDR /3EoIrtA44R3HaoyT6GCyo8QSoYvy3VGrSa5C6Vf+lBrFqhoJXWVNQeqSa5t2ni9o8An rd/ydc3tYUx3Hr2AMAfocX/YbW8EXfgra31cv762BqzERv3BbvL32eLfpA490Hk9KQuw DzMQdfooAPj+K6pjl1PBKbrcgA2swS5sZW1pSZQxsUN4kyxC7QMPW6sE5SKlbmSh2cLM iItuvgxX9hm80cF6SlI6Dy1zKKK7n74FTsHA+QTkz8sQKHb6YjBj3JWoeBLTuDg+06Gv 1Qcw== X-Gm-Message-State: ACgBeo33vjKcaVZ7lvmesUoRacfN9Zf8TFEsukfmevQOxu53m7I3rVu9 6+911+BXiTqKu+o4MMF5HVIV9w== X-Google-Smtp-Source: AA6agR7sbBDlYreETwAl42T9aSWNR3thTX1pQTKuyBL2y8qJ7KU12+v3soK40W12DGpfOLYHIPk3aQ== X-Received: by 2002:a6b:f00a:0:b0:692:386:e12a with SMTP id w10-20020a6bf00a000000b006920386e12amr7689137ioc.112.1662772295027; Fri, 09 Sep 2022 18:11:35 -0700 (PDT) Received: from presto.localdomain ([98.61.227.136]) by smtp.gmail.com with ESMTPSA id u133-20020a02238b000000b00348e1a6491asm733064jau.137.2022.09.09.18.11.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Sep 2022 18:11:34 -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, 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-next 0/6] net: ipa: a mix of cleanups Date: Fri, 9 Sep 2022 20:11:25 -0500 Message-Id: <20220910011131.1431934-1-elder@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series contains a set of cleanups done in preparation for a more substantitive upcoming series that reworks how IPA registers and their fields are defined. The first eliminates about half of the possible GSI register constant symbols by removing offset definitions that are not currently required. The next two mainly rearrange code for some common enumerated types. The next one fixes two spots that reuse local variable names in inner scopes when defining offsets. The next adds some additional restrictions on the value held in a register. And the last one just fixes two field mask symbol names so they adhere to the common naming convention. -Alex Alex Elder (6): net: ipa: don't define unneeded GSI register offsets net: ipa: move the definition of gsi_ee_id net: ipa: move and redefine ipa_version_valid() net: ipa: don't reuse variable names net: ipa: update sequencer definition constraints net: ipa: fix two symbol names drivers/net/ipa/gsi.h | 8 -- drivers/net/ipa/gsi_reg.h | 208 +++++++++------------------------ drivers/net/ipa/ipa_endpoint.c | 44 ++++--- drivers/net/ipa/ipa_main.c | 25 +--- drivers/net/ipa/ipa_reg.h | 5 +- drivers/net/ipa/ipa_version.h | 28 ++++- 6 files changed, 110 insertions(+), 208 deletions(-) -- 2.34.1