Displaying 20 results from an estimated 123 matches for "mdev_driver".
2019 Oct 15
1
[PATCH V3 2/7] mdev: bus uevent support
On Fri, 11 Oct 2019 16:15:52 +0800
Jason Wang <jasowang at redhat.com> wrote:
> This patch adds bus uevent support for mdev bus in order to allow
> cooperation with userspace.
>
> Signed-off-by: Jason Wang <jasowang at redhat.com>
> ---
> drivers/vfio/mdev/mdev_driver.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/drivers/vfio/mdev/mdev_driver.c b/drivers/vfio/mdev/mdev_driver.c
> index b7c40ce86ee3..319d886ffaf7 100644
> --- a/drivers/vfio/mdev/mdev_driver.c
> +++ b/drivers/vfio/mdev/mdev_driver.c
> @@ -82,9 +82,17 @@ s...
2019 Oct 23
2
[PATCH V5 1/6] mdev: class id support
...mplement
> match method. But in the future, we may add drivers other than vfio,
> the first driver could be virtio-mdev. This means we need to add
> device class id support in bus match method to pair the mdev device
> and mdev driver correctly.
>
> So this patch adds id_table to mdev_driver and class_id for mdev
> device with the match method for mdev bus.
>
> Signed-off-by: Jason Wang <jasowang at redhat.com>
> ---
> .../driver-api/vfio-mediated-device.rst | 5 +++++
> drivers/gpu/drm/i915/gvt/kvmgt.c | 1 +
> drivers/s390/cio/vfio_cc...
2019 Oct 23
2
[PATCH V5 1/6] mdev: class id support
...mplement
> match method. But in the future, we may add drivers other than vfio,
> the first driver could be virtio-mdev. This means we need to add
> device class id support in bus match method to pair the mdev device
> and mdev driver correctly.
>
> So this patch adds id_table to mdev_driver and class_id for mdev
> device with the match method for mdev bus.
>
> Signed-off-by: Jason Wang <jasowang at redhat.com>
> ---
> .../driver-api/vfio-mediated-device.rst | 5 +++++
> drivers/gpu/drm/i915/gvt/kvmgt.c | 1 +
> drivers/s390/cio/vfio_cc...
2019 Sep 17
1
[RFC PATCH 1/2] mdev: device id support
...ing to me - it usually means something
unique to each device, while here it is used to indicate expected driver
types (vfio, virtio, etc.). but using "bus id" is also not good - we have
only one mdev bus here. Then what about "class id"?
>
> So this patch add id_table to mdev_driver and id for mdev parent, and
> implement the match method for mdev bus.
>
> [1] https://lkml.org/lkml/2019/9/10/135
>
> Signed-off-by: Jason Wang <jasowang at redhat.com>
> ---
> drivers/gpu/drm/i915/gvt/kvmgt.c | 2 +-
> drivers/s390/cio/vfio_ccw_ops.c | 2 +-
&...
2019 Oct 24
2
[PATCH V5 1/6] mdev: class id support
...e, we may add drivers other than vfio,
> >> the first driver could be virtio-mdev. This means we need to add
> >> device class id support in bus match method to pair the mdev device
> >> and mdev driver correctly.
> >>
> >> So this patch adds id_table to mdev_driver and class_id for mdev
> >> device with the match method for mdev bus.
> >>
> >> Signed-off-by: Jason Wang <jasowang at redhat.com>
> >> ---
> >> .../driver-api/vfio-mediated-device.rst | 5 +++++
> >> drivers/gpu/drm/i915/gvt/kvm...
2019 Oct 24
2
[PATCH V5 1/6] mdev: class id support
...e, we may add drivers other than vfio,
> >> the first driver could be virtio-mdev. This means we need to add
> >> device class id support in bus match method to pair the mdev device
> >> and mdev driver correctly.
> >>
> >> So this patch adds id_table to mdev_driver and class_id for mdev
> >> device with the match method for mdev bus.
> >>
> >> Signed-off-by: Jason Wang <jasowang at redhat.com>
> >> ---
> >> .../driver-api/vfio-mediated-device.rst | 5 +++++
> >> drivers/gpu/drm/i915/gvt/kvm...
2019 Sep 24
1
[PATCH V2 2/8] mdev: class id support
...mplement
> match method. But in the future, we may add drivers other than vfio,
> the first driver could be virtio-mdev. This means we need to add
> device class id support in bus match method to pair the mdev device
> and mdev driver correctly.
>
> So this patch adds id_table to mdev_driver and class_id for mdev
> parent with the match method for mdev bus.
Description needs to be revised from v1, class_id is no longer on the
parent.
> Signed-off-by: Jason Wang <jasowang at redhat.com>
> ---
> Documentation/driver-api/vfio-mediated-device.rst | 3 +++
> drivers...
2019 Sep 23
0
[PATCH 1/6] mdev: class id support
...right now, so it doesn't implement
match method. But in the future, we may add drivers other than vfio,
one example is virtio-mdev[1] driver. This means we need to add device
class id support in bus match method to pair the mdev device and mdev
driver correctly.
So this patch adds id_table to mdev_driver and class_id for mdev
parent with the match method for mdev bus.
Signed-off-by: Jason Wang <jasowang at redhat.com>
---
Documentation/driver-api/vfio-mediated-device.rst | 7 +++++--
drivers/gpu/drm/i915/gvt/kvmgt.c | 2 +-
drivers/s390/cio/vfio_ccw_ops.c...
2019 Nov 05
0
[PATCH V8 1/6] mdev: class id support
...right now, so it doesn't implement
match method. But in the future, we may add drivers other than vfio,
the first driver could be virtio-mdev. This means we need to add
device class id support in bus match method to pair the mdev device
and mdev driver correctly.
So this patch adds id_table to mdev_driver and class_id for mdev
device with the match method for mdev bus.
Reviewed-by: Parav Pandit <parav at mellanox.com>
Signed-off-by: Jason Wang <jasowang at redhat.com>
---
.../driver-api/vfio-mediated-device.rst | 5 ++++
drivers/gpu/drm/i915/gvt/kvmgt.c | 1 +
driv...
2019 Nov 04
0
[PATCH V7 1/6] mdev: class id support
...right now, so it doesn't implement
match method. But in the future, we may add drivers other than vfio,
the first driver could be virtio-mdev. This means we need to add
device class id support in bus match method to pair the mdev device
and mdev driver correctly.
So this patch adds id_table to mdev_driver and class_id for mdev
device with the match method for mdev bus.
Reviewed-by: Parav Pandit <parav at mellanox.com>
Signed-off-by: Jason Wang <jasowang at redhat.com>
---
.../driver-api/vfio-mediated-device.rst | 5 ++++
drivers/gpu/drm/i915/gvt/kvmgt.c | 1 +
driv...
2019 Oct 23
0
[PATCH V5 1/6] mdev: class id support
...right now, so it doesn't implement
match method. But in the future, we may add drivers other than vfio,
the first driver could be virtio-mdev. This means we need to add
device class id support in bus match method to pair the mdev device
and mdev driver correctly.
So this patch adds id_table to mdev_driver and class_id for mdev
device with the match method for mdev bus.
Signed-off-by: Jason Wang <jasowang at redhat.com>
---
.../driver-api/vfio-mediated-device.rst | 5 +++++
drivers/gpu/drm/i915/gvt/kvmgt.c | 1 +
drivers/s390/cio/vfio_ccw_ops.c | 1 +
drive...
2019 Sep 12
0
[RFC PATCH 1/2] mdev: device id support
...driver right now, so it doesn't implement
match method. But in the future, we may add drivers other than vfio,
one example is virtio-mdev[1] driver. This means we need to add device
id support in bus match method to pair the mdev device and mdev driver
correctly.
So this patch add id_table to mdev_driver and id for mdev parent, and
implement the match method for mdev bus.
[1] https://lkml.org/lkml/2019/9/10/135
Signed-off-by: Jason Wang <jasowang at redhat.com>
---
drivers/gpu/drm/i915/gvt/kvmgt.c | 2 +-
drivers/s390/cio/vfio_ccw_ops.c | 2 +-
drivers/s390/crypto/vfio_ap_ops.c | 3 +...
2019 Nov 04
1
[PATCH V7 1/6] mdev: class id support
...mplement
> match method. But in the future, we may add drivers other than vfio,
> the first driver could be virtio-mdev. This means we need to add
> device class id support in bus match method to pair the mdev device
> and mdev driver correctly.
>
> So this patch adds id_table to mdev_driver and class_id for mdev
> device with the match method for mdev bus.
>
> Reviewed-by: Parav Pandit <parav at mellanox.com>
> Signed-off-by: Jason Wang <jasowang at redhat.com>
> ---
> .../driver-api/vfio-mediated-device.rst | 5 ++++
> drivers/gpu/drm/i915/gv...
2019 Sep 23
1
[PATCH 1/6] mdev: class id support
...implement
> match method. But in the future, we may add drivers other than vfio,
> one example is virtio-mdev[1] driver. This means we need to add device
> class id support in bus match method to pair the mdev device and mdev
> driver correctly.
>
> So this patch adds id_table to mdev_driver and class_id for mdev
> parent with the match method for mdev bus.
>
> Signed-off-by: Jason Wang <jasowang at redhat.com>
> ---
> Documentation/driver-api/vfio-mediated-device.rst | 7 +++++--
> drivers/gpu/drm/i915/gvt/kvmgt.c | 2 +-
> drivers/s390/...
2019 Sep 24
0
[PATCH V2 2/8] mdev: class id support
...right now, so it doesn't implement
match method. But in the future, we may add drivers other than vfio,
the first driver could be virtio-mdev. This means we need to add
device class id support in bus match method to pair the mdev device
and mdev driver correctly.
So this patch adds id_table to mdev_driver and class_id for mdev
parent with the match method for mdev bus.
Signed-off-by: Jason Wang <jasowang at redhat.com>
---
Documentation/driver-api/vfio-mediated-device.rst | 3 +++
drivers/gpu/drm/i915/gvt/kvmgt.c | 1 +
drivers/s390/cio/vfio_ccw_ops.c |...
2019 Oct 24
0
[PATCH V5 1/6] mdev: class id support
...method. But in the future, we may add drivers other than vfio,
>> the first driver could be virtio-mdev. This means we need to add
>> device class id support in bus match method to pair the mdev device
>> and mdev driver correctly.
>>
>> So this patch adds id_table to mdev_driver and class_id for mdev
>> device with the match method for mdev bus.
>>
>> Signed-off-by: Jason Wang <jasowang at redhat.com>
>> ---
>> .../driver-api/vfio-mediated-device.rst | 5 +++++
>> drivers/gpu/drm/i915/gvt/kvmgt.c | 1 +
>&...
2019 Oct 11
0
[PATCH V3 1/7] mdev: class id support
...right now, so it doesn't implement
match method. But in the future, we may add drivers other than vfio,
the first driver could be virtio-mdev. This means we need to add
device class id support in bus match method to pair the mdev device
and mdev driver correctly.
So this patch adds id_table to mdev_driver and class_id for mdev
device with the match method for mdev bus.
Signed-off-by: Jason Wang <jasowang at redhat.com>
---
Documentation/driver-api/vfio-mediated-device.rst | 7 ++++++-
drivers/gpu/drm/i915/gvt/kvmgt.c | 1 +
drivers/s390/cio/vfio_ccw_ops.c...
2019 Sep 25
1
[PATCH V2 2/8] mdev: class id support
...mplement
> match method. But in the future, we may add drivers other than vfio,
> the first driver could be virtio-mdev. This means we need to add
> device class id support in bus match method to pair the mdev device
> and mdev driver correctly.
>
> So this patch adds id_table to mdev_driver and class_id for mdev
> parent with the match method for mdev bus.
>
> Signed-off-by: Jason Wang <jasowang at redhat.com>
> ---
> Documentation/driver-api/vfio-mediated-device.rst | 3 +++
> drivers/gpu/drm/i915/gvt/kvmgt.c | 1 +
> drivers/s390/cio/v...
2019 Sep 24
0
[PATCH 1/6] mdev: class id support
...h
>> method. But in the future, we may add drivers other than vfio, one example is
>> virtio-mdev[1] driver. This means we need to add device class id support in bus
>> match method to pair the mdev device and mdev driver correctly.
>>
>> So this patch adds id_table to mdev_driver and class_id for mdev parent with
>> the match method for mdev bus.
>>
>> Signed-off-by: Jason Wang <jasowang at redhat.com>
>> ---
>> Documentation/driver-api/vfio-mediated-device.rst | 7 +++++--
>> drivers/gpu/drm/i915/gvt/kvmgt.c | 2...
2019 Oct 24
0
[PATCH V5 1/6] mdev: class id support
...er than vfio,
> > >> the first driver could be virtio-mdev. This means we need to add
> > >> device class id support in bus match method to pair the mdev device
> > >> and mdev driver correctly.
> > >>
> > >> So this patch adds id_table to mdev_driver and class_id for mdev
> > >> device with the match method for mdev bus.
> > >>
> > >> Signed-off-by: Jason Wang <jasowang at redhat.com>
> > >> ---
> > >> .../driver-api/vfio-mediated-device.rst | 5 +++++
> > >>...