summaryrefslogtreecommitdiffstats
path: root/drivers/pci/msi.c
diff options
context:
space:
mode:
authorAlexey Neyman2013-10-10 00:16:38 +0200
committerBjorn Helgaas2013-10-10 15:11:59 +0200
commit3ad674d6c6c5724c83f10f422d826420c83536cd (patch)
treebf5856358a7c924c79e9d79e8fb1741009e3df47 /drivers/pci/msi.c
parentMAINTAINERS: Add arch/x86/pci to PCI file patterns (diff)
downloadkernel-qcow2-linux-3ad674d6c6c5724c83f10f422d826420c83536cd.tar.gz
kernel-qcow2-linux-3ad674d6c6c5724c83f10f422d826420c83536cd.tar.xz
kernel-qcow2-linux-3ad674d6c6c5724c83f10f422d826420c83536cd.zip
x86/PCI: Coalesce multiple overlapping host bridge windows
Previously we coalesced windows by expanding the first overlapping one and making the second invalid. But we never look at the expanded first window again, so we fail to notice other windows that overlap it. For example, we coalesced these: [io 0x0000-0x03af] // #0 [io 0x03e0-0x0cf7] // #1 [io 0x0000-0xdfff] // #2 into these, which still overlap: [io 0x0000-0xdfff] // #0 [io 0x03e0-0x0cf7] // #1 The fix is to expand the *second* overlapping resource and ignore the first, so we get this instead with no overlaps: [io 0x0000-0xdfff] // #2 [bhelgaas: changelog] Reference: https://bugzilla.kernel.org/show_bug.cgi?id=62511 Signed-off-by: Alexey Neyman <stilor@att.net> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/msi.c')
0 files changed, 0 insertions, 0 deletions