lkml.org 
[lkml]   [2009]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] PCI: Always set prefetchable base/limit upper32 registers
On Mon, Nov 30, 2009 at 04:09:19PM -0800, Yinghai Lu wrote:
> Grant Grundler wrote:
> > On Mon, Nov 30, 2009 at 03:32:13PM -0800, Yinghai Lu wrote:
> >> IORESOURCE_MEM_64 get set when PCI_PREF_RANGE_TYPE_64 is set.
> >
> > PCI_PREF_RANGE_TYPE_64 is when we read BARs. It doesn't indicate
> > anything about PCI Bridge Window registers AFAIK.
> >
>
> please double check pci-to-pci bridge 1.2, in page 47.

My apologies. You are correct:
The bottom 4 bits of both the Prefetchable Memory Base and
Prefetchable Memory Limit registers are read-only, contain
the same value, and encode whether or not the bridge supports
64-bit addresses. If these four bits have the value 0h, then
the bridge supports only 32 bit addresses. If these four bits
have the value 01h, then the bridge supports 64-bit addresses
and the Prefetchable Base Upper 32 Bits and Prefetchable Limit
Upper 32 Bits registers hold the rest of the 64-bit prefetchable
base and limit addresses respectively.

thanks,
grant


\
 
 \ /
  Last update: 2009-12-01 01:19    [W:0.072 / U:0.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site