PCI: Minimizing resource assignment algorithm
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | PCI: Create helper to release/restore bridge resourcesdrivers/ | +28 | 0 replies | |
| 2/3 | PCI: Introduce a minimizing assignment algorithmdrivers/ include/ | +95 | 3 replies | |
| 3/3 | PCI: vmd: Wire up VMD for fallback resource assignmentdrivers/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] PCI: Minimizing resource assignment algorithm
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(-)
Signature · 1 line
2.18.1