[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190222153056.18878-1-vincent.whitchurch@axis.com>
Date: Fri, 22 Feb 2019 16:30:46 +0100
From: Vincent Whitchurch <vincent.whitchurch@...s.com>
To: sudeep.dutt@...el.com, ashutosh.dixit@...el.com,
gregkh@...uxfoundation.org, arnd@...db.de
Cc: linux-kernel@...r.kernel.org,
virtualization@...ts.linux-foundation.org,
Vincent Whitchurch <rabinv@...s.com>
Subject: [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/20190116163253.23780-1-vincent.whitchurch@axis.com/
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
--
2.20.0
Powered by blists - more mailing lists