2021-08-12 22:12:39

by Alex Elder

[permalink] [raw]
Subject: [PATCH net-next 0/6] net: ipa: last things before PM conversion

This series contains a few remaining changes needed before fully
switching over to using runtime power management rather than the
previous "IPA clock" mechanism.

The first patch moves the calls to enable and disable the IPA
interrupt as a system wakeup interrupt into "ipa_clock.c" with the
rest of the power-related code.

The second adds a flag to make it possible to distinguish runtime
suspend from system suspend.

The third and fourth patches arrange for the ->start_xmit path to
resume hardware if necessary, to ensure it is powered. If power is
not active, the TX queue is stopped, and arrangements are made for
the queue to be restarted once hardware power is active again.

The fifth patch keeps the TX queue active during suspend. This
isn't necessary for system suspend but it's important for runtime
suspend.

And the last patch makes it so we don't hold the hardware active
while the modem network device is open.

-Alex

Alex Elder (6):
net: ipa: enable wakeup in ipa_power_setup()
net: ipa: distinguish system from runtime suspend
net: ipa: re-enable transmit in PM WQ context
net: ipa: ensure hardware has power in ipa_start_xmit()
net: ipa: don't stop TX on suspend
net: ipa: don't hold clock reference while netdev open

drivers/net/ipa/ipa_clock.c | 49 ++++++++++++++++++++-----
drivers/net/ipa/ipa_clock.h | 4 ++-
drivers/net/ipa/ipa_main.c | 6 +---
drivers/net/ipa/ipa_modem.c | 72 +++++++++++++++++++++++++++++++++----
4 files changed, 111 insertions(+), 20 deletions(-)

--
2.27.0


2021-08-14 13:22:52

by patchwork-bot+netdevbpf

[permalink] [raw]
Subject: Re: [PATCH net-next 0/6] net: ipa: last things before PM conversion

Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Thu, 12 Aug 2021 14:50:29 -0500 you wrote:
> This series contains a few remaining changes needed before fully
> switching over to using runtime power management rather than the
> previous "IPA clock" mechanism.
>
> The first patch moves the calls to enable and disable the IPA
> interrupt as a system wakeup interrupt into "ipa_clock.c" with the
> rest of the power-related code.
>
> [...]

Here is the summary with links:
- [net-next,1/6] net: ipa: enable wakeup in ipa_power_setup()
https://git.kernel.org/netdev/net-next/c/d430fe4bac02
- [net-next,2/6] net: ipa: distinguish system from runtime suspend
https://git.kernel.org/netdev/net-next/c/b9c532c11cab
- [net-next,3/6] net: ipa: re-enable transmit in PM WQ context
https://git.kernel.org/netdev/net-next/c/a96e73fa1269
- [net-next,4/6] net: ipa: ensure hardware has power in ipa_start_xmit()
https://git.kernel.org/netdev/net-next/c/6b51f802d652
- [net-next,5/6] net: ipa: don't stop TX on suspend
https://git.kernel.org/netdev/net-next/c/8dcf8bb30f17
- [net-next,6/6] net: ipa: don't hold clock reference while netdev open
https://git.kernel.org/netdev/net-next/c/8dc181f2cd62

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html