From: Yinghai Lu Date: Fri, 24 Apr 2009 03:48:32 +0000 (-0700) Subject: PCI/x86: don't assume prefetchable ranges are 64bit X-Git-Tag: v2.6.31-rc1~62^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f82de10d6b1d845155363c895c552e61b36b51a;p=pandora-kernel.git PCI/x86: don't assume prefetchable ranges are 64bit We should not assign 64bit ranges to PCI devices that only take 32bit prefetchable addresses. Try to set IORESOURCE_MEM_64 in 64bit resource of pci_device/pci_bridge and make the bus resource only have that bit set when all devices under it support 64bit prefetchable memory. Use that flag to allocate resources from that range. Reported-by: Yannick Reviewed-by: Ivan Kokshaysky Signed-off-by: Yinghai Lu Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed