[PATCHv4] virtio_console: Add support for remoteproc serial

2012-09-24 Thread sjur . brandeland
From: Sjur Brændeland sjur.brandel...@stericsson.com 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

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

2012-09-24 Thread Peter Zijlstra
On Mon, 2012-09-17 at 13:38 -0300, Rafael Aquini wrote: +static inline void assign_balloon_mapping(struct page *page, + struct address_space *mapping) +{ + page-mapping = mapping; + smp_wmb(); +} + +static inline void

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

2012-09-24 Thread Pawel Moll
Hi Rusty, 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 :-) Cheers! Pawel Brian Foley (2): virtio_mmio: fix off by one error allocating queue virtio_mmio: Don't attempt to create empty virtqueues

[PATCH 2/2] virtio_mmio: Don't attempt to create empty virtqueues

2012-09-24 Thread Pawel Moll
From: Brian Foley brian.fo...@arm.com If a virtio device reports a QueueNumMax of 0, vring_new_virtqueue() doesn't check this, and thanks to an unsigned (i num - 1) loop guard, scribbles over memory when initialising the free list. Avoid by not trying to create zero-descriptor queues, as

[PATCH 1/2] virtio_mmio: fix off by one error allocating queue

2012-09-24 Thread Pawel Moll
From: Brian Foley brian.fo...@arm.com vm_setup_vq fails to allow VirtQueues needing only 2 pages of storage, as it should. Found with a kernel using 64kB pages, but can be provoked if a virtio device reports QueueNumMax where the descriptor table and available ring fit in one page, and the used

Re: [PATCHv4] virtio_console: Add support for remoteproc serial

2012-09-24 Thread Amit Shah
Hi Sjur, I'm sorry for not being able to look at this earlier. A general comment is to base this patchset on linux-next; we've been seeing more than usual activity for virtio_console this time around. I don't expect the conflicts to be big, though. On (Mon) 24 Sep 2012 [14:33:07],

RE: [PATCHv4] virtio_console: Add support for remoteproc serial

2012-09-24 Thread Sjur BRENDELAND
Hi Amit, I'm sorry for not being able to look at this earlier. No worries. I'll try to respin and retest this patch by tomorrow. If you by any chance could find time to review so could make it in time for 3.7 it would be great :-) A general comment is to base this patchset on linux-next;

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

2012-09-24 Thread Michael S. Tsirkin
On Mon, Sep 17, 2012 at 01:38:18PM -0300, Rafael Aquini wrote: Memory fragmentation introduced by ballooning might reduce significantly the number of 2MB contiguous memory blocks that can be used within a guest, thus imposing performance penalties associated with the reduced number of

Re: [PATCH v10 0/5] make balloon pages movable by compaction

2012-09-24 Thread Michael S. Tsirkin
On Mon, Sep 17, 2012 at 03:15:31PM -0700, Andrew Morton wrote: How can a patchset reach v10 and have zero Reviewed-by's? I think the problem is, this adds an API between mm and balloon device that is pretty complex: consider that previously we literally only used alloc_page, __free_page and

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

2012-09-24 Thread Rusty Russell
Pawel Moll pawel.m...@arm.com writes: Hi Rusty, 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? Cheers, Rusty. ___

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

2012-09-24 Thread Asias He
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_irq() which is a very heavy operation that goes

Re: [PATCHv4] virtio_console: Add support for remoteproc serial

2012-09-24 Thread Amit Shah
On (Mon) 24 Sep 2012 [23:50:01], Sjur BRENDELAND wrote: Hi Amit, I'm sorry for not being able to look at this earlier. No worries. I'll try to respin and retest this patch by tomorrow. If you by any chance could find time to review so could make it in time for 3.7 it would be great :-)