diff mbox

[-v3,2/3] x86,pci, acpi: host bridge windows inherit BUSY flag from parent

Message ID 4BC4E0E9.7000203@oracle.com (mailing list archive)
State Superseded, archived
Headers show

Commit Message

Yinghai April 13, 2010, 9:23 p.m. UTC
None
diff mbox

Patch

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)