Skip to content

Introduce a vringh accessor for IO memory

Shunsuke Mie kvm lkml llvm netdev oe-kbuild-all virtualization 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest1 patch 4 repliesIn review
  2. v31 patch 4 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1vringh: IOMEM supportdrivers/vhost/vringh.c include/linux/vringh.h+233 -04 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [PATCH v4 0/1] Introduce a vringh accessor for IO memory

Vringh is a host-side implementation of virtio rings, and supports the vring located on three kinds of memories, userspace, kernel space and a space translated iotlb.

This patch introduces a new accessor for the vring on IO memory regions. The accessor is used by the proposed PCIe endpoint virtio-{net[1], console[2]} function drivers, which emulate a virtio device and access the virtio ring on PCIe host memory mapped to the local IO memory region.

- [1] PCIe endpoint virtio-net function driver

- [2] PCIe endpoint virtio-console function driver

Changes from:

v3: https://lore.kernel.org/virtualization/[email protected]/
- Remove a kconfig option that is for this support
- Add comments to exported functions
- Remove duplicated newlines

rfc v2: https://lore.kernel.org/virtualization/[email protected]/
- Focus on a adding io memory APIs
- Rebase on next-20230414

rfc v1: https://lore.kernel.org/virtualization/[email protected]/
- Initial patchset

Shunsuke Mie (1):
vringh: IOMEM support

 drivers/vhost/vringh.c | 201 +++++++++++++++++++++++++++++++++++++++++
 include/linux/vringh.h |  32 +++++++
 2 files changed, 233 insertions(+)
Signature · 1 line
2.25.1