Displaying 5 results from an estimated 5 matches for "f1fc143df042".
2019 Sep 17
1
[RFC PATCH 1/2] mdev: device id support
...samples/vfio-mdev/mtty.c | 2 +-
> 12 files changed, 51 insertions(+), 9 deletions(-)
(...)
The transformations of the vendor drivers and the new interface look
sane.
(...)
> diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h
> index 5714fd35a83c..f1fc143df042 100644
> --- a/include/linux/mod_devicetable.h
> +++ b/include/linux/mod_devicetable.h
> @@ -821,4 +821,10 @@ struct wmi_device_id {
> const void *context;
> };
>
> +/* MDEV */
> +
Maybe add some kerneldoc and give vfio as an example of what we're
matching here?
&...
2019 Sep 17
1
[RFC PATCH 1/2] mdev: device id support
...e *mdev_dev(struct mdev_device *mdev);
> struct mdev_device *mdev_from_dev(struct device *dev);
>
> +#define MDEV_ID_VFIO 1 /* VFIO device */
> +
> #endif /* MDEV_H */
> diff --git a/include/linux/mod_devicetable.h
> b/include/linux/mod_devicetable.h
> index 5714fd35a83c..f1fc143df042 100644
> --- a/include/linux/mod_devicetable.h
> +++ b/include/linux/mod_devicetable.h
> @@ -821,4 +821,10 @@ struct wmi_device_id {
> const void *context;
> };
>
> +/* MDEV */
> +
> +struct mdev_device_id {
> + __u8 id;
> +};
> +
> #endif /* LINUX_MOD_DE...
2019 Sep 12
0
[RFC PATCH 1/2] mdev: device id support
...truct mdev_device *mdev);
struct device *mdev_dev(struct mdev_device *mdev);
struct mdev_device *mdev_from_dev(struct device *dev);
+#define MDEV_ID_VFIO 1 /* VFIO device */
+
#endif /* MDEV_H */
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h
index 5714fd35a83c..f1fc143df042 100644
--- a/include/linux/mod_devicetable.h
+++ b/include/linux/mod_devicetable.h
@@ -821,4 +821,10 @@ struct wmi_device_id {
const void *context;
};
+/* MDEV */
+
+struct mdev_device_id {
+ __u8 id;
+};
+
#endif /* LINUX_MOD_DEVICETABLE_H */
diff --git a/samples/vfio-mdev/mbochs.c b/samples...
2019 Sep 12
9
[RFC PATCH 0/2] Mdev: support mutiple kinds of devices
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]
2019 Sep 12
9
[RFC PATCH 0/2] Mdev: support mutiple kinds of devices
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]