]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'iupa-last-things-before-pm-conversion'
authorDavid S. Miller <davem@davemloft.net>
Sat, 14 Aug 2021 13:13:39 +0000 (14:13 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 14 Aug 2021 13:13:39 +0000 (14:13 +0100)
commit5fa6a5e26f85bbc2db1198a21f3249a30771b7cd
tree62ad23e8e0a0ea4f719b8d6f86ebc6816a4e6832
parentdbfb23bfea6fbee8c86b5e58e91065d4b8baa69d
parentf7af4f504894836ca0a9d5cea4c87141d3077047
Merge branch 'iupa-last-things-before-pm-conversion'

Alex Elder says:

====================
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.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>