MPC8641D PEX: programming OWBAR in Endpoint mode?

Chen, Tiejun Tiejun.Chen at windriver.com
Fri Sep 24 15:09:34 EST 2010


> -----Original Message-----
> From: david.hagood at gmail.com [mailto:david.hagood at gmail.com] 
> Sent: Thursday, September 23, 2010 10:44 PM
> To: Chen, Tiejun
> Cc: David Hagood; linuxppc-dev at ozlabs.org
> Subject: RE: MPC8641D PEX: programming OWBAR in Endpoint mode?
> 
> >> -----Original Message-----
>  via the BARs.
> >
> > I read your email again and something hint me. I notice you clarify 
> > you already condigure InBound successfully.
> 
> I am programming BOTH the inbound ATMUs to make PPC memory 
> available to the root complex, AND programming outbound ATMUs 
> to enable the PPC to bus master to the root complex's memory 
> space on PCIe.
> 

Right but this should be done for RC mode, not for EP mode we're
discussing.

Tiejun

> I am NOT attempting to program the IWBARs - as you noted, 
> they get programmed by the root complex via PCI config operations.
> 
> >
> >  And as my above comment I'm afraid you mix up InBound and 
> OutBound on 
> > EP mode?
> 
> No, I am NOT confusing the two - that is why I am being VERY 
> EXPLICIT about accessing the OUTBOUND ATMUs.
> 
> The only reason I mention the inbound ATMUs is to demonstrate 
> that the physical layer is working.
> 
> 
> 


More information about the Linuxppc-dev mailing list