]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'r8169-mark-device-as-detached-in-PCI-D3-and-improve-locking'
authorDavid S. Miller <davem@davemloft.net>
Mon, 22 Jun 2020 23:26:02 +0000 (16:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Jun 2020 23:26:02 +0000 (16:26 -0700)
commitc6a148e954be898f96ec6ed13582b5fcf356be47
treee7a475880dc0f1d807032498b6688e9b91763b88
parentfce2f0b557294fe3a23a2dd83bce311e02f68d2b
parent2908a55c794201d9f4ea1e4157beae5c23156637
Merge branch 'r8169-mark-device-as-detached-in-PCI-D3-and-improve-locking'

Heiner Kallweit says:

====================
r8169: mark device as detached in PCI D3 and improve locking

Mark the netdevice as detached whenever parent is in PCI D3hot and not
accessible. This mainly applies to runtime-suspend state.
In addition take RTNL lock in suspend calls, this allows to remove
the driver-specific mutex and improve PM callbacks in general.
====================

Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>