Re: [PATCH] virtio-pci: alloc only resources actually used.

2015-06-16 Thread Michael S. Tsirkin
On Tue, Jun 16, 2015 at 03:57:52PM +0200, Gerd Hoffmann wrote: Move resource allocation from common code to legacy and modern code. Only request resources actually used, i.e. bar0 in legacy mode and the regions specified by capabilities in modern mode. Signed-off-by: Gerd Hoffmann

[PATCH] virtio-pci: alloc only resources actually used.

2015-06-16 Thread Gerd Hoffmann
Move resource allocation from common code to legacy and modern code. Only request resources actually used, i.e. bar0 in legacy mode and the regions specified by capabilities in modern mode. Signed-off-by: Gerd Hoffmann kra...@redhat.com --- drivers/virtio/virtio_pci_common.c | 7 -

Re: [PATCH 0/6] x86: reduce paravirtualized spinlock overhead

2015-06-16 Thread Thomas Gleixner
On Tue, 16 Jun 2015, Juergen Gross wrote: AFAIK there are no outstanding questions for more than one month now. I'd appreciate some feedback or accepting these patches. They are against dead code, which will be gone soon. We switched over to queued locks. Thanks, tglx

Re: [PATCH 0/6] x86: reduce paravirtualized spinlock overhead

2015-06-16 Thread Juergen Gross
AFAIK there are no outstanding questions for more than one month now. I'd appreciate some feedback or accepting these patches. Juergen On 04/30/2015 12:53 PM, Juergen Gross wrote: Paravirtualized spinlocks produce some overhead even if the kernel is running on bare metal. The main reason are

[PATCH 1/3] Add virtio-vga bits.

2015-06-16 Thread Gerd Hoffmann
--- drivers/gpu/drm/virtio/virtgpu_drm_bus.c | 44 +--- 1 file changed, 24 insertions(+), 20 deletions(-) diff --git a/drivers/gpu/drm/virtio/virtgpu_drm_bus.c b/drivers/gpu/drm/virtio/virtgpu_drm_bus.c index f4ec816..88a3916 100644 ---

[PATCH 3/3] virtio-gpu: add locking for vbuf pool

2015-06-16 Thread Gerd Hoffmann
From: Dave Airlie airl...@redhat.com Signed-off-by: Dave Airlie airl...@redhat.com Signed-off-by: Gerd Hoffmann kra...@redhat.com --- drivers/gpu/drm/virtio/virtgpu_drv.h | 1 + drivers/gpu/drm/virtio/virtgpu_vq.c | 7 +++ 2 files changed, 8 insertions(+) diff --git

[PATCH 2/3] drm/virtgpu: initialise fbdev after getting initial display info

2015-06-16 Thread Gerd Hoffmann
From: Dave Airlie airl...@redhat.com This should avoid issues with the fbdev path trying to render before we've gotten the display info. Signed-off-by: Dave Airlie airl...@redhat.com [ kraxel: wait for display-info reply ] Signed-off-by: Gerd Hoffmann kra...@redhat.com ---