lkml.org 
[lkml]   [2019]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFC PATCH 0/2] Mdev: support mutiple kinds of devices
Date
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

\
 
 \ /
  Last update: 2019-09-12 11:42    [W:0.148 / U:1.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site