mbox series

[net-next,v2,0/8] net: ipa: eight simple cleanups

Message ID 20240419151800.2168903-1-elder@linaro.org (mailing list archive)
Headers show
Series net: ipa: eight simple cleanups | expand

Message

Alex Elder April 19, 2024, 3:17 p.m. UTC
This series contains a mix of cleanups, some dating back to
December, 2022.  Version 1 was based on an older version of
net-next/main; this version has simply been rebased.

The first two make it so the IPA SUSPEND interrupt only gets enabled
when necessary.  That make it possible in the third patch to call
device_init_wakeup() during an earlier phase of initialization, and
remove two functions.

The next patch removes IPA register definitions that are never used.
The fifth patch makes ipa_table_hash_support() a real function, so
the IPA structure only needs to be declared rather than defined when
that file is parsed.

The sixth patch fixes improper argument names in two function
declarations.  The seventh removes the declaration for a function
that does not exist, and makes ipa_cmd_init() actually get called.
And the last one eliminates ipa_version_supported(), in favor of
just deciding that if a device is probed because its compatible
matches, that device is assumed to be supported.

					-Alex

Alex Elder (8):
  net: ipa: maintain bitmap of suspend-enabled endpoints
  net: ipa: only enable the SUSPEND IPA interrupt when needed
  net: ipa: call device_init_wakeup() earlier
  net: ipa: remove unneeded FILT_ROUT_HASH_EN definitions
  net: ipa: make ipa_table_hash_support() a real function
  net: ipa: fix two bogus argument names
  net: ipa: fix two minor ipa_cmd problems
  net: ipa: kill ipa_version_supported()

 drivers/net/ipa/ipa_cmd.h            |  8 ------
 drivers/net/ipa/ipa_endpoint.h       |  6 ++---
 drivers/net/ipa/ipa_interrupt.c      | 38 +++++++++++++++++++++++++---
 drivers/net/ipa/ipa_main.c           | 16 +++---------
 drivers/net/ipa/ipa_power.c          | 19 --------------
 drivers/net/ipa/ipa_power.h          | 14 ----------
 drivers/net/ipa/ipa_table.c          |  8 +++++-
 drivers/net/ipa/ipa_table.h          |  7 ++---
 drivers/net/ipa/ipa_version.h        | 18 -------------
 drivers/net/ipa/reg/ipa_reg-v3.1.c   | 14 ----------
 drivers/net/ipa/reg/ipa_reg-v3.5.1.c | 14 ----------
 drivers/net/ipa/reg/ipa_reg-v4.11.c  | 14 ----------
 drivers/net/ipa/reg/ipa_reg-v4.5.c   | 14 ----------
 drivers/net/ipa/reg/ipa_reg-v4.7.c   | 14 ----------
 drivers/net/ipa/reg/ipa_reg-v4.9.c   | 14 ----------
 15 files changed, 51 insertions(+), 167 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org April 23, 2024, 11:30 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Fri, 19 Apr 2024 10:17:52 -0500 you wrote:
> This series contains a mix of cleanups, some dating back to
> December, 2022.  Version 1 was based on an older version of
> net-next/main; this version has simply been rebased.
> 
> The first two make it so the IPA SUSPEND interrupt only gets enabled
> when necessary.  That make it possible in the third patch to call
> device_init_wakeup() during an earlier phase of initialization, and
> remove two functions.
> 
> [...]

Here is the summary with links:
  - [net-next,v2,1/8] net: ipa: maintain bitmap of suspend-enabled endpoints
    https://git.kernel.org/netdev/net-next/c/2eca73444036
  - [net-next,v2,2/8] net: ipa: only enable the SUSPEND IPA interrupt when needed
    https://git.kernel.org/netdev/net-next/c/6f3700266369
  - [net-next,v2,3/8] net: ipa: call device_init_wakeup() earlier
    https://git.kernel.org/netdev/net-next/c/19790951f031
  - [net-next,v2,4/8] net: ipa: remove unneeded FILT_ROUT_HASH_EN definitions
    https://git.kernel.org/netdev/net-next/c/5043d6b16211
  - [net-next,v2,5/8] net: ipa: make ipa_table_hash_support() a real function
    https://git.kernel.org/netdev/net-next/c/b81565b7fd02
  - [net-next,v2,6/8] net: ipa: fix two bogus argument names
    https://git.kernel.org/netdev/net-next/c/f2e4e9ea82f9
  - [net-next,v2,7/8] net: ipa: fix two minor ipa_cmd problems
    https://git.kernel.org/netdev/net-next/c/319b6d4ef087
  - [net-next,v2,8/8] net: ipa: kill ipa_version_supported()
    https://git.kernel.org/netdev/net-next/c/dfdd70e24e38

You are awesome, thank you!