3 ms·
I've worked on this before. We had explicit help from AMD - their documentation is better than Intels for this stuff, but still. if it weren't for linux's depe
by convolvatron 4y ago
I've worked on this before. We had explicit help from AMD - their documentation is better than Intels for this stuff, but still.
if it weren't for linux's dependence on the bios pci and memory probes, you could really cut out all that crap. you need to program the memory controllers and bring in the kernel from storage.
- Teknoman117 4y agoIs Linux actually dependent on the firmware's PCIe probe? You can have the kernel do probe and enumeration if you want. (Outside of the process of getting into the kernel. Most x86 users are going to be booting off of storage that's behind PCIe somehow.) Edit - for clarity, I mean calling back into firmware after boot for PCIe functionality.
- convolvatron 4y agooh no, my recollection was that at least at the time, linux used the apci pci traversal to start driver discovery instead of doing its own. obviously after that it assumes complete control of the device tree.