linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv4 next 0/3] Limiting pci access
@ 2016-10-28 22:58 Keith Busch
  2016-10-28 22:58 ` [PATCHv4 next 1/3] pci: Add is_removed state Keith Busch
                   ` (3 more replies)
  0 siblings, 4 replies; 42+ messages in thread
From: Keith Busch @ 2016-10-28 22:58 UTC (permalink / raw)
  To: linux-pci, Bjorn Helgaas; +Cc: Lukas Wunner, Wei Zhang, Keith Busch

Here's version 3. Two of the patches from v2 have already been applied
upstream, so this is down to three patches now.

The main difference with v2 is setting subordinates to removed when
detected (patch 1/3).

Patch 2/3 short-cuts pci_device_is_present if is_removed is set.

Otherwise, the same as before. Just to restate the justification, this
significantly speeds up many device removals without relying on hardware.

Keith Busch (3):
  pci: Add is_removed state
  pci: No config access for removed devices
  pci/msix: Skip disabling removed devices

 drivers/pci/hotplug/pciehp_pci.c |  5 +++++
 drivers/pci/msi.c                |  7 ++++++-
 drivers/pci/pci.c                |  2 ++
 drivers/pci/pcie/pcie-dpc.c      |  4 ++++
 include/linux/pci.h              | 25 +++++++++++++++++++++++++
 5 files changed, 42 insertions(+), 1 deletion(-)

-- 
2.7.2


^ permalink raw reply	[flat|nested] 42+ messages in thread

end of thread, other threads:[~2018-11-13 15:03 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-28 22:58 [PATCHv4 next 0/3] Limiting pci access Keith Busch
2016-10-28 22:58 ` [PATCHv4 next 1/3] pci: Add is_removed state Keith Busch
2016-10-31 10:41   ` Lukas Wunner
2016-12-13 20:56   ` Bjorn Helgaas
2016-12-13 23:07     ` Keith Busch
2016-12-14  2:50       ` Bjorn Helgaas
2016-12-14  2:54         ` Bjorn Helgaas
2016-12-13 23:54     ` Lukas Wunner
2016-10-28 22:58 ` [PATCHv4 next 2/3] pci: No config access for removed devices Keith Busch
2016-10-31 12:18   ` Lukas Wunner
2016-10-28 22:58 ` [PATCHv4 next 3/3] pci/msix: Skip disabling " Keith Busch
2016-10-31 11:00   ` Lukas Wunner
2016-10-31 13:54     ` Keith Busch
2016-12-13 21:18   ` Bjorn Helgaas
2016-12-13 23:01     ` Keith Busch
2016-11-18 23:25 ` [PATCHv4 next 0/3] Limiting pci access Keith Busch
2016-11-23 16:09   ` Bjorn Helgaas
2016-11-28  9:14     ` Wei Zhang
2016-11-28 10:22       ` Lukas Wunner
2016-11-28 18:02     ` Keith Busch
2016-12-08 17:54       ` Bjorn Helgaas
2016-12-08 19:32         ` Keith Busch
2016-12-12 23:42           ` Bjorn Helgaas
2016-12-13  0:55             ` Keith Busch
2016-12-13 20:50               ` Bjorn Helgaas
2016-12-13 23:18                 ` Keith Busch
     [not found]                   ` <B58D82457FDA0744A320A2FC5AC253B93D82F37D@fmsmsx104.amr.corp.intel.com>
     [not found]                     ` <20170120213550.GA16618@localhost.localdomain>
2017-01-21  7:31                       ` Lukas Wunner
2017-01-21  8:42                         ` Greg Kroah-Hartman
2017-01-21 14:22                           ` Lukas Wunner
2017-01-25 11:47                             ` Greg Kroah-Hartman
2017-01-23 16:04                           ` Keith Busch
2017-01-25  0:44                             ` Austin.Bolen
2017-01-25 21:17                               ` Bjorn Helgaas
2017-01-26  1:12                                 ` Austin.Bolen
2017-02-01 16:04                                   ` Bjorn Helgaas
2017-02-03 20:30                                     ` Austin.Bolen
2017-02-03 20:39                                       ` Greg KH
2017-02-03 21:43                                     ` Austin.Bolen
2017-01-25 11:48                             ` Greg Kroah-Hartman
2017-01-28  7:36                             ` Christoph Hellwig
2018-11-13  6:05                   ` Bjorn Helgaas
2018-11-13 14:59                     ` Keith Busch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).