Skip to content

Virtio-over-PCIe on non-MIC

Vincent Whitchurch lkml virtualization 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 2 repliesIn review
  2. v18 patches 20 repliesSuperseded

Changes in v2 from the cover letter

- Rebase on top of the patches which have merged
- Use unsigned long instead of uintptr_t
- Drop "Use consistent DMA" for now since it's not needed for loopback
- Add race fix
- Build on all architectures, not just ARM and x86
- Add sample userspace code

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7vop: Cast pointers to unsigned longdrivers/misc/mic/vop/vop_main.c drivers/misc/mic/vop/vop_vringh.c+12 -60 replies
1/7mic: vop: Cast pointers to unsigned longdrivers/misc/mic/vop/vop_main.c drivers/misc/mic/vop/vop_vringh.c+12 -60 replies
2/7mic: Rename ioremap pointer to remapdrivers/misc/mic/bus/scif_bus.h drivers/misc/mic/bus/vop_bus.h drivers/misc/mic/card/mic_device.c +4 more+26 -270 replies
3/7mic: vop: Allow building on more systemsdrivers/misc/mic/Kconfig+1 -20 replies
3/7vop: Allow building on more systemsdrivers/misc/mic/Kconfig+1 -20 replies
4/7mic: vop: Add loopback driverdrivers/misc/mic/Kconfig drivers/misc/mic/vop/Makefile drivers/misc/mic/vop/vop_loopback.c+394 -02 replies
4/7vop: Add loopback driverdrivers/misc/mic/Kconfig drivers/misc/mic/vop/Makefile drivers/misc/mic/vop/vop_loopback.c+394 -00 replies
5/7mic: vop: Fix init race with shared interruptsdrivers/misc/mic/vop/vop_main.c+39 -30 replies
6/7samples: mic: Split out vop code from mpssdsamples/mic/mpssd/Makefile samples/mic/mpssd/mpssd.c samples/mic/mpssd/mpssd.h +1 more+1364 -13150 replies
7/7samples: mic: Add sample VOP userspacesamples/mic/mpssd/.gitignore samples/mic/mpssd/Makefile samples/mic/mpssd/vopd.c+30 -10 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 char-misc-next 0/7] Virtio-over-PCIe on non-MIC

This allows the drivers/misc/mic/vop/ code to be used on other architectures and adds a loopback driver to be able to use/test/evaluate it without special hardware.

See v1 for more info:
https://lore.kernel.org/lkml/[email protected]/

v2:
- Rebase on top of the patches which have merged
- Use unsigned long instead of uintptr_t
- Drop "Use consistent DMA" for now since it's not needed for loopback
- Add race fix
- Build on all architectures, not just ARM and x86
- Add sample userspace code

Vincent Whitchurch (7):
mic: vop: Cast pointers to unsigned long
mic: Rename ioremap pointer to remap
mic: vop: Allow building on more systems
mic: vop: Add loopback driver
mic: vop: Fix init race with shared interrupts
samples: mic: Split out vop code from mpssd
samples: mic: Add sample VOP userspace

 drivers/misc/mic/Kconfig            |   13 +-
 drivers/misc/mic/bus/scif_bus.h     |    8 +-
 drivers/misc/mic/bus/vop_bus.h      |    8 +-
 drivers/misc/mic/card/mic_device.c  |    8 +-
 drivers/misc/mic/host/mic_boot.c    |    8 +-
 drivers/misc/mic/scif/scif_map.h    |    4 +-
 drivers/misc/mic/vop/Makefile       |    2 +
 drivers/misc/mic/vop/vop_loopback.c |  382 ++++++++
 drivers/misc/mic/vop/vop_main.c     |   62 +-
 drivers/misc/mic/vop/vop_vringh.c   |   15 +-
 samples/mic/mpssd/.gitignore        |    1 +
 samples/mic/mpssd/Makefile          |    9 +-
 samples/mic/mpssd/mpssd.c           | 1317 +-------------------------
 samples/mic/mpssd/mpssd.h           |    1 +
 samples/mic/mpssd/vop.c             | 1357 +++++++++++++++++++++++++++
 samples/mic/mpssd/vopd.c            |   25 +
 16 files changed, 1866 insertions(+), 1354 deletions(-)
 create mode 100644 drivers/misc/mic/vop/vop_loopback.c
 create mode 100644 samples/mic/mpssd/vop.c
 create mode 100644 samples/mic/mpssd/vopd.c
Signature · 1 line
2.20.0