We were referencing the book <<PCI Express System Architecture>> Chapter 21: PCI Express Enumeration (Enumerating a System with Multiple Root Complexes)
For now I'm not sure about a simpler way to identify root nodes.
--
Jilong Kuang Ph.D. C.Sci. | Samsung Research America – Silicon Valley (SRA-SV)
Senior Research Engineer, Computer Science Lab
t: 408-544-2705 c: 951-318-2995
jilong.kuang@...60...
Please consider the environment before printing this email.
This message is intended only for the named recipient(s) above and may contain confidential or privileged information or protected attorney work product. If you are not the intended recipient, any review, dissemination, distribution or copying is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this message and its attachments from your computer and dispose of all other copies or printouts. Thank you.
-----Original Message-----
From: Christian Helmuth [mailto:christian.helmuth@...1...]
Sent: Tuesday, June 18, 2013 11:33 AM
To: genode-main@lists.sourceforge.net
Subject: Re: Pci driver can not handle multiple root complex system
Hello,
On Tue, Jun 18, 2013 at 05:14:31PM +0000, Jilong Kuang - SISA wrote:
> I guess the reason why current code doesn't cover all devices is that
> it assumes all devices can be scanned through recursive function call
> starting from bus 0 (a single tree structure).
> However, when there are multiple root complexes, there are more than
> one tree. So one has to explicitly jump to the next root node and
> search its tree.
Is there any documentation or best practice how to discover "root nodes"? Do we need ACPI or other platform information for that?
Scanning through all possible PCI nodes sounds not desirable as it takes its time.
Regards
--
Christian Helmuth
Genode Labs
http://www.genode-labs.com/ ·
http://genode.org/ https://twitter.com/GenodeLabs · /ˈdʒiː.nəʊd/
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Genode-main mailing list
Genode-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/genode-main