[<prev] [next>] [day] [month] [year] [list]
Message-ID: <5986589C150B2F49A46483AC44C7BCA4907254@ssvlexmb2.amd.com>
Date: Wed, 29 Nov 2006 14:08:50 -0800
From: "Lu, Yinghai" <yinghai.lu@....com>
To: "Andrew Morton" <akpm@...l.org>
cc: "Greg KH" <greg@...ah.com>, "Greg KH" <gregkh@...e.de>,
"Andi Kleen" <ak@...e.de>, linux-kernel@...r.kernel.org,
myles@...selemur.cs.byu.edu
Subject: RE: PCI: check szhi when sz is 0 when 64 bit iomem bigger than
4G
-----Original Message-----
From: Andrew Morton [mailto:akpm@...l.org]
Sent: Wednesday, November 29, 2006 1:53 PM
>It has no changelog. We're still waiting for a complete description of
the
>patch: why it is needed, what it does, how it does it. Please provide
>that.
-----------------
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.
-----------------
YH
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists