summaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci-driver.c
diff options
context:
space:
mode:
authorYinghai Lu <yinghai.lu@amd.com>2006-11-29 22:53:10 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2007-02-08 00:50:03 +0100
commit07eddf3d597f2d009a37a4e8c7c32a1ffe992f3e (patch)
tree6ed35aff253bdf7aa01572687fcff5f0b7241606 /drivers/pci/pci-driver.c
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sha... (diff)
downloadlinux-07eddf3d597f2d009a37a4e8c7c32a1ffe992f3e.tar.xz
linux-07eddf3d597f2d009a37a4e8c7c32a1ffe992f3e.zip
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 <yinghai.lu@amd.com> Cc: Andi Kleen <ak@suse.de> Cc: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/pci-driver.c')
0 files changed, 0 insertions, 0 deletions