Re: [PATCH] gpu/drm/virtio/virtgpu_vq.c: Use kmem_cache_zalloc

2018-10-29 Thread Gerd Hoffmann
On Tue, Oct 23, 2018 at 12:50:36PM +0300, Jani Nikula wrote: > On Tue, 23 Oct 2018, Souptick Joarder wrote: > > On Fri, Oct 19, 2018 at 9:30 PM Sabyasachi Gupta > > wrote: > >> > >> Replaced kmem_cache_alloc + memset with kmem_cache_zalloc > > > > Put a new line gap in between these two lines

Re: [PATCH 0/4] Improve virtio ID allocation

2018-10-29 Thread Gerd Hoffmann
On Wed, Sep 26, 2018 at 09:00:27AM -0700, Matthew Wilcox wrote: > I noticed you were using IDRs where you could be using the more efficient > IDAs, then while fixing that I noticed the lack of error handling, > and I decided to follow that up with an efficiency improvement. > > There's probably a

[PATCH v4] drm/bochs: add edid support.

2018-10-29 Thread Gerd Hoffmann
Recent qemu (latest master branch, upcoming 3.1 release) got support for EDID data. This patch adds guest driver support. EDID support in qemu is not (yet) enabled by default, so please use 'qemu -device VGA,edid=on' for testing. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/bochs/bochs.h

Re: [PATCH v3] drm/bochs: add edid support.

2018-10-29 Thread Gerd Hoffmann
On Mon, Oct 29, 2018 at 07:44:28PM +0200, Jani Nikula wrote: > On Mon, 29 Oct 2018, Gerd Hoffmann wrote: > > Recent qemu (latest master branch, upcoming 3.1 release) got support > > for EDID data. This patch adds guest driver support. > > > > EDID support in qemu is not (yet) enabled by default,

Re: [PATCH v8] virtio_blk: add discard and write zeroes support

2018-10-29 Thread Paolo Bonzini
On 26/10/2018 10:26, Christoph Hellwig wrote: > On Fri, Oct 26, 2018 at 01:28:54AM +0200, Paolo Bonzini wrote: >> On 15/10/2018 11:27, Christoph Hellwig wrote: >>> There is some issues in this spec. For one using the multiple ranges >>> also for write zeroes is rather inefficient. Write zeroes

Re: [PATCH v3] drm/bochs: add edid support.

2018-10-29 Thread Jani Nikula
On Mon, 29 Oct 2018, Gerd Hoffmann wrote: > Recent qemu (latest master branch, upcoming 3.1 release) got support > for EDID data. This patch adds guest driver support. > > EDID support in qemu is not (yet) enabled by default, so please use > 'qemu -device VGA,edid=on' for testing. Any chance of

[PATCH] x86/paravirt: pv_ops isn't GPL only

2018-10-29 Thread Juergen Gross
Commit 5c83511bdb9832 ("x86/paravirt: Use a single ops structure") introduced a regression for out-of-tree modules using spinlocks, as pv_lock_ops was exported via EXPORT_SYMBOL(), while the new pv_ops structure now containing the pv lock operations is exported via EXPORT_SYMBOL_GPL(). Change

Re: [Outreachy kernel] [PATCH 0/6] drm/qxl: Remove checkpatch issues

2018-10-29 Thread Daniel Vetter
On Fri, Oct 26, 2018 at 04:20:30PM -0300, Shayenne da Luz Moura wrote: > This series cleans the following checkpatch.pl issues: > > ERROR: trailing whitespace > WARNING: Missing a blank line after declarations > CHECK: Please don't use multiple blank lines > WARNING: Prefer 'unsigned int' to bare

[PATCH v3] drm/bochs: add edid support.

2018-10-29 Thread Gerd Hoffmann
Recent qemu (latest master branch, upcoming 3.1 release) got support for EDID data. This patch adds guest driver support. EDID support in qemu is not (yet) enabled by default, so please use 'qemu -device VGA,edid=on' for testing. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/bochs/bochs.h