Skip to content

PCI: fix cardbus and sriov regressions

Ram Pai lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 1 replyIn review
  2. v25 patches 10 repliesSuperseded
  3. v14 patches 10 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5PCI: honor child buses add_size in hot plug configurationdrivers/pci/setup-bus.c+26 -01 reply
2/5PCI : ability to relocate assigned pci-resourcesdrivers/pci/setup-bus.c drivers/pci/setup-res.c include/linux/pci.h+113 -670 replies
3/5PCI: make SRIOV resources optionaldrivers/pci/setup-bus.c+10 -00 replies
4/5PCI: make cardbus-bridge resources optionaldrivers/pci/pci.h drivers/pci/setup-bus.c+36 -90 replies
5/5PCI: code and comments cleanupdrivers/pci/setup-bus.c+55 -550 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchRam Pai
1/5R-b
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH 0/5 v3] PCI: fix cardbus and sriov regressions

The following patch-set fixes regressions caused by:

the commit "PCI: update bridge resources to get more big ranges when allocating space (again)"
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=da7822e5ad71ec9b745b412639f1e5e0ba795a20

patch 1/5: fix calculation of additional resource size for hotplug bridges patch 2/5: ability to resize assigned pci-resource
patch 3/5: make SRIOV BARs resources optional
patch 4/5: make cardbus bridge resources optional
patch 5/5: code and terminology cleanup

The regression was caused on some platforms with limited i/o and memory resources, the optional resources were allocated ahead of required resources, thus starving the latter. The patchset ensures that all the required resources are satisfied before any optional resources are satisfied.

Changelog: patch 2/5 is split into two patches. The changes corresponding to

	resource.c is upstream; commit 23c570a67448e803408191f529ed9a83fd34a25a.
	This patch has the remaining changes.