Skip to content

net: ipa: start adding IPA v4.5 support

Alex Elder linux-tegra lkml netdev 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6net: ipa: reverse logic on escape buffer usedrivers/net/ipa/gsi.c+4 -20 replies
2/6net: ipa: update IPA registers for IPA v4.5drivers/net/ipa/ipa_main.c drivers/net/ipa/ipa_reg.h drivers/net/ipa/ipa_version.h+44 -80 replies
3/6net: ipa: add new most-significant bits to registersdrivers/net/ipa/ipa_endpoint.c drivers/net/ipa/ipa_reg.h+66 -110 replies
4/6net: ipa: add support to code for IPA v4.5drivers/net/ipa/ipa_endpoint.c drivers/net/ipa/ipa_main.c drivers/net/ipa/ipa_reg.h+57 -232 replies
5/6net: ipa: update gsi registers for IPA v4.5drivers/net/ipa/gsi.c drivers/net/ipa/gsi_reg.h+21 -20 replies
6/6net: ipa: adjust GSI register addressesdrivers/net/ipa/gsi.c drivers/net/ipa/gsi_reg.h+30 -20 replies

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: ipa: start adding IPA v4.5 support

This series starts updating the IPA code to support IPA hardware version 4.5.

The first patch fixes a problem found while preparing these updates. Testing shows the code works with or without the change, and with the fix the code matches "downstream" Qualcomm code.

The second patch updates the definitions for IPA register offsets and field masks to reflect the changes that come with IPA v4.5. A few register updates have been deferred until later, because making use of them involves some nontrivial code updates.

One type of change that IPA v4.5 brings is expanding the range of certain configuration values. High-order bits are added in a few cases, and the third patch implements the code changes necessary to use those newly available bits.

The fourth patch implements several fairly minor changes to the code required for IPA v4.5 support.

The last two patches implement changes to the GSI registers used for IPA. Almost none of the registers change, but the range of memory in which most of the GSI registers is located is shifted by a fixed amount. The fifth patch updates the GSI register definitions, and the last patch implements the memory shift for IPA v4.5.

-Alex

Alex Elder (6):
net: ipa: reverse logic on escape buffer use
net: ipa: update IPA registers for IPA v4.5
net: ipa: add new most-significant bits to registers
net: ipa: add support to code for IPA v4.5
net: ipa: update gsi registers for IPA v4.5
net: ipa: adjust GSI register addresses

 drivers/net/ipa/gsi.c          | 35 ++++++++++++---
 drivers/net/ipa/gsi_reg.h      | 24 ++++++++++
 drivers/net/ipa/ipa_endpoint.c | 49 ++++++++++++++------
 drivers/net/ipa/ipa_main.c     | 76 +++++++++++++++++++++----------
 drivers/net/ipa/ipa_reg.h      | 81 ++++++++++++++++++++++++++++++++--
 drivers/net/ipa/ipa_version.h  |  1 +
 6 files changed, 220 insertions(+), 46 deletions(-)
Signature · 1 line
2.20.1