From: Vincent Whitchurch <vincent.whitchurch@axis.com>
To: sudeep.dutt@intel.com, ashutosh.dixit@intel.com,
gregkh@linuxfoundation.org, arnd@arndb.de
Cc: linux-kernel@vger.kernel.org,
virtualization@lists.linux-foundation.org,
Vincent Whitchurch <rabinv@axis.com>
Subject: [PATCH v3 0/4] Virtio-over-PCIe loopback
Date: Wed, 3 Apr 2019 12:47:42 +0200 [thread overview]
Message-ID: <20190403104746.16063-1-vincent.whitchurch@axis.com> (raw)
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@axis.com/
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
next reply other threads:[~2019-04-03 10:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-03 10:47 Vincent Whitchurch [this message]
2019-04-03 10:47 ` [PATCH v3 1/4] mic: vop: Fix init race with shared interrupts Vincent Whitchurch
2019-04-03 10:47 ` [PATCH v3 2/4] mic: vop: Add loopback driver Vincent Whitchurch
2019-04-03 10:47 ` [PATCH v3 3/4] samples: mic: Split out vop code from mpssd Vincent Whitchurch
2019-04-03 10:47 ` [PATCH v3 4/4] samples: mic: Add sample VOP userspace Vincent Whitchurch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190403104746.16063-1-vincent.whitchurch@axis.com \
--to=vincent.whitchurch@axis.com \
--cc=arnd@arndb.de \
--cc=ashutosh.dixit@intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rabinv@axis.com \
--cc=sudeep.dutt@intel.com \
--cc=virtualization@lists.linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®