Netdev List
 help / color / mirror / Atom feed
From: Heiner Kallweit <hkallweit1@gmail.com>
To: David Miller <davem@davemloft.net>,
	Realtek linux nic maintainers <nic_swsd@realtek.com>,
	Jakub Kicinski <kuba@kernel.org>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: [PATCH net-next 0/7] r8169: mark device as detached in PCI D3 and improve locking
Date: Sat, 20 Jun 2020 22:33:39 +0200	[thread overview]
Message-ID: <2e68df85-4f64-d45b-3c4c-bb8cb9a4411d@gmail.com> (raw)

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.

Heiner Kallweit (7):
  net: core: try to runtime-resume detached device in __dev_open
  r8169: mark device as not present when in PCI D3
  r8169: remove no longer needed checks for device being runtime-active
  r8169: add rtl8169_up
  r8169: use RTNL to protect critical sections
  r8169: remove driver-specific mutex
  r8169: improve rtl8169_runtime_resume

 drivers/net/ethernet/realtek/r8169_main.c | 181 +++++-----------------
 net/core/dev.c                            |  10 +-
 2 files changed, 49 insertions(+), 142 deletions(-)

-- 
2.27.0


             reply	other threads:[~2020-06-20 20:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-20 20:33 Heiner Kallweit [this message]
2020-06-20 20:35 ` [PATCH net-next 1/7] net: core: try to runtime-resume detached device in __dev_open Heiner Kallweit
2020-06-20 20:36 ` [PATCH net-next 2/7] r8169: mark device as not present when in PCI D3 Heiner Kallweit
2020-06-20 20:37 ` [PATCH net-next 3/7] r8169: remove no longer needed checks for device being runtime-active Heiner Kallweit
2020-06-20 20:37 ` [PATCH net-next 4/7] r8169: add rtl8169_up Heiner Kallweit
2020-06-20 20:38 ` [PATCH net-next 5/7] r8169: use RTNL to protect critical sections Heiner Kallweit
2020-06-20 20:38 ` [PATCH net-next 6/7] r8169: remove driver-specific mutex Heiner Kallweit
2020-06-20 20:39 ` [PATCH net-next 7/7] r8169: improve rtl8169_runtime_resume Heiner Kallweit
2020-06-22 22:27 ` [PATCH net-next 0/7] r8169: mark device as detached in PCI D3 and improve locking Jakub Kicinski
2020-06-22 23:26   ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2e68df85-4f64-d45b-3c4c-bb8cb9a4411d@gmail.com \
    --to=hkallweit1@gmail.com \
    --cc=davem@davemloft.net \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=nic_swsd@realtek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox