virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/32] virtio: console: Fixes, multiple devices and generic ports
@ 2010-01-18 13:44 Amit Shah
  2010-01-18 13:44 ` [PATCH 01/32] virtio: console: comment cleanup Amit Shah
  0 siblings, 1 reply; 43+ messages in thread
From: Amit Shah @ 2010-01-18 13:44 UTC (permalink / raw)
  To: rusty; +Cc: Amit Shah, virtualization

Hey Rusty,

In this version:
- Assume only one inbuf; no input buffering for ports
- Remove the START/END delimiters for outgoing buffers
- Remove the header that was sent along with each buffer
- Remove unused buffers in the vqs at port remove time
- Send a guest port open message to the host when a console port is
  attached
- Remove cached buffers when ports are closed / disconnected
- Send only one buffer in send_buf

As usual, this series is passed through the testsuite that tests for
the functionality given here.

Amit Shah (25):
  hvc_console: Remove __devinit annotation from hvc_alloc
  virtio: console: We support only one device at a time
  virtio: console: encapsulate buffer information in a struct
  virtio: console: ensure add_inbuf can work for multiple ports as well
  virtio: console: introduce a get_inbuf helper to fetch bufs from
    in_vq
  virtio: console: don't assume a single console port.
  virtio: console: struct ports for multiple ports per device.
  virtio: console: ensure console size is updated on hvc open
  virtio: console: Separate out console-specific data into a separate
    struct
  virtio: console: Separate out console init into a new function
  virtio: console: Separate out find_vqs operation into a different
    function
  virtio: console: Introduce function to hand off data from host to
    readers
  virtio: console: Introduce a send_buf function for a common path for
    sending data to host
  virtio: console: Add a new MULTIPORT feature, support for generic
    ports
  virtio: console: Prepare for writing to / reading from userspace
    buffers
  virtio: console: Associate each port with a char device
  virtio: console: Add file operations to ports for
    open/read/write/poll
  virtio: console: Ensure only one process can have a port open at a
    time
  virtio: console: Register with sysfs and create a 'name' attribute
    for ports
  virtio: console: Add throttling support to prevent flooding ports
  virtio: console: Remove cached data on port close
  virtio: console: Handle port hot-plug
  virtio: console: Add ability to hot-unplug ports
  virtio: console: Add debugfs files for each port to expose debug info
  virtio: console: show error message if hvc_alloc fails for console
    ports

Rusty Russell (6):
  virtio: console: comment cleanup
  virtio: console: statically initialize virtio_cons
  hvc_console: make the ops pointer const.
  virtio: console: port encapsulation
  virtio: console: use vdev->priv to avoid accessing global var.
  virtio: console: remove global var

Shirley Ma (1):
  virtio: Add ability to detach unused buffers from vrings

 drivers/char/Kconfig           |    8 +
 drivers/char/hvc_beat.c        |    2 +-
 drivers/char/hvc_console.c     |    9 +-
 drivers/char/hvc_console.h     |    9 +-
 drivers/char/hvc_iseries.c     |    2 +-
 drivers/char/hvc_iucv.c        |    2 +-
 drivers/char/hvc_rtas.c        |    2 +-
 drivers/char/hvc_udbg.c        |    2 +-
 drivers/char/hvc_vio.c         |    2 +-
 drivers/char/hvc_xen.c         |    2 +-
 drivers/char/virtio_console.c  | 1559 ++++++++++++++++++++++++++++++++++++----
 drivers/virtio/virtio_ring.c   |   25 +
 include/linux/virtio.h         |    4 +
 include/linux/virtio_console.h |   31 +-
 14 files changed, 1496 insertions(+), 163 deletions(-)

^ permalink raw reply	[flat|nested] 43+ messages in thread

end of thread, other threads:[~2010-01-25 10:32 UTC | newest]

Thread overview: 43+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-18 13:44 [PATCH 00/32] virtio: console: Fixes, multiple devices and generic ports Amit Shah
2010-01-18 13:44 ` [PATCH 01/32] virtio: console: comment cleanup Amit Shah
2010-01-18 13:44   ` [PATCH 02/32] virtio: console: statically initialize virtio_cons Amit Shah
2010-01-18 13:44     ` [PATCH 03/32] hvc_console: make the ops pointer const Amit Shah
     [not found]     ` <1263822326-24208-4-git-send-email-amit.shah@redhat.com>
2010-01-18 13:44       ` [PATCH 04/32] hvc_console: Remove __devinit annotation from hvc_alloc Amit Shah
     [not found]       ` <1263822326-24208-5-git-send-email-amit.shah@redhat.com>
2010-01-18 13:44         ` [PATCH 05/32] virtio: console: We support only one device at a time Amit Shah
2010-01-18 13:45           ` [PATCH 06/32] virtio: console: port encapsulation Amit Shah
2010-01-18 13:45             ` [PATCH 07/32] virtio: console: encapsulate buffer information in a struct Amit Shah
2010-01-18 13:45               ` [PATCH 08/32] virtio: console: ensure add_inbuf can work for multiple ports as well Amit Shah
2010-01-18 13:45                 ` [PATCH 09/32] virtio: console: introduce a get_inbuf helper to fetch bufs from in_vq Amit Shah
2010-01-18 13:45                   ` [PATCH 10/32] virtio: console: use vdev->priv to avoid accessing global var Amit Shah
2010-01-18 13:45                     ` [PATCH 11/32] virtio: console: don't assume a single console port Amit Shah
2010-01-18 13:45                       ` [PATCH 12/32] virtio: console: remove global var Amit Shah
2010-01-18 13:45                         ` [PATCH 13/32] virtio: console: struct ports for multiple ports per device Amit Shah
2010-01-18 13:45                           ` [PATCH 14/32] virtio: console: ensure console size is updated on hvc open Amit Shah
2010-01-18 13:45                             ` [PATCH 15/32] virtio: console: Separate out console-specific data into a separate struct Amit Shah
2010-01-18 13:45                               ` [PATCH 16/32] virtio: console: Separate out console init into a new function Amit Shah
2010-01-18 13:45                                 ` [PATCH 17/32] virtio: console: Separate out find_vqs operation into a different function Amit Shah
2010-01-18 13:45                                   ` [PATCH 18/32] virtio: console: Introduce function to hand off data from host to readers Amit Shah
2010-01-18 13:45                                     ` [PATCH 19/32] virtio: console: Introduce a send_buf function for a common path for sending data to host Amit Shah
2010-01-18 13:45                                       ` [PATCH 20/32] virtio: console: Add a new MULTIPORT feature, support for generic ports Amit Shah
2010-01-18 13:45                                         ` [PATCH 21/32] virtio: console: Prepare for writing to / reading from userspace buffers Amit Shah
2010-01-18 13:45                                           ` [PATCH 22/32] virtio: console: Associate each port with a char device Amit Shah
2010-01-18 13:45                                             ` [PATCH 23/32] virtio: console: Add file operations to ports for open/read/write/poll Amit Shah
2010-01-18 13:45                                               ` [PATCH 24/32] virtio: console: Ensure only one process can have a port open at a time Amit Shah
2010-01-18 13:45                                                 ` [PATCH 25/32] virtio: console: Register with sysfs and create a 'name' attribute for ports Amit Shah
2010-01-18 13:45                                                   ` [PATCH 26/32] virtio: console: Add throttling support to prevent flooding ports Amit Shah
2010-01-18 13:45                                                     ` [PATCH 27/32] virtio: console: Remove cached data on port close Amit Shah
2010-01-18 13:45                                                       ` [PATCH 28/32] virtio: console: Handle port hot-plug Amit Shah
2010-01-18 13:45                                                         ` [PATCH 29/32] virtio: Add ability to detach unused buffers from vrings Amit Shah
2010-01-18 13:45                                                           ` [PATCH 30/32] virtio: console: Add ability to hot-unplug ports Amit Shah
2010-01-18 13:45                                                             ` [PATCH 31/32] virtio: console: Add debugfs files for each port to expose debug info Amit Shah
2010-01-18 13:45                                                               ` [PATCH 32/32] virtio: console: show error message if hvc_alloc fails for console ports Amit Shah
2010-01-19  1:22                                                                 ` Rusty Russell
2010-01-19  4:57                                                                   ` Amit Shah
2010-01-20  8:09                                                                     ` Rusty Russell
2010-01-19 17:06                                                                   ` Amit Shah
2010-01-20  8:20                                                                     ` Rusty Russell
2010-01-20  8:51                                                                       ` Remove host throttling Amit Shah
2010-01-20  8:51                                                                         ` [PATCH 19/31] virtio: console: Introduce a send_buf function for a common path for sending data to host Amit Shah
2010-01-20  8:51                                                                           ` [PATCH 29/31] virtio: console: Add ability to hot-unplug ports Amit Shah
2010-01-20  8:51                                                                             ` [PATCH 30/31] virtio: console: Add debugfs files for each port to expose debug info Amit Shah
2010-01-25 10:32                                                                         ` Remove host throttling Rusty Russell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).