From: Yinghai Lu Date: Wed, 29 Nov 2006 21:53:10 +0000 (-0800) Subject: PCI: check szhi when sz is 0 when 64 bit iomem bigger than 4G X-Git-Tag: v2.6.21-rc1~92^2~28^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07eddf3d597f2d009a37a4e8c7c32a1ffe992f3e;p=pandora-kernel.git PCI: check szhi when sz is 0 when 64 bit iomem bigger than 4G For pci mem resource that size is bigger than 4G, the sz returned by pc_size will be 0. So that resource is skipped, and register contained hi address will be treated as another 32bit resource. We need to use sz64 and pci_sz64 for 64 bit resource for clear logical. Typical usages for this: Opteron system with co-processor and the co-processor could take more than 4G RAM as pre-fetchable mem resource. Signed-off-by: Yinghai Lu Cc: Andi Kleen Cc: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed