search for: 15f906e4a748

Displaying 13 results from an estimated 13 matches for "15f906e4a748".

2020 Jun 04
2
[PATCH v4 1/3] virtio: add dma-buf support for exported objects
...ops, const struct virtio_dma_buf_ops, ops); > + > + if (!is_virtio_dma_buf(dma_buf)) > + return -EINVAL; > + > + return ops->get_uuid(dma_buf, uuid); > +} > +EXPORT_SYMBOL(virtio_dma_buf_get_uuid); > diff --git a/include/linux/virtio.h b/include/linux/virtio.h > index 15f906e4a748..9397e25616c4 100644 > --- a/include/linux/virtio.h > +++ b/include/linux/virtio.h > @@ -128,6 +128,7 @@ static inline struct virtio_device *dev_to_virtio(struct device *_dev) > void virtio_add_status(struct virtio_device *dev, unsigned int status); > int register_virtio_device(str...
2020 Jun 04
2
[PATCH v4 1/3] virtio: add dma-buf support for exported objects
...ops, const struct virtio_dma_buf_ops, ops); > + > + if (!is_virtio_dma_buf(dma_buf)) > + return -EINVAL; > + > + return ops->get_uuid(dma_buf, uuid); > +} > +EXPORT_SYMBOL(virtio_dma_buf_get_uuid); > diff --git a/include/linux/virtio.h b/include/linux/virtio.h > index 15f906e4a748..9397e25616c4 100644 > --- a/include/linux/virtio.h > +++ b/include/linux/virtio.h > @@ -128,6 +128,7 @@ static inline struct virtio_device *dev_to_virtio(struct device *_dev) > void virtio_add_status(struct virtio_device *dev, unsigned int status); > int register_virtio_device(str...
2019 Apr 26
0
[PATCH 02/10] virtio/s390: DMA support for virtio-ccw
..._ccw_use_airq; /* at least try */ - vcdev->vdev.dev.parent = &cdev->dev; vcdev->vdev.dev.release = virtio_ccw_release_dev; vcdev->vdev.config = &virtio_ccw_config_ops; vcdev->cdev = cdev; diff --git a/include/linux/virtio.h b/include/linux/virtio.h index 673fe3ef3607..15f906e4a748 100644 --- a/include/linux/virtio.h +++ b/include/linux/virtio.h @@ -90,23 +90,6 @@ dma_addr_t virtqueue_get_desc_addr(struct virtqueue *vq); dma_addr_t virtqueue_get_avail_addr(struct virtqueue *vq); dma_addr_t virtqueue_get_used_addr(struct virtqueue *vq); -/* - * Legacy accessors -- in almos...
2020 Apr 06
0
[PATCH v5 05/12] virtio: stop using legacy struct vring in kernel
...s/block/virtio_blk.c @@ -15,6 +15,7 @@ #include <linux/blk-mq.h> #include <linux/blk-mq-virtio.h> #include <linux/numa.h> +#include <uapi/linux/virtio_ring.h> #define PART_BITS 4 #define VQ_NAME_LEN 16 diff --git a/include/linux/virtio.h b/include/linux/virtio.h index 15f906e4a748..a493eac08393 100644 --- a/include/linux/virtio.h +++ b/include/linux/virtio.h @@ -9,7 +9,6 @@ #include <linux/device.h> #include <linux/mod_devicetable.h> #include <linux/gfp.h> -#include <linux/vringh.h> /** * virtqueue - a queue to register buffers for sending or...
2020 Apr 06
0
[PATCH v6 05/12] virtio: stop using legacy struct vring in kernel
...s/block/virtio_blk.c @@ -15,6 +15,7 @@ #include <linux/blk-mq.h> #include <linux/blk-mq-virtio.h> #include <linux/numa.h> +#include <uapi/linux/virtio_ring.h> #define PART_BITS 4 #define VQ_NAME_LEN 16 diff --git a/include/linux/virtio.h b/include/linux/virtio.h index 15f906e4a748..a493eac08393 100644 --- a/include/linux/virtio.h +++ b/include/linux/virtio.h @@ -9,7 +9,6 @@ #include <linux/device.h> #include <linux/mod_devicetable.h> #include <linux/gfp.h> -#include <linux/vringh.h> /** * virtqueue - a queue to register buffers for sending or...
2020 Apr 07
0
[PATCH v7 09/19] virtio: stop using legacy struct vring in kernel
...s/block/virtio_blk.c @@ -15,6 +15,7 @@ #include <linux/blk-mq.h> #include <linux/blk-mq-virtio.h> #include <linux/numa.h> +#include <uapi/linux/virtio_ring.h> #define PART_BITS 4 #define VQ_NAME_LEN 16 diff --git a/include/linux/virtio.h b/include/linux/virtio.h index 15f906e4a748..a493eac08393 100644 --- a/include/linux/virtio.h +++ b/include/linux/virtio.h @@ -9,7 +9,6 @@ #include <linux/device.h> #include <linux/mod_devicetable.h> #include <linux/gfp.h> -#include <linux/vringh.h> /** * virtqueue - a queue to register buffers for sending or...
2020 Apr 07
1
[PATCH v8 09/19] virtio: stop using legacy struct vring in kernel
...s/block/virtio_blk.c @@ -15,6 +15,7 @@ #include <linux/blk-mq.h> #include <linux/blk-mq-virtio.h> #include <linux/numa.h> +#include <uapi/linux/virtio_ring.h> #define PART_BITS 4 #define VQ_NAME_LEN 16 diff --git a/include/linux/virtio.h b/include/linux/virtio.h index 15f906e4a748..a493eac08393 100644 --- a/include/linux/virtio.h +++ b/include/linux/virtio.h @@ -9,7 +9,6 @@ #include <linux/device.h> #include <linux/mod_devicetable.h> #include <linux/gfp.h> -#include <linux/vringh.h> /** * virtqueue - a queue to register buffers for sending or...
2020 Sep 10
0
[PATCH v7 1/3] virtio: add dma-buf support for exported objects
...const struct virtio_dma_buf_ops, ops); > + > + if (!is_virtio_dma_buf(dma_buf)) > + return -EINVAL; > + > + return ops->get_uuid(dma_buf, uuid); > +} > +EXPORT_SYMBOL(virtio_dma_buf_get_uuid); > diff --git a/include/linux/virtio.h b/include/linux/virtio.h > index 15f906e4a748..9397e25616c4 100644 > --- a/include/linux/virtio.h > +++ b/include/linux/virtio.h > @@ -128,6 +128,7 @@ static inline struct virtio_device *dev_to_virtio(struct device *_dev) > void virtio_add_status(struct virtio_device *dev, unsigned int status); > int register_virtio_device(str...
2020 Jun 19
0
[PATCH v4 1/3] virtio: add dma-buf support for exported objects
...return -EINVAL; > > > > + > > > > + return ops->get_uuid(dma_buf, uuid); > > > > +} > > > > +EXPORT_SYMBOL(virtio_dma_buf_get_uuid); > > > > diff --git a/include/linux/virtio.h b/include/linux/virtio.h > > > > index 15f906e4a748..9397e25616c4 100644 > > > > --- a/include/linux/virtio.h > > > > +++ b/include/linux/virtio.h > > > > @@ -128,6 +128,7 @@ static inline struct virtio_device *dev_to_virtio(struct device *_dev) > > > > void virtio_add_status(struct virtio_device *dev...
2020 Apr 06
2
[PATCH v2 1/2] virtio: stop using legacy struct vring
...e_get_used_addr); /* Only available for split ring */ -const struct vring *virtqueue_get_vring(struct virtqueue *vq) +const struct vring_s *virtqueue_get_vring(struct virtqueue *vq) { return &to_vvq(vq)->split.vring; } diff --git a/include/linux/virtio.h b/include/linux/virtio.h index 15f906e4a748..3f5cb607bd7f 100644 --- a/include/linux/virtio.h +++ b/include/linux/virtio.h @@ -85,7 +85,7 @@ unsigned int virtqueue_get_vring_size(struct virtqueue *vq); bool virtqueue_is_broken(struct virtqueue *vq); -const struct vring *virtqueue_get_vring(struct virtqueue *vq); +const struct vring_s *v...
2020 Apr 06
2
[PATCH v2 1/2] virtio: stop using legacy struct vring
...e_get_used_addr); /* Only available for split ring */ -const struct vring *virtqueue_get_vring(struct virtqueue *vq) +const struct vring_s *virtqueue_get_vring(struct virtqueue *vq) { return &to_vvq(vq)->split.vring; } diff --git a/include/linux/virtio.h b/include/linux/virtio.h index 15f906e4a748..3f5cb607bd7f 100644 --- a/include/linux/virtio.h +++ b/include/linux/virtio.h @@ -85,7 +85,7 @@ unsigned int virtqueue_get_vring_size(struct virtqueue *vq); bool virtqueue_is_broken(struct virtqueue *vq); -const struct vring *virtqueue_get_vring(struct virtqueue *vq); +const struct vring_s *v...
2019 Apr 26
33
[PATCH 00/10] s390: virtio: support protected virtualization
Enhanced virtualization protection technology may require the use of bounce buffers for I/O. While support for this was built into the virtio core, virtio-ccw wasn't changed accordingly. Some background on technology (not part of this series) and the terminology used. * Protected Virtualization (PV): Protected Virtualization guarantees, that non-shared memory of a guest that operates in PV
2019 Apr 26
33
[PATCH 00/10] s390: virtio: support protected virtualization
Enhanced virtualization protection technology may require the use of bounce buffers for I/O. While support for this was built into the virtio core, virtio-ccw wasn't changed accordingly. Some background on technology (not part of this series) and the terminology used. * Protected Virtualization (PV): Protected Virtualization guarantees, that non-shared memory of a guest that operates in PV