mbox series

[net-next,0/7] net: ipa: a few last bits

Message ID 20210328173111.3399063-1-elder@linaro.org (mailing list archive)
Headers show
Series net: ipa: a few last bits | expand

Message

Alex Elder March 28, 2021, 5:31 p.m. UTC
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%)