This main patch in this series is patch 2 - replacement of the recursive scan with a linear scan. The other patches are just cosmetic changes.
Gerd - can you take a look at patch 2. Also, what's your test case for confirming multiple bus initialization? The standard qemu/kvm only has one host bus.
-Kevin
Kevin O'Connor (5): Replace pciinit busses_count with MaxPCIBus. Replace recursive pci init system with linear passes. Locally allocate pciinit busses[] variable. Move pciinit device init code together. Simplify pci_bios_init_root_regions().
src/pciinit.c | 245 +++++++++++++++++++++++++-------------------------------- 1 files changed, 107 insertions(+), 138 deletions(-)