PCI: hv: Support host bridge probing on ARM64
Status from this message: Applied to pci/hyper-v, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest8 patches 19 repliesApplied
- v5 RFC8 patches 5 repliesSuperseded
- v4 RFC7 patches 9 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 RFC | 7 patches | 4 replies | Superseded | |
| v2 RFC | 7 patches | 7 replies | Superseded |
Patches in v6 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | PCI: Introduce domain_nr in pci_host_bridgedrivers/ include/ | +16 | 0 replies | |
| 2/8 | PCI: Support populating MSI domains of root buses via bridgesdrivers/ | +5 | 1 reply | |
| 3/8 | arm64: PCI: Restructure pcibios_root_bridge_prepare()arch/ | +12 | 1 reply | |
| 4/8 | arm64: PCI: Support root bridge preparation for Hyper-Varch/ | +11 | 4 replies | |
| 5/8 | PCI: hv: Generify PCI probingdrivers/ | +30 | 0 replies | |
| 6/8 | PCI: hv: Set ->domain_nr of pci_host_bridge at probing timedrivers/ | +5 | 0 replies | |
| 7/8 | PCI: hv: Set up MSI domain at bridge probing timedrivers/ | +8 | 0 replies | |
| 8/8 | PCI: hv: Turn on the host bridge probing on ARM64drivers/ | +7 | 4 replies |
Reviews trailers per patch
4 of 8 patches have a Reviewed-by or Acked-by.
| Patch | Bjorn Helgaas | Arnd Bergmann | Catalin Marinas |
|---|---|---|---|
| 1/8 | A-b | ||
| 2/8 | A-b | Originally-by | |
| 3/8 | A-b | ||
| 4/8 | A-b | ||
| 5/8 | |||
| 6/8 | |||
| 7/8 | |||
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v6 0/8] PCI: hv: Support host bridge probing on ARM64
Hi,
This is the v6 for the preparation of virtual PCI support on Hyper-V ARM64, Previous versions:
v1: https://lore.kernel.org/lkml/[email protected]/
v2: https://lore.kernel.org/lkml/[email protected]/
v3: https://lore.kernel.org/lkml/[email protected]/
v4: https://lore.kernel.org/lkml/[email protected]/
v5: https://lore.kernel.org/lkml/[email protected]/
Changes since last version:
* Rebase to 5.14-rc3
* Comment fixes as suggested by Bjorn.
The basic problem we need to resolve is that ARM64 is an arch with PCI_DOMAINS_GENERIC=y, so the bus sysdata is pci_config_window. However, Hyper-V PCI provides a paravirtualized PCI interface, so there is no actual pci_config_window for a PCI host bridge, so no information can be retrieve from the pci_config_window of a Hyper-V virtual PCI bus. Also there is no corresponding ACPI device for the Hyper-V PCI root bridge, which introduces a special case when trying to find the ACPI device from the sysdata (see patch #3).
With this patchset, we could enable the virtual PCI on Hyper-V ARM64 guest with other code under development.
Comments and suggestions are welcome.
Regards,
Boqun
Arnd Bergmann (1):
PCI: hv: Generify PCI probing
Boqun Feng (7):
PCI: Introduce domain_nr in pci_host_bridge
PCI: Support populating MSI domains of root buses via bridges
arm64: PCI: Restructure pcibios_root_bridge_prepare()
arm64: PCI: Support root bridge preparation for Hyper-V
PCI: hv: Set ->domain_nr of pci_host_bridge at probing time
PCI: hv: Set up MSI domain at bridge probing time
PCI: hv: Turn on the host bridge probing on ARM64
arch/arm64/kernel/pci.c | 29 +++++++--- drivers/pci/controller/pci-hyperv.c | 86 +++++++++++++++++------------ drivers/pci/probe.c | 12 +++- include/linux/pci.h | 11 ++++ 4 files changed, 93 insertions(+), 45 deletions(-)
Signature · 1 line
2.32.0