Displaying 20 results from an estimated 3000 matches similar to: "[PATCH] virtio-mmio: Update the device to OASIS spec version"
2015 Jan 20
0
[PATCH v2] virtio-mmio: Update the device to OASIS spec version
On Tue, Jan 20, 2015 at 06:12:11PM +0000, Pawel Moll wrote:
> This patch add a support for second version of the virtio-mmio device,
> which follows OASIS "Virtual I/O Device (VIRTIO) Version 1.0"
> specification.
>
> Main changes:
>
> 1. The control register symbolic names use the new device/driver
> nomenclature rather than the old guest/host one.
>
2015 Jan 20
0
[PATCH v2] virtio-mmio: Update the device to OASIS spec version
On Tue, Jan 20, 2015 at 06:12:11PM +0000, Pawel Moll wrote:
> This patch add a support for second version of the virtio-mmio device,
> which follows OASIS "Virtual I/O Device (VIRTIO) Version 1.0"
> specification.
>
> Main changes:
>
> 1. The control register symbolic names use the new device/driver
> nomenclature rather than the old guest/host one.
>
2015 Jan 15
0
[RFC] virtio-mmio: Update the device to OASIS spec version
On Fri, Dec 19, 2014 at 06:38:04PM +0000, Pawel Moll wrote:
> This patch add a support for second version of the virtio-mmio device,
> which follows OASIS "Virtual I/O Device (VIRTIO) Version 1.0"
> specification.
>
> Main changes:
>
> 1. The control register symbolic names use the new device/driver
> nomenclature rather than the old guest/host one.
>
2015 Jan 15
0
[RFC] virtio-mmio: Update the device to OASIS spec version
On Fri, Dec 19, 2014 at 06:38:04PM +0000, Pawel Moll wrote:
> This patch add a support for second version of the virtio-mmio device,
> which follows OASIS "Virtual I/O Device (VIRTIO) Version 1.0"
> specification.
>
> Main changes:
>
> 1. The control register symbolic names use the new device/driver
> nomenclature rather than the old guest/host one.
>
2015 Jan 20
4
[PATCH v2] virtio-mmio: Update the device to OASIS spec version
This patch add a support for second version of the virtio-mmio device,
which follows OASIS "Virtual I/O Device (VIRTIO) Version 1.0"
specification.
Main changes:
1. The control register symbolic names use the new device/driver
nomenclature rather than the old guest/host one.
2. The driver detect the device version (version 1 is the pre-OASIS
spec, version 2 is compatible with
2015 Jan 20
4
[PATCH v2] virtio-mmio: Update the device to OASIS spec version
This patch add a support for second version of the virtio-mmio device,
which follows OASIS "Virtual I/O Device (VIRTIO) Version 1.0"
specification.
Main changes:
1. The control register symbolic names use the new device/driver
nomenclature rather than the old guest/host one.
2. The driver detect the device version (version 1 is the pre-OASIS
spec, version 2 is compatible with
2014 Dec 19
5
[RFC] virtio-mmio: Update the device to OASIS spec version
This patch add a support for second version of the virtio-mmio device,
which follows OASIS "Virtual I/O Device (VIRTIO) Version 1.0"
specification.
Main changes:
1. The control register symbolic names use the new device/driver
nomenclature rather than the old guest/host one.
2. The driver detect the device version (version 1 is the pre-OASIS
spec, version 2 is compatible with
2014 Dec 19
5
[RFC] virtio-mmio: Update the device to OASIS spec version
This patch add a support for second version of the virtio-mmio device,
which follows OASIS "Virtual I/O Device (VIRTIO) Version 1.0"
specification.
Main changes:
1. The control register symbolic names use the new device/driver
nomenclature rather than the old guest/host one.
2. The driver detect the device version (version 1 is the pre-OASIS
spec, version 2 is compatible with
2015 Apr 28
0
[PATCH v2] virtio-mmio: Update the device to OASIS spec version
Hi,
On 01/20/2015 01:12 PM, Pawel Moll wrote:
> @@ -356,13 +346,6 @@ static struct virtqueue *vm_setup_vq(struct virtio_device *vdev, unsigned index,
> info->num /= 2;
> }
>
> - /* Activate the queue */
> - writel(info->num, vm_dev->base + VIRTIO_MMIO_QUEUE_NUM);
> - writel(VIRTIO_MMIO_VRING_ALIGN,
> - vm_dev->base + VIRTIO_MMIO_QUEUE_ALIGN);
> -
2017 Jan 12
1
[PATCH 1/2] virtio_mmio: add standard header file
Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
---
include/standard-headers/linux/virtio_mmio.h | 141 +++++++++++++++++++++++++++
1 file changed, 141 insertions(+)
create mode 100644 include/standard-headers/linux/virtio_mmio.h
diff --git a/include/standard-headers/linux/virtio_mmio.h b/include/standard-headers/linux/virtio_mmio.h
new file mode 100644
index 0000000..c4b0968
---
2017 Jan 12
1
[PATCH 1/2] virtio_mmio: add standard header file
Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
---
include/standard-headers/linux/virtio_mmio.h | 141 +++++++++++++++++++++++++++
1 file changed, 141 insertions(+)
create mode 100644 include/standard-headers/linux/virtio_mmio.h
diff --git a/include/standard-headers/linux/virtio_mmio.h b/include/standard-headers/linux/virtio_mmio.h
new file mode 100644
index 0000000..c4b0968
---
2017 Feb 04
0
[PATCH] virtio_mmio: remove virtio_mmio_vq_info
Signed-off-by: Christoph Hellwig <hch at lst.de>
---
drivers/virtio/virtio_mmio.c | 52 ++++----------------------------------------
1 file changed, 4 insertions(+), 48 deletions(-)
diff --git a/drivers/virtio/virtio_mmio.c b/drivers/virtio/virtio_mmio.c
index 98adb10025fc..1367aec415bf 100644
--- a/drivers/virtio/virtio_mmio.c
+++ b/drivers/virtio/virtio_mmio.c
@@ -89,22 +89,8 @@ struct
2017 Feb 04
0
[PATCH] virtio_mmio: remove virtio_mmio_vq_info
Signed-off-by: Christoph Hellwig <hch at lst.de>
---
drivers/virtio/virtio_mmio.c | 52 ++++----------------------------------------
1 file changed, 4 insertions(+), 48 deletions(-)
diff --git a/drivers/virtio/virtio_mmio.c b/drivers/virtio/virtio_mmio.c
index 98adb10025fc..1367aec415bf 100644
--- a/drivers/virtio/virtio_mmio.c
+++ b/drivers/virtio/virtio_mmio.c
@@ -89,22 +89,8 @@ struct
2015 Jan 15
0
[RFC] virtio-mmio: Update the device to OASIS spec version
On Thu, Jan 15, 2015 at 05:32:38PM +0000, Pawel Moll wrote:
> On Thu, 2015-01-15 at 16:51 +0000, Michael S. Tsirkin wrote:
> > > + uint64_t addr = virt_to_phys(info->queue);
> >
> > Kernel normally uses u64 for this type.
>
> Sure, well spotted.
>
> > > +
> > > + writel(addr & 0xffffffff,
> > > +
2015 Jan 15
0
[RFC] virtio-mmio: Update the device to OASIS spec version
On Thu, Jan 15, 2015 at 05:32:38PM +0000, Pawel Moll wrote:
> On Thu, 2015-01-15 at 16:51 +0000, Michael S. Tsirkin wrote:
> > > + uint64_t addr = virt_to_phys(info->queue);
> >
> > Kernel normally uses u64 for this type.
>
> Sure, well spotted.
>
> > > +
> > > + writel(addr & 0xffffffff,
> > > +
2015 Jan 15
3
[RFC] virtio-mmio: Update the device to OASIS spec version
On Thu, 2015-01-15 at 16:51 +0000, Michael S. Tsirkin wrote:
> > + uint64_t addr = virt_to_phys(info->queue);
>
> Kernel normally uses u64 for this type.
Sure, well spotted.
> > +
> > + writel(addr & 0xffffffff,
> > + vm_dev->base + VIRTIO_MMIO_QUEUE_DESC_LOW);
> > + writel((addr
2015 Jan 15
3
[RFC] virtio-mmio: Update the device to OASIS spec version
On Thu, 2015-01-15 at 16:51 +0000, Michael S. Tsirkin wrote:
> > + uint64_t addr = virt_to_phys(info->queue);
>
> Kernel normally uses u64 for this type.
Sure, well spotted.
> > +
> > + writel(addr & 0xffffffff,
> > + vm_dev->base + VIRTIO_MMIO_QUEUE_DESC_LOW);
> > + writel((addr
2015 Mar 12
0
[PATCH] virtio_mmio: fix endian-ness for mmio
"Michael S. Tsirkin" <mst at redhat.com> writes:
> Going over the virtio mmio code, I noticed that it doesn't correctly
> return device config values in LE format when using virtio 1.0.
> Borrow code from virtio_pci_modern to do this correctly.
AFAICT, it doesn't need to. The endian correction is done by the
callers.
The only reason that virtio_pci_modern() does
2015 Mar 12
0
[PATCH] virtio_mmio: fix endian-ness for mmio
"Michael S. Tsirkin" <mst at redhat.com> writes:
> Going over the virtio mmio code, I noticed that it doesn't correctly
> return device config values in LE format when using virtio 1.0.
> Borrow code from virtio_pci_modern to do this correctly.
AFAICT, it doesn't need to. The endian correction is done by the
callers.
The only reason that virtio_pci_modern() does
2015 Mar 13
0
[PATCH] virtio_mmio: fix endian-ness for mmio
"Michael S. Tsirkin" <mst at redhat.com> writes:
> On Thu, Mar 12, 2015 at 12:33:36PM +1030, Rusty Russell wrote:
>> "Michael S. Tsirkin" <mst at redhat.com> writes:
>> > Going over the virtio mmio code, I noticed that it doesn't correctly
>> > return device config values in LE format when using virtio 1.0.
>> > Borrow code