CFT: PCI Command Register fixups

From: Scott Long <scottl_at_samsco.org>
Date: Fri, 9 Aug 2013 21:56:48 -0600
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
Received on Sat Aug 10 2013 - 02:04:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:40 UTC