On Fri, Jun 22, 2012 at 11:28:15AM -0600, Stephen Warren wrote: > On 06/22/2012 11:00 AM, Stephen Warren wrote: > > On 06/22/2012 05:00 AM, Thierry Reding wrote: > > ... > >> Stephen: can you try to find out whether the Tegra PCIe controller > >> indeed implements ECAM, or if this scheme is actually just a > >> proprietary variant? > > > > Sure. I have added this request to the bug I filed requesting more > > complete PCIe host documentation. > > I've received unofficial confirmation that we do indeed implement a > non-standard/non-ECAM mapping, and what's in our driver matches our HW. What I don't quite see yet is how the extended configuration space is supposed to work with the current driver. The PCIE_CONF_* macros don't provide for registers >= 256. Passing a value higher than that will mess with the device function field. Thierry
Attachment:
pgpwkQWNdlJVC.pgp
Description: PGP signature