Re: [PATCH 0/2] virtio-mmio updates for 3.7

2012-09-25 Thread Pawel Moll
On Tue, 2012-09-25 at 01:11 +0100, Rusty Russell wrote: > > Would you be so kind and consider getting those two small fixes into > > 3.7 merge? All credits go to Brian, all shame on me :-) > > Should these also be cc'd to sta...@kernel.org? I was thinking about it, but as the problem manifests it

[PATCHv6 0/3] virtio_console: Add rproc_serial device

2012-09-25 Thread sjur . brandeland
From: Sjur Brændeland 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 e

[PATCH 1/3] virtio_console:Merge struct buffer_token into struct port_buffer

2012-09-25 Thread sjur . brandeland
From: Sjur Brændeland This merge reduces code size by unifying the approach for sending scatter-lists and regular buffers. Any type of write operation (splice, write, put_chars) will now allocate a port_buffer and send_buf() and free_buf() can always be used. Signed-off-by: Sjur Brændeland cc:

[PATCHv5 2/3] virtio_console: Add support for remoteproc serial

2012-09-25 Thread sjur . brandeland
From: Sjur Brændeland Add a simple serial connection driver called VIRTIO_ID_RPROC_SERIAL (11) for communicating with a remote processor in an asymmetric multi-processing configuration. This implementation reuses the existing virtio_console implementation, and adds support for DMA allocation of

[PATCH 3/3] virtio_console: Don't initialize buffers to zero

2012-09-25 Thread sjur . brandeland
From: Sjur Brændeland Skip initializing the receive buffers. Signed-off-by: Sjur Brændeland --- drivers/char/virtio_console.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c index faedd2c..e7d8787 100644 ---

Re: [PATCH v10 1/5] mm: introduce a common interface for balloon pages mobility

2012-09-25 Thread Rafael Aquini
On Tue, Sep 25, 2012 at 03:05:49AM +0200, Michael S. Tsirkin wrote: > If these are all under page lock these barriers just confuse things, > because they are almost never enough by themselves. > So in that case it would be better to drop them and document > usage as you are going to. > Would the f

Re: [PATCH] virtio-blk: Disable callback in virtblk_done()

2012-09-25 Thread Asias He
On 09/25/2012 10:36 AM, Asias He wrote: > This reduces unnecessary interrupts that host could send to guest while > guest is in the progress of irq handling. > > If one vcpu is handling the irq, while another interrupt comes, in > handle_edge_irq(), the guest will mask the interrupt via mask_msi_i

Re: [PATCH v10 3/5] virtio_balloon: introduce migration primitives to balloon pages

2012-09-25 Thread Rafael Aquini
On Tue, Sep 25, 2012 at 02:40:24AM +0200, Michael S. Tsirkin wrote: > > @@ -139,9 +158,15 @@ static void fill_balloon(struct virtio_balloon *vb, > > size_t num) > > break; > > } > > set_page_pfns(vb->pfns + vb->num_pfns, page); > > - vb->num_pa

Re: [PATCH 1/3] virtio_console:Merge struct buffer_token into struct port_buffer

2012-09-25 Thread Masami Hiramatsu
(2012/09/25 22:47), sjur.brandel...@stericsson.com wrote: > From: Sjur Brændeland > > This merge reduces code size by unifying the approach for > sending scatter-lists and regular buffers. Any type of > write operation (splice, write, put_chars) will now allocate > a port_buffer and send_buf() an

Re: [PATCH 0/2] virtio-mmio updates for 3.7

2012-09-25 Thread Rusty Russell
Pawel Moll writes: > On Tue, 2012-09-25 at 01:11 +0100, Rusty Russell wrote: >> > Would you be so kind and consider getting those two small fixes into >> > 3.7 merge? All credits go to Brian, all shame on me :-) >> >> Should these also be cc'd to sta...@kernel.org? > > I was thinking about it, b