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

From: Alex Elder
Date: Thu Apr 18 2024 - 16:47:44 EST


This series contains a mix of cleanups, some dating back to
December, 2022.

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(-)

--
2.40.1