Skip to content

RFC resource, PCI: work around pci=use_crs conflicts

Bjorn Helgaas lkml 1 version Applied

Status from this message: Applied this series to my for-linus branch, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 7 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3resources: add interfaces that return conflict informationinclude/linux/ioport.h kernel/resource.c+39 -71 reply
2/3x86/PCI: trim _CRS windows when they conflict with previous reservationsarch/x86/pci/acpi.c+35 -134 replies
3/3PCI: for address space collisions, show conflicting resourcedrivers/pci/setup-res.c+8 -60 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH v1 0/3] [RFC] resource, PCI: work around pci=use_crs conflicts

These patches are to fix this pci=use_crs regression:

    http://bugzilla.kernel.org/show_bug.cgi?id=15480

The problem is that BIOS reported a PCI host bridge window that overlaps system RAM. This workaround trims the window to avoid the overlap, which requires information about the conflicting resource.

Yanko, I reworked these a bit, so if you have a chance to retest them and collect another dmesg log, I'd appreciate it.

I'm still hoping for someone to find out how Windows deals with this, but haven't gotten any data yet.

---

Bjorn Helgaas (3):
resources: add interfaces that return conflict information x86/PCI: trim _CRS windows when they conflict with previous reservations
PCI: for address space collisions, show conflicting resource

 arch/x86/pci/acpi.c     |   48 ++++++++++++++++++++++++++++++++++-------------
 drivers/pci/setup-res.c |   14 ++++++++------
 include/linux/ioport.h  |    2 ++
 kernel/resource.c       |   44 ++++++++++++++++++++++++++++++++++++-------
 4 files changed, 82 insertions(+), 26 deletions(-)