Recursive pci scan hanging on some PC's?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Ethin
Member
Member
Posts: 625
Joined: Sun Jun 23, 2019 5:36 pm
Location: North Dakota, United States

Re: Recursive pci scan hanging on some PC's?

Post by Ethin »

So I have a question about this. The PCI article talks about buses, devices and functions, but what about segment groups? How do we check for those with the recursive method?
User avatar
qookie
Member
Member
Posts: 72
Joined: Sun Apr 30, 2017 12:16 pm
Libera.chat IRC: qookie
Location: Poland

Re: Recursive pci scan hanging on some PC's?

Post by qookie »

IIRC each MCFG region defines the bus range and a segment. You only need to scan buses within each segment as bridges don't cross segments as far as I'm aware (since there's nowhere to store the target segment in the bridge configuration header for example).
Working on managarm.
Post Reply