mbox series

[net-next,0/6] net: final GSI register updates

Message ID 20230215195352.755744-1-elder@linaro.org (mailing list archive)
Headers show
Series net: final GSI register updates | expand

Message

Alex Elder Feb. 15, 2023, 7:53 p.m. UTC
I believe this is the last set of changes required to allow IPA v5.0
to be supported.  There is a little cleanup work remaining, but that
can happen in the next Linux release cycle.  Otherwise we just need
config data and register definitions for IPA v5.0 (and DTS updates).
These are ready but won't be posted without further testing.

The first patch in this series fixes a minor bug in a patch just
posted, which I found too late.  The second eliminates the GSI
memory "adjustment"; this was done previously to avoid/delay the
need to implement a more general way to define GSI register offsets.
Note that this patch causes "checkpatch" warnings due to indentation
that aligns with an open parenthesis.

The third patch makes use of the newly-defined register offsets, to
eliminate the need for a function that hid a few details.  The next
modifies a different helper function to work properly for IPA v5.0+.
The fifth patch changes the way the event ring size is specified
based on how it's now done for IPA v5.0+.  And the last defines a
new register required for IPA v5.0+.

					-Alex

Alex Elder (6):
  net: ipa: fix an incorrect assignment
  net: ipa: kill gsi->virt_raw
  net: ipa: kill ev_ch_e_cntxt_1_length_encode()
  net: ipa: avoid setting an undefined field
  net: ipa: support different event ring encoding
  net: ipa: add HW_PARAM_4 GSI register

 drivers/net/ipa/gsi.c                |  36 ++++-----
 drivers/net/ipa/gsi.h                |   3 +-
 drivers/net/ipa/gsi_reg.c            |  35 ++------
 drivers/net/ipa/gsi_reg.h            |  23 ++++--
 drivers/net/ipa/reg/gsi_reg-v3.1.c   |  22 ++---
 drivers/net/ipa/reg/gsi_reg-v3.5.1.c |  22 ++---
 drivers/net/ipa/reg/gsi_reg-v4.0.c   |  22 ++---
 drivers/net/ipa/reg/gsi_reg-v4.11.c  | 116 ++++++++++++++-------------
 drivers/net/ipa/reg/gsi_reg-v4.5.c   |  64 ++++++++-------
 drivers/net/ipa/reg/gsi_reg-v4.9.c   |  74 ++++++++---------
 10 files changed, 205 insertions(+), 212 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Feb. 20, 2023, 7:30 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by Paolo Abeni <pabeni@redhat.com>:

On Wed, 15 Feb 2023 13:53:46 -0600 you wrote:
> I believe this is the last set of changes required to allow IPA v5.0
> to be supported.  There is a little cleanup work remaining, but that
> can happen in the next Linux release cycle.  Otherwise we just need
> config data and register definitions for IPA v5.0 (and DTS updates).
> These are ready but won't be posted without further testing.
> 
> The first patch in this series fixes a minor bug in a patch just
> posted, which I found too late.  The second eliminates the GSI
> memory "adjustment"; this was done previously to avoid/delay the
> need to implement a more general way to define GSI register offsets.
> Note that this patch causes "checkpatch" warnings due to indentation
> that aligns with an open parenthesis.
> 
> [...]

Here is the summary with links:
  - [net-next,1/6] net: ipa: fix an incorrect assignment
    https://git.kernel.org/netdev/net-next/c/ecfa80ce3b87
  - [net-next,2/6] net: ipa: kill gsi->virt_raw
    https://git.kernel.org/netdev/net-next/c/59b12b1d27f3
  - [net-next,3/6] net: ipa: kill ev_ch_e_cntxt_1_length_encode()
    https://git.kernel.org/netdev/net-next/c/f75f44ddd4cb
  - [net-next,4/6] net: ipa: avoid setting an undefined field
    https://git.kernel.org/netdev/net-next/c/62747512ebe6
  - [net-next,5/6] net: ipa: support different event ring encoding
    https://git.kernel.org/netdev/net-next/c/37cd29ec8401
  - [net-next,6/6] net: ipa: add HW_PARAM_4 GSI register
    https://git.kernel.org/netdev/net-next/c/f651334e1ef5

You are awesome, thank you!