From patchwork Mon Nov 16 23:37:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Elder X-Patchwork-Id: 324522 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp3727116ils; Mon, 16 Nov 2020 15:38:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJwIRvX0EmaVxoc03vMMffvPcc9k0rJaRmDG7O8OwdavBa/qddV8NzU1gDKjiHn6z3DP2g2C X-Received: by 2002:a17:906:2a09:: with SMTP id j9mr16293895eje.355.1605569919021; Mon, 16 Nov 2020 15:38:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605569919; cv=none; d=google.com; s=arc-20160816; b=x+dNCcr9Sxt0LNd6uHbe+HWfm+ijfAgtT9+BX/p6u8oILMsbiqCjH/ft/ZCrtkJzBq 2JGjPuFEL7nU2kExvrZ64sx8k0j8Ku9JKovR6b+QvJ3vu81OaMX8+ppUNd5yK9NqhRFn q8Fe5oil+NdFtPFSijrb/03kB08mXuANpvqZ9/2ghMmEEBp2ETxYEH/2+N4bVa0u80X3 5yrdP98RDh4KvxI4RiET7SpAm1mbYABxLir86NaaHnJZduMOjomEFbtvdFlTE8dC1NPa 8BZwrzRAYgqlQ8hea1+OjO+qpa6cmg/vqLc+PO8odHJnymJpRp6IZt3jc353rmXmeTYZ DQ4A== 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=aQxQuevMo4XJOrxy0MtHEby0bvtPkeA5dCIN/rQ7vi0=; b=jWviKyrwfyASpZFoQXgHXNx5DVwT0tAg5zjLn99sCneza5q3FwoV4PMLhxxvosIxob Zzkb7brK+vQ6Ul/3MviYrTZC7ifPR1VgJrLGgpOjIw2+r2bYILUVRI0Ab5sgyuCJiYAZ vm2MyPKNwip6j5WlXKT9sI59aiVtwRxmReStSnWq5GokJDWbYC11W+PX6bkxURGcUfXQ huXgjNTVEhfi2IOtoKl2oQuoyihzDe7NqjaIc6CPEL5W7M98a0mgzGDUx4dD+t4jIwU8 f5MmXS+IYp3ZH8yKEi+LF5BYC4ShkYlj4qc3GEYH995fxQlv/iMZxRaAdJBnU1zzy3rL 1qoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iqnKIiCC; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ce25si14313542edb.301.2020.11.16.15.38.38; Mon, 16 Nov 2020 15:38:39 -0800 (PST) Received-SPF: pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iqnKIiCC; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-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 S1730819AbgKPXiQ (ORCPT + 8 others); Mon, 16 Nov 2020 18:38:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729107AbgKPXiQ (ORCPT ); Mon, 16 Nov 2020 18:38:16 -0500 Received: from mail-io1-xd42.google.com (mail-io1-xd42.google.com [IPv6:2607:f8b0:4864:20::d42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCEFAC0613CF for ; Mon, 16 Nov 2020 15:38:15 -0800 (PST) Received: by mail-io1-xd42.google.com with SMTP id r9so19254090ioo.7 for ; Mon, 16 Nov 2020 15:38:15 -0800 (PST) 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=aQxQuevMo4XJOrxy0MtHEby0bvtPkeA5dCIN/rQ7vi0=; b=iqnKIiCC8V4ANxUz7Bi0u1CYsqj+RtigJhWNL2dIqOyzHyy2yRLs9O1yitlf1Wa9Vr UjLjyfhk1CJB1yyoiq8ti9Zf33q4pO2DejSTshhwLBmdOQBaCNLG3Eewk5gBZgTcmd3p IOvC2pRgCT7F1HmskAFMZnvrD+ZgwObLYTo7gMK+Rg3GwnGEBwHjCJd1q0vLCixWvFXB 5uCZZNM8H1V3EIYzQL3GLoHj2+zxvdUlZV9jMgUGj0FyhHtznV8fqqiKnuyUBPHZHePr D4RkP7/mgbIwkbtB+gCIeOggIdJ8dy+PT3xmdup0xRrFuXPK3A4QTy+1Zsnh81KcJubU TRTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=aQxQuevMo4XJOrxy0MtHEby0bvtPkeA5dCIN/rQ7vi0=; b=h0GijfjvdVeBqmPUB82MHDKFBxuPa3JbjxKk7C9Jdh+t3YL0C126ZuFOzmOEhgPrIA xeoAPfjkhxDmo1R6tvWbSfz3txlH1KmBo0sHBVJ3ltinEyevSCGyLAXWBzY/miGnPKJ5 h0mvfPOzBbzHH2woi756RbUKilrfrHs+wjX68C/VF5RoEh+ePZuGXXMS1iY5dlELALtL Zj2Opl0J9RuLscNCiUkeRQs97L7WD12gMS14trYXo409zlWLtZ0T30B5og4VHKAvwP0Y XaT5cR8SVWB3vRCiwWbY15hcUEFebQtrZ6honC+RTdB9HQ4uI79VusR2FD3+EjJse0vd cKiw== X-Gm-Message-State: AOAM532UckJwRB3wCSrtVT3GfmWZO/NXVe20jdNZqRcE3jFMpkXqVIyf tW3WgRXeJYq1tk3Iw3i3dZnq7g== X-Received: by 2002:a02:d85:: with SMTP id 127mr1520890jax.13.1605569895232; Mon, 16 Nov 2020 15:38:15 -0800 (PST) Received: from beast.localdomain (c-73-185-129-58.hsd1.mn.comcast.net. [73.185.129.58]) by smtp.gmail.com with ESMTPSA id f18sm10180099ill.22.2020.11.16.15.38.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 15:38:14 -0800 (PST) From: Alex Elder To: davem@davemloft.net, kuba@kernel.org Cc: evgreen@chromium.org, subashab@codeaurora.org, cpratapa@codeaurora.org, bjorn.andersson@linaro.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next 00/11] net: ipa: IPA register cleanup Date: Mon, 16 Nov 2020 17:37:54 -0600 Message-Id: <20201116233805.13775-1-elder@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This series consists of cleanup patches, almost entirely related to the definitions for IPA registers. Some comments are updated or added to provide better information about defined IPA registers. Other cleanups ensure symbol names and their assigned values are defined consistently. Some essentially duplicate definitions get consolidated for simplicity. In a few cases some minor bugs (missing definitions) are fixed. With these changes, all IPA register offsets and associated field masks should be correct for IPA versions 3.5.1, 4.0, 4.1, and 4.2. -Alex Alex Elder (11): net: ipa: share field mask values for IPA hash registers net: ipa: make filter/routing hash enable register variable net: ipa: support more versions for HOLB timer net: ipa: fix two inconsistent IPA register names net: ipa: use _FMASK consistently net: ipa: fix BCR register field definitions net: ipa: define enumerated types consistently net: ipa: fix up IPA register comments net: ipa: rearrange a few IPA register definitions net: ipa: move definition of enum ipa_irq_id net: ipa: a few last IPA register cleanups drivers/net/ipa/gsi.h | 20 +-- drivers/net/ipa/gsi_reg.h | 25 ++- drivers/net/ipa/ipa_cmd.c | 6 +- drivers/net/ipa/ipa_cmd.h | 21 ++- drivers/net/ipa/ipa_endpoint.c | 10 +- drivers/net/ipa/ipa_endpoint.h | 2 +- drivers/net/ipa/ipa_interrupt.c | 6 +- drivers/net/ipa/ipa_interrupt.h | 16 -- drivers/net/ipa/ipa_main.c | 15 +- drivers/net/ipa/ipa_qmi_msg.h | 12 +- drivers/net/ipa/ipa_reg.h | 297 +++++++++++++++++++------------- drivers/net/ipa/ipa_table.c | 4 +- drivers/net/ipa/ipa_uc.c | 43 +++-- 13 files changed, 266 insertions(+), 211 deletions(-) -- 2.20.1