Skip to content

net: final GSI register updates

Alex Elder linux-arm-msm lkml netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 6 repliesApplied 6/6

Patches in v1 All 6 applied

#Subject and filesSizeRepliesApplied
1/6net: ipa: fix an incorrect assignmentdrivers/net/ipa/gsi.c+1 -10 repliesApplied
2/6net: ipa: kill gsi->virt_rawdrivers/net/ipa/gsi.c drivers/net/ipa/gsi.h drivers/net/ipa/gsi_reg.c +7 more+141 -1816 repliesApplied
3/6net: ipa: kill ev_ch_e_cntxt_1_length_encode()drivers/net/ipa/gsi.c drivers/net/ipa/gsi_reg.h drivers/net/ipa/reg/gsi_reg-v3.1.c +5 more+43 -260 repliesApplied
4/6net: ipa: avoid setting an undefined fielddrivers/net/ipa/gsi.c drivers/net/ipa/gsi_reg.h+2 -20 repliesApplied
5/6net: ipa: support different event ring encodingdrivers/net/ipa/gsi.c drivers/net/ipa/gsi_reg.h+6 -20 repliesApplied
6/6net: ipa: add HW_PARAM_4 GSI registerdrivers/net/ipa/gsi.c drivers/net/ipa/gsi_reg.h+14 -20 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/6] net: final GSI register updates

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(-)
Signature · 1 line
2.34.1