Skip to content

Virtio support for toolstack on Arm (Was "IOREQ feature (+ virtio-mmio) on Arm")

Oleksandr Tyshchenko xen-devel 14 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v11 Latest3 patches 6 repliesIn review
  2. v103 patches 15 repliesSuperseded
  3. v92 patches 5 repliesSuperseded
Earlier versions · 11
VersionPostedPatchesRepliesStatus
v82 patches7 repliesSuperseded
v72 patches20 repliesSuperseded
v6 posting 2/22 patches17 repliesSuperseded
v5 posting 3/32 patches6 repliesSuperseded
v5 posting 2/30 of 2 patches1 replySuperseded
v6 posting 1/224 patches28 repliesSuperseded
v5 posting 1/322 patches70 repliesSuperseded
v424 patches101 repliesSuperseded
v323 patches97 repliesSuperseded
v223 patches85 repliesSuperseded
v116 patches94 repliesSuperseded

Patches in v11 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3libxl: Add support for Virtio disk configurationdocs/man/xl-disk-configuration.5.pod.in tools/golang/xenlight/helpers.gen.go tools/golang/xenlight/types.gen.go +11 more+798 -4801 reply
1/3libxl: Add support for Virtio disk configurationdocs/man/xl-disk-configuration.5.pod.in tools/golang/xenlight/helpers.gen.go tools/golang/xenlight/types.gen.go +11 more+798 -4805 replies
2/3libxl: Introduce basic virtio-mmio support on Armtools/libs/light/libxl_arm.c xen/include/public/arch-arm.h+126 -20 replies
3/3libxl/arm: Create specific IOMMU node to be referred by virtio-mmio devicetools/libs/light/libxl_arm.c xen/include/public/device_tree_defs.h+48 -40 replies

Reviews trailers per patch

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

PatchStefano StabelliniAnthony PERARDJiamei XieHenry Wang
1/3R-b T-b T-b
1/3R-b T-b T-b
2/3R-b R-b
3/3R-b R-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 4 reviewers.

Read the v11 thread

Cover letter [PATCH V11 0/3] Virtio support for toolstack on Arm (Was "IOREQ feature (+ virtio-mmio) on Arm")

From: Oleksandr Tyshchenko <[email protected]>

Hello all.

The purpose of this patch series is to add missing virtio-mmio bits to Xen toolstack on Arm. The Virtio support for toolstack [1] was postponed as the main target was to upstream IOREQ/DM support on Arm in the first place. Now, we already have IOREQ support in, so we can resume Virtio enabling work. You can find previous discussions at [2].

Patch series [3] is based on recent "staging" branch
(bf2f989531ad3851685a1847cbc1e28901ed80a2 public/io: xs_wire: Document that new errors should be added at the end) and tested on Renesas Salvator-X board + H3 ES3.0 SoC (Arm64) with virtio-mmio based virtio-disk backend [4] running in Dom0 (or Driver domain) and unmodified Linux Guest running on existing virtio-blk driver (frontend). No issues were observed. Guest domain 'reboot/destroy' use-cases work properly.

!!! All patches except "libxl: Add support for Virtio disk configuration" have Stefano's and Anthony's R-b tags. Anthony already gave his R-b and George already gave his A-b (golang changes) for
"libxl: Add support for Virtio disk configuration", but I dropped them due to the changes(s/other/standalone for the backendtype).

Any feedback/help would be highly appreciated.

[1]
https://lore.kernel.org/xen-devel/[email protected]/
https://lore.kernel.org/xen-devel/[email protected]/
[2]
https://lists.xenproject.org/archives/html/xen-devel/2021-01/msg02403.html
https://lists.xenproject.org/archives/html/xen-devel/2021-01/msg02536.html
https://lore.kernel.org/xen-devel/[email protected]/
https://lore.kernel.org/xen-devel/[email protected]/
https://lore.kernel.org/xen-devel/[email protected]/
https://lore.kernel.org/xen-devel/[email protected]/
https://lore.kernel.org/xen-devel/[email protected]/
https://lore.kernel.org/xen-devel/[email protected]/
https://lore.kernel.org/xen-devel/[email protected]/
https://lore.kernel.org/xen-devel/[email protected]/

[3] https://github.com/otyshchenko1/xen/commits/libxl_virtio_next4
[4] https://github.com/otyshchenko1/virtio-disk/commits/virtio_grant

Julien Grall (1):
libxl: Introduce basic virtio-mmio support on Arm

Oleksandr Tyshchenko (2):
libxl: Add support for Virtio disk configuration libxl/arm: Create specific IOMMU node to be referred by virtio-mmio
device

 docs/man/xl-disk-configuration.5.pod.in   |  38 +-
 tools/golang/xenlight/helpers.gen.go      |   8 +
 tools/golang/xenlight/types.gen.go        |  18 +
 tools/include/libxl.h                     |   7 +
 tools/libs/light/libxl_arm.c              | 164 +++-
 tools/libs/light/libxl_device.c           |  62 +-
 tools/libs/light/libxl_disk.c             | 146 +++-
 tools/libs/light/libxl_internal.h         |   2 +
 tools/libs/light/libxl_types.idl          |  18 +
 tools/libs/light/libxl_types_internal.idl |   1 +
 tools/libs/light/libxl_utils.c            |   2 +
 tools/libs/util/libxlu_disk_l.c           | 959 +++++++++++-----------
 tools/libs/util/libxlu_disk_l.h           |   2 +-
 tools/libs/util/libxlu_disk_l.l           |   9 +
 tools/xl/xl_block.c                       |   6 +
 xen/include/public/arch-arm.h             |   7 +
 xen/include/public/device_tree_defs.h     |   3 +-
 17 files changed, 969 insertions(+), 483 deletions(-)
Signature · 1 line
2.25.1