Skip to content

Fix a pair of setup bus bugs

Logan Gunthorpe linux-pci lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 4 repliesIn review
  2. v22 patches 0 repliesSuperseded
  3. v12 patches 8 repliesSuperseded

Changes in v3 from the cover letter

* Rebased onto v5.2-rc2 (no changes)

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2PCI: Prevent 64-bit resources from being counted in 32-bit bridge regiondrivers/pci/setup-bus.c+8 -90 replies
2/2PCI: Fix disabling of bridge BARs when assigning bus resourcesdrivers/pci/setup-bus.c+6 -13 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/2] Fix a pair of setup bus bugs

Hey,

This is another resend to get some more attention. Nothing has changed since v2.

For the first patch, there's a lot more information in the original thread here[1] including instructions on how to reproduce it in QEMU.

The second patch fixes an unrelated bug, with similar symptoms, in the same code. It was a lot easier to debug and the reasoning should hopefully be easier to follow, but I don't think it was reviewed much during the first posting due to the nightmare in the first patch.

Thanks,

Logan

[1] https://lore.kernel.org/lkml/[email protected]/T/#m96ba95de4678146ed46b602e8bfd6ac08a588fa2

--

Changes in v3:

* Rebased onto v5.2-rc2 (no changes)

Changes in v2:

* Rebased onto v5.1-rc6 (no changes)
* Reworked the commit message in the first commit to try and explain it better.

--

Logan Gunthorpe (2):
PCI: Prevent 64-bit resources from being counted in 32-bit bridge
region
PCI: Fix disabling of bridge BARs when assigning bus resources

 drivers/pci/setup-bus.c | 24 ++++++++++++++----------
 1 file changed, 14 insertions(+), 10 deletions(-)

--
2.20.1