Message ID | 2e68df85-4f64-d45b-3c4c-bb8cb9a4411d@gmail.com |
---|---|
Headers | show |
Series | r8169: mark device as detached in PCI D3 and improve locking | expand |
On Sat, 20 Jun 2020 22:33:39 +0200 Heiner Kallweit wrote: > 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. Not an expert on PM but looks like a nice improvement to me: Reviewed-by: Jakub Kicinski <kuba@kernel.org>
From: Jakub Kicinski <kuba@kernel.org> Date: Mon, 22 Jun 2020 15:27:04 -0700 > On Sat, 20 Jun 2020 22:33:39 +0200 Heiner Kallweit wrote: >> 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. > > Not an expert on PM but looks like a nice improvement to me: > > Reviewed-by: Jakub Kicinski <kuba@kernel.org> Series applied, thanks everyone.