Skip to content

net: ipa: tell GSI the IPA version

Alex Elder 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 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6net: ipa: expose IPA version to the GSI layerdrivers/net/ipa/gsi.c drivers/net/ipa/gsi.h drivers/net/ipa/ipa_main.c+21 -150 replies
2/6net: ipa: record IPA version in GSI structuredrivers/net/ipa/gsi.c drivers/net/ipa/gsi.h+10 -120 replies
3/6net: ipa: use version in gsi_channel_init()drivers/net/ipa/gsi.c+6 -70 replies
4/6net: ipa: use version in gsi_channel_reset()drivers/net/ipa/gsi.c+1 -10 replies
5/6net: ipa: use version in gsi_channel_program()drivers/net/ipa/gsi.c drivers/net/ipa/gsi.h drivers/net/ipa/ipa_endpoint.c+15 -190 replies
6/6net: ipa: eliminate legacy argumentsdrivers/net/ipa/gsi.c drivers/net/ipa/gsi.h drivers/net/ipa/ipa_main.c+8 -110 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: tell GSI the IPA version

The GSI code that supports IPA avoids having knowledge about the IPA layer it serves. One result of this is that Boolean flags are used during GSI initialization to convey that certain hardware version-dependent special behaviors should be used.

A given version of IPA hardware uses a fixed/well-defined version of GSI, so the IPA version really implies the GSI version.

If given only the IPA version, the GSI code supporting IPA can use it to implement certain special behaviors required for IPA *or* GSI. This avoids the need to pass and maintain numerous Boolean flags.

Note: the last patch in this series depends on this patch posted for review earlier today:
https://lore.kernel.org/netdev/[email protected]

-Alex

Alex Elder (6):
net: ipa: expose IPA version to the GSI layer
net: ipa: record IPA version in GSI structure
net: ipa: use version in gsi_channel_init()
net: ipa: use version in gsi_channel_reset()
net: ipa: use version in gsi_channel_program()
net: ipa: eliminate legacy arguments

 drivers/net/ipa/gsi.c          | 52 ++++++++++++++++++----------------
 drivers/net/ipa/gsi.h          | 24 +++++++++-------
 drivers/net/ipa/ipa_endpoint.c | 16 ++++-------
 drivers/net/ipa/ipa_main.c     | 14 ++-------
 4 files changed, 51 insertions(+), 55 deletions(-)
Signature · 1 line
2.20.1