All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V10 0/3] Virtio support for toolstack on Arm (Was "IOREQ feature (+ virtio-mmio) on Arm")
@ 2022-06-13 18:05 Oleksandr Tyshchenko
  2022-06-13 18:05 ` [PATCH V10 1/3] libxl: Add support for Virtio disk configuration Oleksandr Tyshchenko
                   ` (2 more replies)
  0 siblings, 3 replies; 20+ messages in thread
From: Oleksandr Tyshchenko @ 2022-06-13 18:05 UTC (permalink / raw)
  To: xen-devel
  Cc: Oleksandr Tyshchenko, Wei Liu, Anthony PERARD, George Dunlap,
	Nick Rosbrook, Juergen Gross, Stefano Stabellini, Julien Grall,
	Bertrand Marquis, Volodymyr Babchuk, Andrew Cooper, Jan Beulich,
	Wei Chen, Kaly Xin, Jiamei Xie, Henry Wang, Alex Bennée

From: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>

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
(c9a707df83aad17a6fcf2e8330ab3b5bead6fb8b xen/arm: mm: Re-implement setup_frame_table_mappings() with map_pages_to_xen())
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.

!!! Please note, for V10 I included commit "libxl/arm: Create specific IOMMU node to be referred by virtio-mmio
devices" which depends on the current series [5]. All patches except "libxl: Add support for Virtio disk
configuration" have Stefano's and Anthony's R-b tags.

Any feedback/help would be highly appreciated.

[1]
https://lore.kernel.org/xen-devel/1610488352-18494-24-git-send-email-olekstysh@gmail.com/
https://lore.kernel.org/xen-devel/1610488352-18494-25-git-send-email-olekstysh@gmail.com/
[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/1621626361-29076-1-git-send-email-olekstysh@gmail.com/
https://lore.kernel.org/xen-devel/1638982784-14390-1-git-send-email-olekstysh@gmail.com/
https://lore.kernel.org/xen-devel/1649442065-8332-1-git-send-email-olekstysh@gmail.com/
https://lore.kernel.org/xen-devel/1651598763-12162-1-git-send-email-olekstysh@gmail.com/
https://lore.kernel.org/xen-devel/1654106261-28044-1-git-send-email-olekstysh@gmail.com/

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

[5] https://lore.kernel.org/xen-devel/1653944813-17970-1-git-send-email-olekstysh@gmail.com/
    https://lore.kernel.org/xen-devel/1654197833-25362-1-git-send-email-olekstysh@gmail.com/

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             | 140 ++++-
 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                       |  11 +
 xen/include/public/arch-arm.h             |   7 +
 xen/include/public/device_tree_defs.h     |   3 +-
 17 files changed, 968 insertions(+), 483 deletions(-)

-- 
2.7.4



^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2022-07-15 16:01 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-13 18:05 [PATCH V10 0/3] Virtio support for toolstack on Arm (Was "IOREQ feature (+ virtio-mmio) on Arm") Oleksandr Tyshchenko
2022-06-13 18:05 ` [PATCH V10 1/3] libxl: Add support for Virtio disk configuration Oleksandr Tyshchenko
2022-06-15 14:23   ` Anthony PERARD
2022-06-15 16:32     ` Oleksandr
2022-06-17 14:29       ` Anthony PERARD
2022-06-17 15:34         ` Oleksandr
2022-06-17 16:14           ` Oleksandr Tyshchenko
2022-06-23 10:24             ` [PATCH V10.1 " Anthony PERARD
2022-06-23 13:09               ` Oleksandr Tyshchenko
2022-06-24 12:59             ` [PATCH V10 " George Dunlap
2022-06-25 14:32               ` Oleksandr
2022-06-30 12:18                 ` Oleksandr
2022-06-30 12:24                   ` Juergen Gross
2022-06-30 18:34                     ` Oleksandr
2022-07-13  0:01                   ` George Dunlap
2022-07-13  8:03                     ` Oleksandr Tyshchenko
2022-07-15 15:24                       ` Anthony PERARD
2022-07-15 16:01                         ` Oleksandr Tyshchenko
2022-06-13 18:05 ` [PATCH V10 2/3] libxl: Introduce basic virtio-mmio support on Arm Oleksandr Tyshchenko
2022-06-13 18:05 ` [PATCH V10 3/3] libxl/arm: Create specific IOMMU node to be referred by virtio-mmio device Oleksandr Tyshchenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.