[PATCH 2/3] ringtest: support test specific parameters

2017-04-06 Thread Michael S. Tsirkin
Add a new flag for passing test-specific parameters. Signed-off-by: Michael S. Tsirkin --- tools/virtio/ringtest/main.c | 13 + tools/virtio/ringtest/main.h | 2 ++ 2 files changed, 15 insertions(+) diff --git a/tools/virtio/ringtest/main.c

[PATCH 3/3] ptr_ring: support testing different batching sizes

2017-04-06 Thread Michael S. Tsirkin
Use the param flag for that. Signed-off-by: Michael S. Tsirkin --- tools/virtio/ringtest/ptr_ring.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/virtio/ringtest/ptr_ring.c b/tools/virtio/ringtest/ptr_ring.c index 635b07b..7b22f1b 100644 ---

Re: DRM_FORMAT_* byte order (was: Re: [PATCH] drm: virtio: fix virtio_gpu_cursor_formats)

2017-04-06 Thread Ville Syrjälä
On Thu, Apr 06, 2017 at 08:27:47PM +0300, Ville Syrjälä wrote: > On Thu, Apr 06, 2017 at 10:29:43AM +0200, Gerd Hoffmann wrote: > > Hi, > > > > > > static const uint32_t virtio_gpu_cursor_formats[] = { > > > > +#ifdef __BIG_ENDIAN > > > > + DRM_FORMAT_BGRA, > > > > +#else > > > >

Re: DRM_FORMAT_* byte order (was: Re: [PATCH] drm: virtio: fix virtio_gpu_cursor_formats)

2017-04-06 Thread Ville Syrjälä
On Thu, Apr 06, 2017 at 10:29:43AM +0200, Gerd Hoffmann wrote: > Hi, > > > > static const uint32_t virtio_gpu_cursor_formats[] = { > > > +#ifdef __BIG_ENDIAN > > > + DRM_FORMAT_BGRA, > > > +#else > > > DRM_FORMAT_ARGB, > > > +#endif > > > > DRM formats are supposed to be little

CFP SECRYPT 2017 - 14th Int.l Conf. on Security and Cryptography (Madrid/Spain)

2017-04-06 Thread ic...@insticc.info
SUBMISSION DEADLINE 14th International Conference on Security and Cryptography Submission Deadline: April 18, 2017 http://www.secrypt.icete.org/ July 24 - 26, 2017 Madrid, Spain. Technically Co-sponsored by IEEE Systems Council. In Cooperation with ITG, IACR. With the presence of

[PATCH] drm/virtio: don't leak bo on drm_gem_object_init failure

2017-04-06 Thread Gerd Hoffmann
Reported-by: 李强 Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/virtio/virtgpu_object.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/virtio/virtgpu_object.c b/drivers/gpu/drm/virtio/virtgpu_object.c index

CFP WINSYS 2017 - 14th Int.l Conf. on Wireless Networks and Mobile Systems (Madrid/Spain)

2017-04-06 Thread ic...@insticc.info
SUBMISSION DEADLINE 14th International Conference on Wireless Networks and Mobile Systems Submission Deadline: April 18, 2017 http://www.winsys.icete.org/ July 24 - 26, 2017 Madrid, Spain. WINSYS is organized in 3 major tracks: - Sensor Networks and Ad Hoc Communications - Wireless and

Re: [bug report] virtio_net: rework mergeable buffer handling

2017-04-06 Thread Michael S. Tsirkin
On Thu, Apr 06, 2017 at 08:29:49AM +0300, Dan Carpenter wrote: > Hello Michael S. Tsirkin, > > The patch 6c8e5f3c41c8: "virtio_net: rework mergeable buffer > handling" from Mar 6, 2017, leads to the following static checker > warning: > > drivers/net/virtio_net.c:1042 virtnet_receive() >

[PATCH] virtio_net: tidy a couple debug statements

2017-04-06 Thread Dan Carpenter
We are printing a decimal value for truesize so we shouldn't use an "0x" prefix. Signed-off-by: Dan Carpenter diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index 0e6e3acf6ff1..2b5e8069d9e5 100644 --- a/drivers/net/virtio_net.c +++

Re: [PATCH] drm: virtio: fix virtio_gpu_cursor_formats

2017-04-06 Thread Daniel Vetter
On Wed, Apr 05, 2017 at 08:11:25PM +0300, Ville Syrjälä wrote: > On Wed, Apr 05, 2017 at 10:09:15AM +0200, Laurent Vivier wrote: > > When we use virtio-vga with a big-endian guest, > > the mouse pointer disappears. > > > > To fix that, on big-endian use DRM_FORMAT_BGRA > > instead of

Re: [PATCH] drm: virtio: fix virtio_gpu_cursor_formats

2017-04-06 Thread Laurent Vivier
On 05/04/2017 19:11, Ville Syrjälä wrote: > On Wed, Apr 05, 2017 at 10:09:15AM +0200, Laurent Vivier wrote: >> When we use virtio-vga with a big-endian guest, >> the mouse pointer disappears. >> >> To fix that, on big-endian use DRM_FORMAT_BGRA >> instead of DRM_FORMAT_ARGB. >> >>