Skip to content

dom0less pci passthrough support on Arm part 1

Mykyta Poturai xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 7 repliesIn review
  2. v13 patches 6 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3arm/pci: Add pci-scan boot argumentdocs/misc/xen-command-line.pandoc xen/arch/arm/include/asm/pci.h xen/arch/arm/pci/pci-host-common.c +1 more+33 -21 reply
2/3xen/pci: modify pci_add_device to handle device add by Xenxen/arch/x86/physdev.c xen/drivers/passthrough/pci.c xen/drivers/pci/physdev.c +1 more+28 -182 replies
3/3xen/pci: add discovered PCI device at bootxen/arch/arm/pci/pci.c xen/drivers/passthrough/amd/pci_amd_iommu.c xen/drivers/passthrough/pci.c +2 more+33 -194 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchStefano Stabellini
1/3A-b
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] dom0less pci passthrough support on Arm part 1

This series adds basic PCI device enumeration in Xen. This will allow us to not rely on Dom0 enumeration for supported controllers, which will enable PCI passthrough for dom0less setups.

Enumeration is disabled by default and can be enabled with "pci-scan" cmdline option. Discovered devices are added to Xen and assigned to dom_io by default.

Edward Pickup (1):
arm/pci: Add pci-scan boot argument

Luca Fancellu (2):
xen/pci: modify pci_add_device to handle device add by Xen xen/pci: add discovered PCI device at boot

 docs/misc/xen-command-line.pandoc           |  7 ++
 xen/arch/arm/include/asm/pci.h              |  3 +
 xen/arch/arm/pci/pci-host-common.c          |  1 +
 xen/arch/arm/pci/pci.c                      | 25 +++++++-
 xen/arch/x86/physdev.c                      |  9 ++-
 xen/drivers/passthrough/amd/pci_amd_iommu.c |  2 +-
 xen/drivers/passthrough/pci.c               | 71 ++++++++++++++-------
 xen/drivers/passthrough/vtd/iommu.c         |  2 +-
 xen/drivers/pci/physdev.c                   |  3 +-
 xen/include/xen/pci.h                       | 10 +--
 10 files changed, 94 insertions(+), 39 deletions(-)
Signature · 1 line
2.34.1