[lkml]   [2006]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRE: PCI: check szhi when sz is 0 when 64 bit iomem bigger than 4G
-----Original Message-----
From: Andrew Morton []
Sent: Wednesday, November 29, 2006 1:53 PM

>It has no changelog. We're still waiting for a complete description of
>patch: why it is needed, what it does, how it does it. Please provide

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
Typical usages for this: Opteron system with co-processor and the
co-processor could take
more than 4G RAM as pre-fetchable mem resource.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-11-29 23:15    [W:0.034 / U:2.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site