Skip to content

Kconfig for PCI passthrough on ARM

Stewart Hildebrand xen-devel 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest5 patches 26 repliesIn review
  2. v55 patches 6 repliesSuperseded
  3. v45 patches 8 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v35 patches9 repliesSuperseded
v23 patches26 repliesSuperseded
v12 patches4 repliesSuperseded

Changes in v6 from the cover letter

* address feedback in individual patches

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5xen/arm: pci: introduce PCI_PASSTHROUGH Kconfig optionxen/arch/arm/Kconfig+9 -00 replies
2/5xen/vpci: move xen_domctl_createdomain vPCI flag to commontools/libs/light/libxl_x86.c tools/ocaml/libs/xc/xenctrl.ml tools/ocaml/libs/xc/xenctrl.mli +9 more+42 -264 replies
3/5xen/arm: enable vPCI for dom0xen/arch/arm/domain.c xen/arch/arm/domain_build.c xen/arch/arm/include/asm/pci.h +1 more+25 -40 replies
4/5xen/arm: enable vPCI for domUsxen/arch/arm/Kconfig xen/arch/arm/include/asm/domain.h xen/arch/arm/vpci.c +3 more+38 -022 replies
5/5tools/arm: enable vPCI for domUstools/libs/light/libxl_arm.c+3 -00 replies

Reviews trailers per patch

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

PatchJulien GrallChristian Lindig
1/5A-b
2/5A-b
3/5
4/5
5/5

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

Read the v6 thread

Cover letter [PATCH v6 0/5] Kconfig for PCI passthrough on ARM

There are multiple series in development/review [1], [2] that will benefit from having a Kconfig option for PCI passthrough on ARM. Hence I have sent this series independent from any other series.

v5->v6:
* address feedback in individual patches

v4->v5:
* add [FUTURE] tag to ("xen/arm: enable vPCI for dom0")
* address feedback in individual patches

v3->v4:
* rename ("xen/arm: pci: plumb xen_arch_domainconfig with pci info") to ("xen/vpci: move xen_domctl_createdomain vPCI flag to common")
* fold ("xen/arm: make has_vpci() depend on d->arch.has_vpci") into ("xen/vpci: move xen_domctl_createdomain vPCI flag to common")
* split ("xen/arm: enable vPCI for domUs") into separate hypervisor and tools patches

v2->v3:
* add ("xen/arm: pci: plumb xen_arch_domainconfig with pci info")
* rename ("xen/arm: make has_vpci depend on CONFIG_HAS_VPCI")

      to ("xen/arm: make has_vpci() depend on d->arch.has_vpci")

* add ("xen/arm: enable vPCI for dom0")

v1->v2:
* add ("[FUTURE] xen/arm: enable vPCI for domUs")

[1] https://lists.xenproject.org/archives/html/xen-devel/2023-10/msg00660.html
[2] https://lists.xenproject.org/archives/html/xen-devel/2023-10/msg00210.html

Rahul Singh (1):
xen/arm: pci: introduce PCI_PASSTHROUGH Kconfig option

Stewart Hildebrand (4):
xen/vpci: move xen_domctl_createdomain vPCI flag to common [FUTURE] xen/arm: enable vPCI for dom0
[FUTURE] xen/arm: enable vPCI for domUs
[FUTURE] tools/arm: enable vPCI for domUs

 tools/libs/light/libxl_arm.c       |  3 +++
 tools/libs/light/libxl_x86.c       |  2 +-
 tools/ocaml/libs/xc/xenctrl.ml     |  2 +-
 tools/ocaml/libs/xc/xenctrl.mli    |  2 +-
 tools/python/xen/lowlevel/xc/xc.c  |  2 +-
 xen/arch/arm/Kconfig               | 10 ++++++++++
 xen/arch/arm/domain.c              |  3 ++-
 xen/arch/arm/domain_build.c        |  6 ++++++
 xen/arch/arm/include/asm/domain.h  |  5 ++---
 xen/arch/arm/include/asm/pci.h     |  9 +++++++++
 xen/arch/arm/pci/pci-host-common.c | 11 ++++++++---
 xen/arch/arm/vpci.c                |  8 ++++++++
 xen/arch/x86/domain.c              | 20 +++++++++++++++-----
 xen/arch/x86/include/asm/domain.h  |  8 +++-----
 xen/arch/x86/setup.c               |  4 ++--
 xen/common/domain.c                | 15 ++++++++++++++-
 xen/drivers/passthrough/pci.c      | 20 ++++++++++++++++++++
 xen/include/public/arch-x86/xen.h  |  9 +++++----
 xen/include/public/domctl.h        |  6 ++++--
 xen/include/xen/domain.h           |  2 ++
 20 files changed, 117 insertions(+), 30 deletions(-)

base-commit: fb41228ececea948c7953c8c16fe28fd65c6536b

Signature · 1 line
2.42.0