[PATCH v3 0/4] Virtio-over-PCIe loopback

From: Vincent Whitchurch
Date: Wed Apr 03 2019 - 06:47:54 EST


This adds a loopback driver to be able to use/test/evaluate the
drivers/misc/mic/vop/ code without special hardware.

See v1 for more info:
https://lore.kernel.org/lkml/20190116163253.23780-1-vincent.whitchurch@xxxxxxxx/

v3:
- Rebase on top of merged patches
- Resend since last posting had duplicate patches

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 (4):
mic: vop: Fix init race with shared interrupts
mic: vop: Add loopback driver
samples: mic: Split out vop code from mpssd
samples: mic: Add sample VOP userspace

drivers/misc/mic/Kconfig | 10 +
drivers/misc/mic/vop/Makefile | 2 +
drivers/misc/mic/vop/vop_loopback.c | 382 ++++++++
drivers/misc/mic/vop/vop_main.c | 42 +-
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 +
10 files changed, 1827 insertions(+), 1319 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

--
2.20.0