Message ID | 20230130210158.4126129-1-elder@linaro.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2395823wrn; Mon, 30 Jan 2023 13:04:48 -0800 (PST) X-Google-Smtp-Source: AMrXdXuinzoq9EE1745hC9xFFc7uBsmG25i0XKjGmiJhD4tiHiNkmbJrJWPHT/ls0/eSRat6MVKD X-Received: by 2002:a17:902:968f:b0:194:79b1:ea27 with SMTP id n15-20020a170902968f00b0019479b1ea27mr46847895plp.50.1675112687720; Mon, 30 Jan 2023 13:04:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675112687; cv=none; d=google.com; s=arc-20160816; b=Kcl22RgKq+sfhrpPs1X/BA7UoOYk0dsxZ4lnQmUoUumGAJSY3FUpm9zFtYTF7DreXi Bv4xAy+tNMm/vAPZ20N4x091N1uL1DD12tEB89JFBq/0/WKx98TNMPAkd7XHrgTjFe4Q sh1f20p/B5b2RYC0s2j03VKDz7EPfBQCG/i4RhHPgiDwXOE2NWDKl3u9ntqTuTlp5hhA bMku03shM5lt9kXZIVb0S9eZXzuyS/aT8N9DrBN/51T3MT6n683y7lpm8GzXyln3b/tG bqbsO/j6Ebr+eGHSIAshkxTX8oKw3U3efRjhpjs/I8ewC/u0E2b3W5cOqXQzCEZDnEnW o0MQ== 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=tqiYGrAmfasm6lQ8vFsVNt3ikeeBgKSbwzGX4HertYY=; b=HG/B22SgLWeOzuTLMSw2lGW2s76peASyAq4EKDUdf0hgKJvYy1K1CY/oYRfdbcXLps B5yR3N3o6/A3sqw9BNkjG0S+Yqf06zzMX9c80O02nImOjCrCyVyZ5+6TCiZtx6xfKHeW jplQxsflhgP+oJYSm9C7gC2GBlcvWM8JAWeWvGBAdFS2lCxzXEr+EQtRvB3MmW8JITIt chPkrIUaN+tQG2W/1zjmXiwPjZUVKzO9hwyPSXC+TrkQvGFdDErpq/TK342IiO3IHQnw 8411e+EaGjDmo3Jae2hd2v65aQRY1p4wI80BpIuiXeLxiZoUHq8Z0yti2+GVNg4ZKTOu TKEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GOVd6u2i; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w5-20020a170902ca0500b0019673232329si5974460pld.616.2023.01.30.13.04.35; Mon, 30 Jan 2023 13:04:47 -0800 (PST) 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=GOVd6u2i; 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 S229692AbjA3VCc (ORCPT <rfc822;maxin.john@gmail.com> + 99 others); Mon, 30 Jan 2023 16:02:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229768AbjA3VCb (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 30 Jan 2023 16:02:31 -0500 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 C2C134614A for <linux-kernel@vger.kernel.org>; Mon, 30 Jan 2023 13:02:27 -0800 (PST) Received: by mail-io1-xd2c.google.com with SMTP id r6so2463472ioj.5 for <linux-kernel@vger.kernel.org>; Mon, 30 Jan 2023 13:02:27 -0800 (PST) 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:message-id:reply-to; bh=tqiYGrAmfasm6lQ8vFsVNt3ikeeBgKSbwzGX4HertYY=; b=GOVd6u2ieN8ZGU8y66kFT6PF7W6+SfL4LTPkS+jmZR4QDvpgdbiLuiJpwS6fY9WTad ldCcWhlgbHnzm/JZEJhXeB5mga8Vi/07XPX4FVSqAoctajjwX7/BLgHM4/jfcuFeiZf7 HrWH0bP4vnnLQmTqE30k40fR6+sdx8JrSPhZQ+zPcXnFaDpAR/JPRk/0RtHtcIMrla74 Nqu011nqmcKmUoaJVlZADdltOp8mGTKqAwzXtkc9zqMwhil3olfyHNhDD979rotGmWCj pJ29pICkOFd/Ll9AlDtCt6dgUwq89L/nr3kKYJvpmVXtsuxv/blcbsa5ur11u3BY0dJg QFyw== 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:message-id :reply-to; bh=tqiYGrAmfasm6lQ8vFsVNt3ikeeBgKSbwzGX4HertYY=; b=AccMKJy5oskUM28rG9Qcyu3lZTBhXvTxvAg+1t9sORxnYg9lKnxM5nrTHEsOcW/w9X W+rwmzMsC6QgAYvECPvjksI8R0GMchA75nu7LRpJzuIeeCOkKN4xgTfV7r75PmkkGCoC byjUjft+YuE4Q8FZ82/XwZTMAJkmQwvZa/7U9lkXtlPc6LUNFQHhpwt5If4l2WRIsTEl AiOHLKwpJzgPp6xe+zETqJ2S1j7sIiU4mNmKKFjKakDgbovjPXmSIK34pIjAf4Zwr5hW V/Fw1yCnfjqHafs0sGVXYG4FHbXOeb2FmraVUKsZebdChAnvo27u2NGdYpj7PRAXGVkJ Vdag== X-Gm-Message-State: AO0yUKVx6ObcEg8vrbUDYUx91DHJaERpYIeIU1d33xcwmAOMJzaRVrHT /WwJMZmBYQyTvECYv4fJHSz4og== X-Received: by 2002:a05:6602:370d:b0:716:948a:8871 with SMTP id bh13-20020a056602370d00b00716948a8871mr7157020iob.1.1675112547060; Mon, 30 Jan 2023 13:02:27 -0800 (PST) Received: from presto.localdomain ([98.61.227.136]) by smtp.gmail.com with ESMTPSA id a30-20020a02735e000000b003aef8fded9asm1992046jae.127.2023.01.30.13.02.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Jan 2023 13:02:11 -0800 (PST) From: Alex Elder <elder@linaro.org> 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-next 0/8] net: ipa: remaining IPA v5.0 support Date: Mon, 30 Jan 2023 15:01:50 -0600 Message-Id: <20230130210158.4126129-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 autolearn=unavailable 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756482961954201015?= X-GMAIL-MSGID: =?utf-8?q?1756482961954201015?= |
Series |
net: ipa: remaining IPA v5.0 support
|
|
Message
Alex Elder
Jan. 30, 2023, 9:01 p.m. UTC
This series includes almost all remaining IPA code changes required to support IPA v5.0. IPA register definitions and configuration data for IPA v5.0 will be sent later (soon). Note that the GSI register definitions still require work. GSI for IPA v5.0 supports up to 256 (rather than 32) channels, and this changes the way GSI register offsets are calculated. A few GSI register fields also change. The first patch in this series increases the number of IPA endpoints supported by the driver, from 32 to 36. The next updates the width of the destination field for the IP_PACKET_INIT immediate command so it can represent up to 256 endpoints rather than just 32. The next adds a few definitions of some IPA registers and fields that are first available in IPA v5.0. The next two patches update the code that handles router and filter table caches. Previously these were referred to as "hashed" tables, and the IPv4 and IPv6 tables are now combined into one "unified" table. The sixth and seventh patches add support for a new pulse generator, which allows time periods to be specified with a wider range of clock resolution. And the last patch just defines two new memory regions that were not previously used. -Alex Alex Elder (8): net: ipa: support more endpoints net: ipa: extend endpoints in packet init command net: ipa: define IPA v5.0+ registers net: ipa: update table cache flushing net: ipa: support zeroing new cache tables net: ipa: greater timer granularity options net: ipa: support a third pulse register net: ipa: define two new memory regions drivers/net/ipa/ipa_cmd.c | 32 ++++++++--- drivers/net/ipa/ipa_endpoint.c | 102 ++++++++++++++++++--------------- drivers/net/ipa/ipa_endpoint.h | 4 +- drivers/net/ipa/ipa_main.c | 14 ++++- drivers/net/ipa/ipa_mem.c | 8 ++- drivers/net/ipa/ipa_mem.h | 8 ++- drivers/net/ipa/ipa_reg.h | 43 ++++++++++++-- drivers/net/ipa/ipa_table.c | 61 ++++++++++++++------ 8 files changed, 187 insertions(+), 85 deletions(-)
Comments
On Mon, Jan 30, 2023 at 03:01:50PM -0600, Alex Elder wrote: > This series includes almost all remaining IPA code changes required > to support IPA v5.0. IPA register definitions and configuration > data for IPA v5.0 will be sent later (soon). Note that the GSI > register definitions still require work. GSI for IPA v5.0 supports > up to 256 (rather than 32) channels, and this changes the way GSI > register offsets are calculated. A few GSI register fields also > change. > > The first patch in this series increases the number of IPA endpoints > supported by the driver, from 32 to 36. The next updates the width > of the destination field for the IP_PACKET_INIT immediate command so > it can represent up to 256 endpoints rather than just 32. The next > adds a few definitions of some IPA registers and fields that are > first available in IPA v5.0. > > The next two patches update the code that handles router and filter > table caches. Previously these were referred to as "hashed" tables, > and the IPv4 and IPv6 tables are now combined into one "unified" > table. The sixth and seventh patches add support for a new pulse > generator, which allows time periods to be specified with a wider > range of clock resolution. And the last patch just defines two new > memory regions that were not previously used. > > -Alex > > Alex Elder (8): > net: ipa: support more endpoints > net: ipa: extend endpoints in packet init command > net: ipa: define IPA v5.0+ registers > net: ipa: update table cache flushing > net: ipa: support zeroing new cache tables > net: ipa: greater timer granularity options > net: ipa: support a third pulse register > net: ipa: define two new memory regions > Thanks, Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Hello: This series was applied to netdev/net-next.git (master) by Jakub Kicinski <kuba@kernel.org>: On Mon, 30 Jan 2023 15:01:50 -0600 you wrote: > This series includes almost all remaining IPA code changes required > to support IPA v5.0. IPA register definitions and configuration > data for IPA v5.0 will be sent later (soon). Note that the GSI > register definitions still require work. GSI for IPA v5.0 supports > up to 256 (rather than 32) channels, and this changes the way GSI > register offsets are calculated. A few GSI register fields also > change. > > [...] Here is the summary with links: - [net-next,1/8] net: ipa: support more endpoints https://git.kernel.org/netdev/net-next/c/07abde549bc1 - [net-next,2/8] net: ipa: extend endpoints in packet init command https://git.kernel.org/netdev/net-next/c/c84ddc119704 - [net-next,3/8] net: ipa: define IPA v5.0+ registers https://git.kernel.org/netdev/net-next/c/8ba59716d16a - [net-next,4/8] net: ipa: update table cache flushing https://git.kernel.org/netdev/net-next/c/8e7c89d84a2b - [net-next,5/8] net: ipa: support zeroing new cache tables (no matching commit) - [net-next,6/8] net: ipa: greater timer granularity options https://git.kernel.org/netdev/net-next/c/32079a4ab106 - [net-next,7/8] net: ipa: support a third pulse register (no matching commit) - [net-next,8/8] net: ipa: define two new memory regions https://git.kernel.org/netdev/net-next/c/5157d6bfcad3 You are awesome, thank you!