Skip to content

PCI: re-work pci_get_pdev() and friends

Jan Beulich xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 10 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3PCI: simplify (and thus correct) pci_get_pdev{,_by_domain}()xen/drivers/passthrough/pci.c xen/include/xen/pci.h+29 -383 replies
2/3PCI: fold pci_get_pdev{,_by_domain}()xen/arch/x86/irq.c xen/arch/x86/msi.c xen/arch/x86/pci.c +9 more+37 -515 replies
3/3PCI: bring pci_get_real_pdev() in line with pci_get_pdev()xen/drivers/passthrough/amd/iommu_init.c xen/drivers/passthrough/pci.c xen/include/xen/pci.h+8 -112 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAndrew CooperRahul SinghJan Beulich
SeriesR-b
1/3R-b R-b T-b
2/3R-b T-b
3/3R-b R-b T-b

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.

Read the v2 thread

Cover letter [PATCH v2 0/3] PCI: re-work pci_get_pdev() and friends

The two previously submitted bug fixes can actually be had as a side effect of eliminating a bogus feature, the last use of which had disappeared a while ago. Further cleanup then follows along the lines of what had also been discussed in the context of the earlier attempts.

1: simplify (and thus correct) pci_get_pdev{,_by_domain}() 2: fold pci_get_pdev{,_by_domain}()
3: bring pci_get_real_pdev() in line with pci_get_pdev()

Jan