Skip to content

PCI devices passthrough on Arm, part 2

Oleksandr Andrushchenko xen-devel 13 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 posting 2/213 patches 124 repliesIn review
  2. v8 Latest4 patches 8 repliesIn review
  3. v5 posting 2/214 patches 115 repliesSuperseded
Earlier versions · 10
VersionPostedPatchesRepliesStatus
v77 patches19 repliesSuperseded
v4 posting 2/211 patches89 repliesSuperseded
v6 posting 1/27 patches35 repliesSuperseded
v5 posting 1/210 patches23 repliesSuperseded
v4 posting 1/211 patches15 repliesSuperseded
v3 posting 2/211 patches86 repliesSuperseded
v3 posting 1/211 patches14 repliesSuperseded
v2 posting 2/211 patches32 repliesSuperseded
v2 posting 1/211 patches37 repliesSuperseded
v19 patches65 repliesSuperseded

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4xen/arm: add pci-domain for disabled devicesxen/arch/arm/domain_build.c xen/arch/arm/pci/pci-host-common.c xen/include/asm-arm/pci.h+66 -160 replies
2/4xen/arm: setup MMIO range trap handlers for hardware domainxen/arch/arm/domain.c xen/arch/arm/pci/pci-host-common.c xen/arch/arm/vpci.c +2 more+102 -104 replies
3/4xen/arm: account IO handler for emulated PCI host bridgexen/arch/arm/vpci.c+5 -11 reply
4/4xen/arm: do not map PCI ECAM and MMIO space to Domain-0's p2mxen/arch/arm/domain_build.c xen/arch/arm/pci/ecam.c xen/arch/arm/pci/pci-host-common.c +3 more+126 -281 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchRahul SinghJulien Grall
1/4R-b T-b A-b
2/4R-b T-b A-b
3/4R-b T-b A-b
4/4R-b T-b R-b

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

Read the v8 thread

Cover letter [PATCH v8 0/4] PCI devices passthrough on Arm, part 2

From: Oleksandr Andrushchenko <[email protected]>

Hi, all!

This is an assorted series of patches which aim is to make some further basis for PCI passthrough on Arm support. The series continues the work published earlier by Arm [1] and adds new helpers and clears the way for vPCI changes which will follow.

RFC is at [2], [3]. Design presentation can be found at [4].

I have removed patch
[PATCH v6 5/7] xen/arm: do not map IRQs and memory for disabled devices as it seems that this needs more time for decision on how to achive that.

I have also added a new patch
[PATCH v7 4/7] xen/arm: account IO handler for emulated PCI host bridge with a tiny latent bug fix.

This series contains all the patches which are left un-committed yet.

Thank you,
Oleksandr

[1] https://patchwork.kernel.org/project/xen-devel/list/?series=558681
[2] https://lists.xenproject.org/archives/html/xen-devel/2020-07/msg01184.html
[3] https://lists.xenproject.org/archives/html/xen-devel/2020-07/threads.html#01184
[4] https://static.sched.com/hosted_files/xen2021/e4/PCI_Device_Passthrough_On_Arm.pdf

Oleksandr Andrushchenko (4):
xen/arm: add pci-domain for disabled devices xen/arm: setup MMIO range trap handlers for hardware domain xen/arm: account IO handler for emulated PCI host bridge xen/arm: do not map PCI ECAM and MMIO space to Domain-0's p2m

 xen/arch/arm/domain.c              |   2 +
 xen/arch/arm/domain_build.c        | 132 ++++++++++++++++++++---------
 xen/arch/arm/pci/ecam.c            |  14 +++
 xen/arch/arm/pci/pci-host-common.c |  77 ++++++++++++++++-
 xen/arch/arm/pci/pci-host-zynqmp.c |   1 +
 xen/arch/arm/vpci.c                |  85 ++++++++++++++++---
 xen/arch/arm/vpci.h                |   6 ++
 xen/include/asm-arm/pci.h          |  22 +++++
 xen/include/asm-arm/setup.h        |  13 +++
 9 files changed, 298 insertions(+), 54 deletions(-)
Signature · 1 line
2.25.1