Skip to content

net: ipa: a few last bits

Alex Elder lkml netdev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7net: ipa: fix all kernel-doc warningsdrivers/net/ipa/gsi_private.h drivers/net/ipa/gsi_trans.h drivers/net/ipa/ipa.h +7 more+50 -230 replies
2/7net: ipa: store BCR register values in config datadrivers/net/ipa/ipa_data-sc7180.c drivers/net/ipa/ipa_data-sdm845.c drivers/net/ipa/ipa_data.h +2 more+10 -230 replies
3/7net: ipa: don't define endpoints unnecessarilydrivers/net/ipa/ipa_data-sdm845.c drivers/net/ipa/ipa_endpoint.h+6 -170 replies
4/7net: ipa: switch to version based configurationdrivers/net/ipa/Kconfig drivers/net/ipa/Makefile drivers/net/ipa/ipa_data-v3.5.1.c +2 more+16 -150 replies
5/7net: ipa: use version based configuration for SC7180drivers/net/ipa/Makefile drivers/net/ipa/ipa_data-v4.2.c drivers/net/ipa/ipa_data.h +1 more+16 -140 replies
6/7net: ipa: DMA addresses are nicely aligneddrivers/net/ipa/gsi.c drivers/net/ipa/gsi_private.h drivers/net/ipa/gsi_trans.c +2 more+17 -350 replies
7/7net: ipa: kill IPA_TABLE_ENTRY_SIZEdrivers/net/ipa/ipa_cmd.c drivers/net/ipa/ipa_qmi.c drivers/net/ipa/ipa_table.c +1 more+39 -350 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/7] net: ipa: a few last bits

This series incorporates a few last things that didn't fit neatly with patches I've posted recently.

The first patch eliminates all remaining kernel-doc warnings. There's still room for kernel-doc improvement, but at least what's there will no longer produce warnings.

The next moves the definition of the value to store in the backward compatibility register (when present) into platform data files.

The third removes two endpoint definitions that do not need to be defined.

The next two switch the naming convention used for configuration data files to be based on the IPA version rather than the specific platform. I was skeptical about this at first (i.e., I thought a platform might have quirks separate from the IPA version). But I'm now convinced the IPA version is enough to define the details of the hardware block. If any exceptions to this are found, we can treat those differently. Note: these two patches produce warnings from checkpatch.pl about updating MAINTAINERS: these can be ignored.

The sixth removes unnecessary checks for alignment of DMA memory allocations, based comments from David Laight.

And the last removes a symbol representing the size of a table entry, using sizeof(__le64) in its place.

-Alex

Alex Elder (7):
net: ipa: fix all kernel-doc warnings
net: ipa: store BCR register values in config data
net: ipa: don't define endpoints unnecessarily
net: ipa: switch to version based configuration
net: ipa: use version based configuration for SC7180
net: ipa: DMA addresses are nicely aligned
net: ipa: kill IPA_TABLE_ENTRY_SIZE

 drivers/net/ipa/Kconfig                       |  3 +-
 drivers/net/ipa/Makefile                      |  2 +-
 drivers/net/ipa/gsi.c                         | 13 +--
 drivers/net/ipa/gsi_private.h                 |  4 +-
 drivers/net/ipa/gsi_trans.c                   |  9 +-
 drivers/net/ipa/gsi_trans.h                   |  5 +-
 drivers/net/ipa/ipa.h                         |  7 +-
 drivers/net/ipa/ipa_cmd.c                     |  2 +-
 drivers/net/ipa/ipa_cmd.h                     | 19 +++--
 .../{ipa_data-sdm845.c => ipa_data-v3.5.1.c}  | 39 ++++-----
 .../{ipa_data-sc7180.c => ipa_data-v4.2.c}    | 25 +++---
 drivers/net/ipa/ipa_data.h                    | 10 ++-
 drivers/net/ipa/ipa_endpoint.h                | 29 +++++--
 drivers/net/ipa/ipa_interrupt.h               |  1 +
 drivers/net/ipa/ipa_main.c                    |  8 +-
 drivers/net/ipa/ipa_mem.h                     |  2 +-
 drivers/net/ipa/ipa_qmi.c                     | 10 +--
 drivers/net/ipa/ipa_qmi.h                     | 14 ++--
 drivers/net/ipa/ipa_reg.h                     | 21 -----
 drivers/net/ipa/ipa_smp2p.h                   |  2 +-
 drivers/net/ipa/ipa_table.c                   | 83 +++++++++----------
 drivers/net/ipa/ipa_table.h                   |  6 +-
 22 files changed, 153 insertions(+), 161 deletions(-)
 rename drivers/net/ipa/{ipa_data-sdm845.c => ipa_data-v3.5.1.c} (90%)
 rename drivers/net/ipa/{ipa_data-sc7180.c => ipa_data-v4.2.c} (90%)
Signature · 1 line
2.27.0