All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] PCI: Minimizing resource assignment algorithm
@ 2020-09-28  1:06 Jon Derrick
  2020-09-28  1:06 ` [PATCH 1/3] PCI: Create helper to release/restore bridge resources Jon Derrick
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Jon Derrick @ 2020-09-28  1:06 UTC (permalink / raw)
  To: linux-pci
  Cc: Lorenzo Pieralisi, Bjorn Helgaas, Andrzej Jakowski, Dave Fugate,
	Jon Derrick

This set adds a minimizing resource assignment algorithm. VMD domains
frequently have issues with default hotplug settings and large arrays of
drives such as those in JBOFs. This algorithm uses the default or
user-specified hotplug resource settings, then tries with minimal
settings using 256 for IO, and 1MB for MMIO and Prefetch, and finally
tries without additional hotplug resources as if the bridge were not
hotplug capable.

This set allows a resource constrained domain to at the very least
enumerate and attach drivers to devices, though may not result in
supportable hotplug slot if a device is not already occupied in the
slot.

Jon Derrick (3):
  PCI: Create helper to release/restore bridge resources
  PCI: Introduce a minimizing assignment algorithm
  PCI: vmd: Wire up VMD for fallback resource assignment

 drivers/pci/controller/vmd.c |   2 +-
 drivers/pci/setup-bus.c      | 147 ++++++++++++++++++++++++++++-------
 include/linux/pci.h          |   2 +
 3 files changed, 124 insertions(+), 27 deletions(-)

-- 
2.18.1


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

end of thread, other threads:[~2020-09-29 17:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-28  1:06 [PATCH 0/3] PCI: Minimizing resource assignment algorithm Jon Derrick
2020-09-28  1:06 ` [PATCH 1/3] PCI: Create helper to release/restore bridge resources Jon Derrick
2020-09-28  1:06 ` [PATCH 2/3] PCI: Introduce a minimizing assignment algorithm Jon Derrick
2020-09-28  7:17   ` Christoph Hellwig
2020-09-28 13:34     ` Derrick, Jonathan
2020-09-29 17:48       ` hch
2020-09-28  1:06 ` [PATCH 3/3] PCI: vmd: Wire up VMD for fallback resource assignment Jon Derrick
2020-09-28  7:16 ` [PATCH 0/3] PCI: Minimizing resource assignment algorithm Christoph Hellwig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.