Prev: MMC: fix hang if card was removed during suspend and unsafe resume was enabled
Next: [REGRESSION bisected] Sound goes too fast due to commit 7b3a177b0
From: Yinghai on 13 Apr 2010 17:30 If a host bridge window falls inside a region the architecture has marked busy, the window should inherit the busy flag so we don't try to assign that region to a device. [commit log is from Bjorn] Tested-by: Andy Isaacson <adi(a)hexapodia.org> Cc: Bjorn Helgaas <bjorn.helgaas(a)hp.com> Acked-by: Bjorn Helgaas <bjorn.helgaas(a)hp.com> Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> --- arch/x86/pci/acpi.c | 4 ++++ 1 file changed, 4 insertions(+) Index: linux-2.6/arch/x86/pci/acpi.c =================================================================== --- linux-2.6.orig/arch/x86/pci/acpi.c +++ linux-2.6/arch/x86/pci/acpi.c @@ -175,6 +175,10 @@ setup_resource(struct acpi_resource *acp "conflicts with %s %pR\n", res, conflict->name, conflict); } else { + /* In case it falls in big reserved region */ + if (res->parent->flags & IORESOURCE_BUSY) + res->flags |= IORESOURCE_BUSY; + pci_bus_add_resource(info->bus, res, 0); info->res_num++; if (addr.translation_offset) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |