On Tue, 2008-03-11 at 15:24 -0600, Bjorn Helgaas wrote:
The following two patches fix several problems caused by BIOSes that report PNP motherboard device resources that overlap with PCI BARs.
I think these should go in before 2.6.25 because some of these problems showed up in 2.6.24 when we increased PNP_MAX_MEM from 4 to 12, and there's no good way to work around them.
I cannot judge about the "cleanness" because of possible changes of initialization time of pci/pnp or whatever.
I can confirm that ACPI resource declarations (especially (only?) in the general motherboard devices) are often rather broken. Therefore I like your general approach compared to the per machine dmi match quirks. I expect the latter (dmi matching) is rather hopeless.
Thomas