[PATCHv6 0/3] virtio_console: Add rproc_serial device

From: sjur . brandeland
Date: Tue Sep 25 2012 - 09:47:27 EST


From: Sjur BrÃndeland <sjur.brandeland@xxxxxxxxxxxxxx>

I thought rebasing rproc_serial to linux-next was going to be trivial.
But when starting the merge I realized that I had to refactor the
the patches from Masami Hiramatsu. The splice support has the same issue
as I faced, with different type of buffers in the out_vq.
So I ended up refactoring the splice functionality. The code
size got smaller so hopefully this a step in the right direction.

This refactoring also make introduction of rproc_serial cleaner.

As requested I also added a patch for not initializing buffers.

I have tested the VIRTIO_CONSOLE device by looping large amount of data
through character device and tty, with lockdep and slub-debug on.
This looks stable for me. I've also done a simple test of splice.

Thanks,
Sjur

cc: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
cc: Michael S. Tsirkin <mst@xxxxxxxxxx>
cc: Amit Shah <amit.shah@xxxxxxxxxx>
cc: Linus Walleij <linus.walleij@xxxxxxxxxx>
cc: Masami Hiramatsu <masami.hiramatsu.pt@xxxxxxxxxxx>


Sjur BrÃndeland (3):
virtio_console:Merge struct buffer_token into struct port_buffer
virtio_console: Add support for remoteproc serial
virtio_console: Don't initialize buffers to zero

drivers/char/virtio_console.c | 318 +++++++++++++++++++++++++++++------------
include/linux/virtio_ids.h | 1 +
2 files changed, 228 insertions(+), 91 deletions(-)

--
1.7.5.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/