search for: virtio_console_f_size

Displaying 20 results from an estimated 75 matches for "virtio_console_f_size".

2010 Jan 20
0
[PATCH] virtio-spec: Update the spec for recent virtio-console changes
...ice has support for multiple ports; configurati +on fields nr_ports and max_nr_ports are valid and control virtqueues will + be used. +\change_unchanged + \end_layout \end_deeper @@ -4425,7 +4472,16 @@ \end_inset layout The size of the console is supplied in the configuration space if - the VIRTIO_CONSOLE_F_SIZE feature is set: + the VIRTIO_CONSOLE_F_SIZE feature is set +\change_inserted 0 1263965899 +. + Furthermore, if the VIRTIO_CONSOLE_F_MULTIPORT feature is set, the maximum + number of ports supported by the device and the number of ports currently + active can be fetched. +\change_deleted 0 126396583...
2010 Jan 20
0
[PATCH] virtio-spec: Update the spec for recent virtio-console changes
...ice has support for multiple ports; configurati +on fields nr_ports and max_nr_ports are valid and control virtqueues will + be used. +\change_unchanged + \end_layout \end_deeper @@ -4425,7 +4472,16 @@ \end_inset layout The size of the console is supplied in the configuration space if - the VIRTIO_CONSOLE_F_SIZE feature is set: + the VIRTIO_CONSOLE_F_SIZE feature is set +\change_inserted 0 1263965899 +. + Furthermore, if the VIRTIO_CONSOLE_F_MULTIPORT feature is set, the maximum + number of ports supported by the device and the number of ports currently + active can be fetched. +\change_deleted 0 126396583...
2012 Sep 03
3
[RFC 1/2] virtio_console: Add support for DMA memory allocation
...f); + free_buf(portdev->c_ivq, buf, PAGE_SIZE); while ((buf = virtqueue_detach_unused_buf(portdev->c_ivq))) - free_buf(buf); + free_buf(portdev->c_ivq, buf, PAGE_SIZE); } /* @@ -1836,6 +1881,7 @@ static struct virtio_device_id id_table[] = { static unsigned int features[] = { VIRTIO_CONSOLE_F_SIZE, VIRTIO_CONSOLE_F_MULTIPORT, + VIRTIO_CONSOLE_F_DMA_MEM, }; #ifdef CONFIG_PM diff --git a/include/linux/virtio_console.h b/include/linux/virtio_console.h index bdf4b00..b27f7fa 100644 --- a/include/linux/virtio_console.h +++ b/include/linux/virtio_console.h @@ -38,6 +38,7 @@ /* Feature bits...
2012 Sep 03
3
[RFC 1/2] virtio_console: Add support for DMA memory allocation
...f); + free_buf(portdev->c_ivq, buf, PAGE_SIZE); while ((buf = virtqueue_detach_unused_buf(portdev->c_ivq))) - free_buf(buf); + free_buf(portdev->c_ivq, buf, PAGE_SIZE); } /* @@ -1836,6 +1881,7 @@ static struct virtio_device_id id_table[] = { static unsigned int features[] = { VIRTIO_CONSOLE_F_SIZE, VIRTIO_CONSOLE_F_MULTIPORT, + VIRTIO_CONSOLE_F_DMA_MEM, }; #ifdef CONFIG_PM diff --git a/include/linux/virtio_console.h b/include/linux/virtio_console.h index bdf4b00..b27f7fa 100644 --- a/include/linux/virtio_console.h +++ b/include/linux/virtio_console.h @@ -38,6 +38,7 @@ /* Feature bits...
2010 Mar 30
3
[PATCH 4/4] virtio: disable multiport console support.
...e_vqs: - vdev->config->del_vqs(vdev); - kfree(portdev->in_vqs); - kfree(portdev->out_vqs); free_chrdev: unregister_chrdev(portdev->chr_major, "virtio-portsdev"); free: @@ -1521,7 +1256,6 @@ static struct virtio_device_id id_table[ static unsigned int features[] = { VIRTIO_CONSOLE_F_SIZE, - VIRTIO_CONSOLE_F_MULTIPORT, }; static struct virtio_driver virtio_console = { diff --git a/include/linux/virtio_console.h b/include/linux/virtio_console.h --- a/include/linux/virtio_console.h +++ b/include/linux/virtio_console.h @@ -12,7 +12,6 @@ /* Feature bits */ #define VIRTIO_CONSOLE...
2010 Mar 30
3
[PATCH 4/4] virtio: disable multiport console support.
...e_vqs: - vdev->config->del_vqs(vdev); - kfree(portdev->in_vqs); - kfree(portdev->out_vqs); free_chrdev: unregister_chrdev(portdev->chr_major, "virtio-portsdev"); free: @@ -1521,7 +1256,6 @@ static struct virtio_device_id id_table[ static unsigned int features[] = { VIRTIO_CONSOLE_F_SIZE, - VIRTIO_CONSOLE_F_MULTIPORT, }; static struct virtio_driver virtio_console = { diff --git a/include/linux/virtio_console.h b/include/linux/virtio_console.h --- a/include/linux/virtio_console.h +++ b/include/linux/virtio_console.h @@ -12,7 +12,6 @@ /* Feature bits */ #define VIRTIO_CONSOLE...
2013 May 20
1
[PATCH] virtio-spec: tweak wording for console control vq
...the spec. Signed-off-by: Michael S. Tsirkin <mst at redhat.com> --- virtio-spec.lyx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/virtio-spec.lyx b/virtio-spec.lyx index 921388b..3ef96a9 100644 --- a/virtio-spec.lyx +++ b/virtio-spec.lyx @@ -6833,8 +6833,13 @@ VIRTIO_CONSOLE_F_SIZE \begin_layout Description VIRTIO_CONSOLE_F_MULTIPORT(1) Device has support for multiple ports; configurati -on fields nr_ports and max_nr_ports are valid and control virtqueues will - be used. +on fields nr_ports and max_nr_ports are valid +\change_inserted 1986246365 1347188404 +; if this bit...
2013 May 20
1
[PATCH] virtio-spec: tweak wording for console control vq
...the spec. Signed-off-by: Michael S. Tsirkin <mst at redhat.com> --- virtio-spec.lyx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/virtio-spec.lyx b/virtio-spec.lyx index 921388b..3ef96a9 100644 --- a/virtio-spec.lyx +++ b/virtio-spec.lyx @@ -6833,8 +6833,13 @@ VIRTIO_CONSOLE_F_SIZE \begin_layout Description VIRTIO_CONSOLE_F_MULTIPORT(1) Device has support for multiple ports; configurati -on fields nr_ports and max_nr_ports are valid and control virtqueues will - be used. +on fields nr_ports and max_nr_ports are valid +\change_inserted 1986246365 1347188404 +; if this bit...
2012 Sep 24
2
[PATCHv4] virtio_console: Add support for remoteproc serial
...fs(); /* * Locks aren't necessary here as a port can't be opened after * unplug, and if a port isn't unplugged, a kref would already @@ -918,7 +1024,8 @@ static void resize_console(struct port *port) return; vdev = port->portdev->vdev; - if (virtio_has_feature(vdev, VIRTIO_CONSOLE_F_SIZE)) + if (!is_rproc_serial(vdev) && + virtio_has_feature(vdev, VIRTIO_CONSOLE_F_SIZE)) hvc_resize(port->cons.hvc, port->cons.ws); } @@ -1102,10 +1209,10 @@ static unsigned int fill_queue(struct virtqueue *vq, spinlock_t *lock) nr_added_bufs = 0; do { - buf = alloc_buf(P...
2012 Sep 24
2
[PATCHv4] virtio_console: Add support for remoteproc serial
...fs(); /* * Locks aren't necessary here as a port can't be opened after * unplug, and if a port isn't unplugged, a kref would already @@ -918,7 +1024,8 @@ static void resize_console(struct port *port) return; vdev = port->portdev->vdev; - if (virtio_has_feature(vdev, VIRTIO_CONSOLE_F_SIZE)) + if (!is_rproc_serial(vdev) && + virtio_has_feature(vdev, VIRTIO_CONSOLE_F_SIZE)) hvc_resize(port->cons.hvc, port->cons.ws); } @@ -1102,10 +1209,10 @@ static unsigned int fill_queue(struct virtqueue *vq, spinlock_t *lock) nr_added_bufs = 0; do { - buf = alloc_buf(P...
2010 Apr 08
3
[PATCH 00/11] (v6) virtio: console: Fixes, new way of discovering ports
Hello, This series reworks the ABI to allow port discovery (only) via the control queue and enable multiport again. In addition, it adds support for non-blocking write() support, which means no spinning. This works fine with the recent patches that are on qemu-devel. Also included is removal of hvc_remove() as removing one such console port causes other console ports (registered with hvc) to
2010 Apr 08
3
[PATCH 00/11] (v6) virtio: console: Fixes, new way of discovering ports
Hello, This series reworks the ABI to allow port discovery (only) via the control queue and enable multiport again. In addition, it adds support for non-blocking write() support, which means no spinning. This works fine with the recent patches that are on qemu-devel. Also included is removal of hvc_remove() as removing one such console port causes other console ports (registered with hvc) to
2012 Sep 09
2
[PATCH] virtio-spec: balloon: MUST_TELL_HOST is optional
...top but I think both me and Paolo agree on this one. Paolo? virtio-spec.lyx | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/virtio-spec.lyx b/virtio-spec.lyx index d801aa6..d9626a9 100644 --- a/virtio-spec.lyx +++ b/virtio-spec.lyx @@ -6331,8 +6331,13 @@ VIRTIO_CONSOLE_F_SIZE \begin_layout Description VIRTIO_CONSOLE_F_MULTIPORT(1) Device has support for multiple ports; configurati -on fields nr_ports and max_nr_ports are valid and control virtqueues will - be used. +on fields nr_ports and max_nr_ports are valid +\change_inserted 1986246365 1347188404 +; if this bit...
2012 Sep 09
2
[PATCH] virtio-spec: balloon: MUST_TELL_HOST is optional
...top but I think both me and Paolo agree on this one. Paolo? virtio-spec.lyx | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/virtio-spec.lyx b/virtio-spec.lyx index d801aa6..d9626a9 100644 --- a/virtio-spec.lyx +++ b/virtio-spec.lyx @@ -6331,8 +6331,13 @@ VIRTIO_CONSOLE_F_SIZE \begin_layout Description VIRTIO_CONSOLE_F_MULTIPORT(1) Device has support for multiple ports; configurati -on fields nr_ports and max_nr_ports are valid and control virtqueues will - be used. +on fields nr_ports and max_nr_ports are valid +\change_inserted 1986246365 1347188404 +; if this bit...
2012 Sep 07
4
[RFCv2 1/2] virtio_console: Add support for DMA memory allocation
...+ "DMA_MEM requested but arch does not support DMA\n"); + err = -ENODEV; + goto fail; + } + portdev = kmalloc(sizeof(*portdev), GFP_KERNEL); if (!portdev) { err = -ENOMEM; @@ -1836,6 +1893,10 @@ static struct virtio_device_id id_table[] = { static unsigned int features[] = { VIRTIO_CONSOLE_F_SIZE, VIRTIO_CONSOLE_F_MULTIPORT, +#if VIRTIO_CONSOLE_HAS_DMA + VIRTIO_CONSOLE_F_DMA_MEM, +#endif + }; #ifdef CONFIG_PM diff --git a/include/linux/virtio_console.h b/include/linux/virtio_console.h index bdf4b00..b27f7fa 100644 --- a/include/linux/virtio_console.h +++ b/include/linux/virtio_console...
2012 Sep 07
4
[RFCv2 1/2] virtio_console: Add support for DMA memory allocation
...+ "DMA_MEM requested but arch does not support DMA\n"); + err = -ENODEV; + goto fail; + } + portdev = kmalloc(sizeof(*portdev), GFP_KERNEL); if (!portdev) { err = -ENOMEM; @@ -1836,6 +1893,10 @@ static struct virtio_device_id id_table[] = { static unsigned int features[] = { VIRTIO_CONSOLE_F_SIZE, VIRTIO_CONSOLE_F_MULTIPORT, +#if VIRTIO_CONSOLE_HAS_DMA + VIRTIO_CONSOLE_F_DMA_MEM, +#endif + }; #ifdef CONFIG_PM diff --git a/include/linux/virtio_console.h b/include/linux/virtio_console.h index bdf4b00..b27f7fa 100644 --- a/include/linux/virtio_console.h +++ b/include/linux/virtio_console...
2010 Apr 16
0
Update virtio spec with new virtio console ABI information
...lose, etc.. + +\change_unchanged For data IO, one or more empty buffers are placed in the receive queue for incoming data and outgoing characters are placed in the transmit queue. \end_layout @@ -4739,8 +4752,11 @@ layout The size of the console is supplied in the configuration space if the VIRTIO_CONSOLE_F_SIZE feature is set. Furthermore, if the VIRTIO_CONSOLE_F_MULTIPORT feature is set, the maximum - number of ports supported by the device and the number of ports currently - active can be fetched. + number of ports supported by the device +\change_deleted 0 1271400029 + and the number of ports current...
2010 Apr 16
0
Update virtio spec with new virtio console ABI information
...lose, etc.. + +\change_unchanged For data IO, one or more empty buffers are placed in the receive queue for incoming data and outgoing characters are placed in the transmit queue. \end_layout @@ -4739,8 +4752,11 @@ layout The size of the console is supplied in the configuration space if the VIRTIO_CONSOLE_F_SIZE feature is set. Furthermore, if the VIRTIO_CONSOLE_F_MULTIPORT feature is set, the maximum - number of ports supported by the device and the number of ports currently - active can be fetched. + number of ports supported by the device +\change_deleted 0 1271400029 + and the number of ports current...
2009 Nov 10
3
[PATCH 1/8] virtio: console: comment cleanup
Remove old lguest-style comments. Signed-off-by: Rusty Russell <rusty at rustcorp.com.au> --- drivers/char/virtio_console.c | 30 ++++++------------------------ 1 file changed, 6 insertions(+), 24 deletions(-) diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c --- a/drivers/char/virtio_console.c +++ b/drivers/char/virtio_console.c @@ -1,18 +1,5 @@ -/*D:300 - *
2009 Nov 10
3
[PATCH 1/8] virtio: console: comment cleanup
Remove old lguest-style comments. Signed-off-by: Rusty Russell <rusty at rustcorp.com.au> --- drivers/char/virtio_console.c | 30 ++++++------------------------ 1 file changed, 6 insertions(+), 24 deletions(-) diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c --- a/drivers/char/virtio_console.c +++ b/drivers/char/virtio_console.c @@ -1,18 +1,5 @@ -/*D:300 - *