CFT: PCI Command Register fixups

Scott Long scottl at samsco.org
Sat Aug 10 04:04:23 UTC 2013


All,

Subversion rev 250418 affected approximately 63 drivers by making them vulnerable to resource allocation failures on motherboards with buggy BIOSes.  The revision itself is good, but it needs to address these drivers and bring them up to what is, in effect, a modified way for drivers to manage their PCI resources.  If you've been seeing something like the following message since June 24/27, then you need this patch:

mps0: <LSI SAS2116> port 0xd000-0xd0ff mem 0xfb79c000-0xfb79ffff irq 19 at device 0.0 on pci4
mps0: PCI memory window not available
device_attach: mps0 attach returned 6

The patch originated from John Baldwin, I merely fixed up a few nits and am passing it around for review and testing.  Please find it here:

http://people.freebsd.org/~scottl/pci_command_fixes.patch

Thanks,
Scott



More information about the freebsd-current mailing list