Re: [RFC v4 4/7] PCI: hv: Generify PCI probing
From: Bjorn Helgaas <helgaas@kernel.org>
Date: 2021-07-14 20:03:57
Also in:
linux-hyperv, linux-pci, lkml
From: Bjorn Helgaas <helgaas@kernel.org>
Date: 2021-07-14 20:03:57
Also in:
linux-hyperv, linux-pci, lkml
On Wed, Jul 14, 2021 at 06:27:34PM +0800, Boqun Feng wrote:
From: Arnd Bergmann <arnd@arndb.de> In order to support ARM64 Hyper-V PCI, we need to set up the bridge at probing time because ARM64 is a PCI_DOMAIN_GENERIC arch and we don't have pci_config_window (ARM64 sysdata) for a PCI root bus on Hyper-V, so it's impossible to retrieve the information (e.g. PCI domains, irq domains) from bus sysdata on ARM64 after creation. Originally in create_root_hv_pci_bus(), pci_create_root_bus() is used to create the root bus and the corresponding bridge based on x86 sysdata. Now we create a bridge first and then call pci_scan_root_bus_bridge(), which allows us to do the necessary set-ups for the bridge.
Also here and other patches in this series: s/irq/IRQ/ s/msi/MSI/ in subject lines, commit logs, comments. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel