Skip to content

PCI devices passthrough on Arm, part 2

Oleksandr Andrushchenko xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 57 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11xen/arm: Add new device type for PCIxen/include/asm-arm/device.h+3 -32 replies
2/11xen/arm: Add dev_to_pci helperxen/arch/arm/pci/pci.c xen/include/asm-arm/pci.h+17 -00 replies
3/11xen/arm: Introduce pci_find_host_bridge_node helperxen/arch/arm/pci/pci-host-common.c xen/include/asm-arm/pci.h+18 -00 replies
4/11xen/device-tree: Make dt_find_node_by_phandle globalxen/common/device_tree.c xen/include/xen/device_tree.h+3 -10 replies
5/11xen/arm: Mark device as PCI while creating onexen/drivers/passthrough/pci.c+3 -02 replies
6/11xen/domain: Call pci_release_devices() when releasing domain resourcesxen/arch/arm/domain.c+8 -11 reply
7/11libxl: Allow removing PCI devices for all types of domainstools/libs/light/libxl_pci.c+0 -20 replies
8/11libxl: Only map legacy PCI IRQs if they are supportedtools/libs/light/Makefile tools/libs/light/libxl_pci.c+17 -04 replies
9/11xen/arm: Setup MMIO range trap handlers for hardware domainxen/arch/arm/pci/ecam.c xen/arch/arm/pci/pci-host-common.c xen/arch/arm/vpci.c +1 more+48 -019 replies
10/11xen/arm: Do not map PCI ECAM 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 +1 more+54 -021 replies
11/11xen/arm: Process pending vPCI map/unmap operationsxen/arch/arm/traps.c+6 -08 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/11] 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.

Thank you,
Oleksandr

[1] https://patchwork.kernel.org/project/xen-devel/cover/[email protected]/

Oleksandr Andrushchenko (10):
xen/arm: Add new device type for PCI
xen/arm: Add dev_to_pci helper
xen/arm: Introduce pci_find_host_bridge_node helper xen/device-tree: Make dt_find_node_by_phandle global xen/arm: Mark device as PCI while creating one
libxl: Allow removing PCI devices for all types of domains
libxl: Only map legacy PCI IRQs if they are supported xen/arm: Setup MMIO range trap handlers for hardware domain xen/arm: Do not map PCI ECAM space to Domain-0's p2m xen/arm: Process pending vPCI map/unmap operations

Oleksandr Tyshchenko (1):
xen/domain: Call pci_release_devices() when releasing domain resources

 tools/libs/light/Makefile          |  4 +++
 tools/libs/light/libxl_pci.c       | 15 ++++++--
 xen/arch/arm/domain.c              |  9 ++++-
 xen/arch/arm/domain_build.c        |  3 ++
 xen/arch/arm/pci/ecam.c            | 28 +++++++++++++++
 xen/arch/arm/pci/pci-host-common.c | 55 ++++++++++++++++++++++++++++++
 xen/arch/arm/pci/pci.c             | 10 ++++++
 xen/arch/arm/traps.c               |  6 ++++
 xen/arch/arm/vpci.c                | 13 +++++++
 xen/common/device_tree.c           |  2 +-
 xen/drivers/passthrough/pci.c      |  3 ++
 xen/include/asm-arm/device.h       |  6 ++--
 xen/include/asm-arm/pci.h          | 30 +++++++++++++++-
 xen/include/xen/device_tree.h      |  2 ++
 14 files changed, 178 insertions(+), 8 deletions(-)
Signature · 1 line
2.25.1