From: Sudeep Dutt <sudeep.dutt@intel.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-kernel@vger.kernel.org,
Ashutosh Dixit <ashutosh.dixit@intel.com>,
Nikhil Rao <nikhil.rao@intel.com>,
Sudeep Dutt <sudeep.dutt@intel.com>
Subject: [PATCH char-misc-testing v2 0/8] Enable Virtio Over PCIe (VOP) driver
Date: Mon, 8 Feb 2016 15:48:10 -0800 [thread overview]
Message-ID: <cover.1454923274.git.sudeep.dutt@intel.com> (raw)
ChangeLog:
=========
v1 => v2:
a) Rebased to latest char-misc-testing
b) Use default private pointer in the device structure instead of adding
a new priv field as per feedback from Greg Kroah-Hartman
v1: Initial post @ https://lkml.org/lkml/2016/2/1/1015
Description:
============
This patch series moves virtio functionality from the MIC host/card
driver into a separate hardware independent Virtio Over PCIe (VOP)
driver. Apart from being moved into a separate driver the functionality
is essentially unchanged. This refactoring allows this hardware
independent logic to be shared easily across multiple generations of
MIC devices. The original commits are listed below for reference:
- commit f69bcbf3b4c4 ("Intel MIC Host Driver Changes for Virtio Devices.")
in drivers/misc/mic/host/mic_virtio.c
- commit 2141c7c5ee67 ("Intel MIC Card Driver Changes for Virtio Devices.")
in drivers/misc/mic/card/mic_virtio.c
The patch series is partitioned as follows:
1) Removes MIC X100 host virtio functionality
2) Removes MIC X100 card virtio functionality
3) Enables the Virtio Over PCIe (VOP) bus which abstracts the
low level hardware details like interrupts and mapping remote
memory so that the same VOP driver can work without changes
with different MIC host or card drivers as long as the hardware
bus operations are implemented.
4) Adds data structures for the VOP driver
5) Enables VOP host side functionality
6) Enables VOP card side functionality
7) Enables VOP debugfs and driver build
8) Implements the MIC host and card driver changes to enable VOP
Ashutosh Dixit (1):
misc: mic: Enable VOP card side functionality
Sudeep Dutt (7):
misc: mic: Remove MIC X100 host virtio functionality
misc: mic: Remove MIC X100 card virtio functionality
misc: mic: MIC VOP Bus
misc: mic: Add data structures for the VOP driver
misc: mic: Enable VOP host side functionality
misc: mic: Enable VOP debugfs and driver build
misc: mic: MIC host and card driver changes to enable VOP
Documentation/mic/mic_overview.txt | 54 +-
drivers/misc/mic/Kconfig | 44 +-
drivers/misc/mic/Makefile | 1 +
drivers/misc/mic/bus/Makefile | 1 +
drivers/misc/mic/card/Makefile | 1 -
drivers/misc/mic/host/Makefile | 2 -
drivers/misc/mic/vop/Makefile | 9 +
drivers/misc/mic/bus/vop_bus.h | 140 +++
drivers/misc/mic/card/mic_device.h | 3 +
drivers/misc/mic/card/mic_virtio.h | 76 --
drivers/misc/mic/host/mic_device.h | 9 +-
drivers/misc/mic/host/mic_fops.h | 32 -
.../misc/mic/{host/mic_virtio.h => vop/vop_main.h} | 129 ++-
Documentation/mic/mpssd/mpssd.c | 2 +-
drivers/misc/mic/bus/vop_bus.c | 203 ++++
drivers/misc/mic/card/mic_device.c | 89 +-
drivers/misc/mic/card/mic_virtio.c | 634 -----------
drivers/misc/mic/card/mic_x100.c | 1 +
drivers/misc/mic/host/mic_boot.c | 125 ++-
drivers/misc/mic/host/mic_debugfs.c | 190 ----
drivers/misc/mic/host/mic_fops.c | 222 ----
drivers/misc/mic/host/mic_main.c | 49 +-
drivers/misc/mic/host/mic_virtio.c | 811 --------------
drivers/misc/mic/vop/vop_debugfs.c | 232 ++++
drivers/misc/mic/vop/vop_main.c | 755 +++++++++++++
drivers/misc/mic/vop/vop_vringh.c | 1164 ++++++++++++++++++++
Documentation/mic/mpssd/mpss | 2 +-
27 files changed, 2864 insertions(+), 2116 deletions(-)
create mode 100644 drivers/misc/mic/vop/Makefile
create mode 100644 drivers/misc/mic/bus/vop_bus.h
delete mode 100644 drivers/misc/mic/card/mic_virtio.h
delete mode 100644 drivers/misc/mic/host/mic_fops.h
rename drivers/misc/mic/{host/mic_virtio.h => vop/vop_main.h} (58%)
create mode 100644 drivers/misc/mic/bus/vop_bus.c
delete mode 100644 drivers/misc/mic/card/mic_virtio.c
delete mode 100644 drivers/misc/mic/host/mic_fops.c
delete mode 100644 drivers/misc/mic/host/mic_virtio.c
create mode 100644 drivers/misc/mic/vop/vop_debugfs.c
create mode 100644 drivers/misc/mic/vop/vop_main.c
create mode 100644 drivers/misc/mic/vop/vop_vringh.c
--
1.8.2.1
next reply other threads:[~2016-02-08 23:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-08 23:48 Sudeep Dutt [this message]
2016-02-08 23:48 ` [PATCH char-misc-testing v2 1/8] misc: mic: Remove MIC X100 host virtio functionality Sudeep Dutt
2016-02-08 23:48 ` [PATCH char-misc-testing v2 2/8] misc: mic: Remove MIC X100 card " Sudeep Dutt
2016-02-08 23:48 ` [PATCH char-misc-testing v2 3/8] misc: mic: MIC VOP Bus Sudeep Dutt
2016-02-08 23:48 ` [PATCH char-misc-testing v2 4/8] misc: mic: Add data structures for the VOP driver Sudeep Dutt
2016-02-08 23:48 ` [PATCH char-misc-testing v2 5/8] misc: mic: Enable VOP host side functionality Sudeep Dutt
2016-02-08 23:48 ` [PATCH char-misc-testing v2 6/8] misc: mic: Enable VOP card " Sudeep Dutt
2016-02-08 23:48 ` [PATCH char-misc-testing v2 7/8] misc: mic: Enable VOP debugfs and driver build Sudeep Dutt
2016-02-08 23:48 ` [PATCH char-misc-testing v2 8/8] misc: mic: MIC host and card driver changes to enable VOP Sudeep Dutt
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=cover.1454923274.git.sudeep.dutt@intel.com \
--to=sudeep.dutt@intel.com \
--cc=ashutosh.dixit@intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nikhil.rao@intel.com \
/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;
as well as URLs for NNTP newsgroup(s).