Linux virtualization list
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] Mdev: support mutiple kinds of devices
@ 2019-09-12  9:40 Jason Wang
  0 siblings, 0 replies; 17+ messages in thread
From: Jason Wang @ 2019-09-12  9:40 UTC (permalink / raw)
  To: kvm, linux-s390, linux-kernel, dri-devel, intel-gfx,
	intel-gvt-dev, kwankhede, alex.williamson
  Cc: sebott, mst, airlied, joonas.lahtinen, heiko.carstens,
	virtualization, rob.miller, pasic, borntraeger, zhi.a.wang,
	farman, idos, gor, jani.nikula, xiao.w.wang, freude, zhenyuw,
	rodrigo.vivi, lingshan.zhu, akrowiak, pmorel, cohuck, oberpar,
	maxime.coquelin, daniel, zhihong.wang

Hi all:

During the development of virtio-mdev[1]. I find that mdev needs to be
extended to support devices other than vfio mdev device. So this
series tries to extend the mdev to be able to differ from different
devices by:

- device id and matching for mdev bus
- device speicfic callbacks and move vfio callbacks there

Sent for early reivew, compile test only!

Thanks

[1] https://lkml.org/lkml/2019/9/10/135

Jason Wang (2):
  mdev: device id support
  mdev: introduce device specific ops

 drivers/gpu/drm/i915/gvt/kvmgt.c  | 16 ++++---
 drivers/s390/cio/vfio_ccw_ops.c   | 16 ++++---
 drivers/s390/crypto/vfio_ap_ops.c | 13 ++++--
 drivers/vfio/mdev/mdev_core.c     | 14 +++++-
 drivers/vfio/mdev/mdev_driver.c   | 14 ++++++
 drivers/vfio/mdev/mdev_private.h  |  1 +
 drivers/vfio/mdev/vfio_mdev.c     | 36 ++++++++++-----
 include/linux/mdev.h              | 76 +++++++++++++++++++------------
 include/linux/mod_devicetable.h   |  6 +++
 samples/vfio-mdev/mbochs.c        | 18 +++++---
 samples/vfio-mdev/mdpy.c          | 18 +++++---
 samples/vfio-mdev/mtty.c          | 16 ++++---
 12 files changed, 163 insertions(+), 81 deletions(-)

-- 
2.19.1

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2019-09-18  6:15 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20190912094012.29653-1-jasowang@redhat.com>
2019-09-12  9:40 ` [RFC PATCH 1/2] mdev: device id support Jason Wang
2019-09-12  9:40 ` [RFC PATCH 2/2] mdev: introduce device specific ops Jason Wang
     [not found] ` <20190912094012.29653-2-jasowang@redhat.com>
2019-09-17  7:55   ` [RFC PATCH 1/2] mdev: device id support Tian, Kevin
     [not found]   ` <AADFC41AFE54684AB9EE6CBC0274A5D19D579F2F@SHSMSX104.ccr.corp.intel.com>
2019-09-17 10:14     ` Jason Wang
2019-09-17 12:07   ` Cornelia Huck
     [not found]   ` <20190917140720.3686e0cc.cohuck@redhat.com>
2019-09-18  5:52     ` Jason Wang
     [not found] ` <20190912094012.29653-3-jasowang@redhat.com>
2019-09-12  9:51   ` [RFC PATCH 2/2] mdev: introduce device specific ops Michael S. Tsirkin
2019-09-17  8:09   ` Tian, Kevin
2019-09-17 10:16     ` Jason Wang
     [not found]     ` <6bb2c43c-25bb-16f9-1fa0-08cb08e42b94@redhat.com>
2019-09-18  2:57       ` Tian, Kevin
     [not found]       ` <AADFC41AFE54684AB9EE6CBC0274A5D19D57B49A@SHSMSX104.ccr.corp.intel.com>
2019-09-18  6:15         ` Jason Wang
2019-09-17 12:42   ` Cornelia Huck
     [not found]   ` <20190917144240.6a59b65f.cohuck@redhat.com>
2019-09-18  5:54     ` Jason Wang
2019-09-17 17:31 ` [RFC PATCH 0/2] Mdev: support mutiple kinds of devices Alex Williamson
     [not found] ` <20190917113125.6b2970e5@x1.home>
2019-09-18  1:54   ` Tian, Kevin
     [not found]   ` <AADFC41AFE54684AB9EE6CBC0274A5D19D57B260@SHSMSX104.ccr.corp.intel.com>
2019-09-18  2:23     ` Alex Williamson
2019-09-12  9:40 Jason Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox