lkml.org 
[lkml]   [2014]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 06/17] pci: host: pcie-designware: Use *base-mask* for configuring the iATU
Date
On Tuesday 13 May 2014 18:56:23 Kishon Vijay Abraham I wrote:
> > If you have a case where the outbound translation is a 256MB (i.e. 28bit)
> > section of the CPU address space, that could be represented as
> >
> > ranges = <0x82000000 0 0 0xb0000000 0 0x10000000>;
> >
> > or
> >
> > ranges = <0x82000000 0 0xb0000000 0xb0000000 0 0x10000000>;
> >
> > depending on whether you want the BARs to be programmed using a low
> > address 0x0-0x0fffffff or an address matching the window
> > 0xb0000000-0xbfffffff.
>
> The problem is, for configuring the window starting at 0xb0000000, the ATU
> should be programmed 0x0000000 (the cpu address for it will be 0xb0000000 though).
>

Then use the first of the two?

Arnd


\
 
 \ /
  Last update: 2014-05-13 16:01    [W:0.107 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site