Re: [PATCH net-next v1 5/5] virtio_ring: enable packed ring

2018-07-09 Thread Jason Wang
On 2018年07月09日 15:22, Tiwei Bie wrote: Signed-off-by: Tiwei Bie --- drivers/s390/virtio/virtio_ccw.c | 8 drivers/virtio/virtio_ring.c | 2 ++ 2 files changed, 10 insertions(+) diff --git a/drivers/s390/virtio/virtio_ccw.c b/drivers/s390/virtio/virtio_ccw.c index

Re: [PATCH net-next v1 4/5] virtio_ring: add event idx support in packed ring

2018-07-09 Thread Jason Wang
On 2018年07月09日 15:22, Tiwei Bie wrote: @@ -1059,9 +1059,19 @@ static bool virtqueue_kick_prepare_packed(struct virtqueue *_vq) * suppressions. */ virtio_mb(vq->weak_barriers); + old = vq->next_avail_idx - vq->num_added; + new = vq->next_avail_idx; +

Re: [PATCH] drm/cirrus: flip default to 32bpp

2018-07-09 Thread Daniel Vetter
On Fri, Jul 06, 2018 at 02:35:07PM -0400, Adam Jackson wrote: > On Fri, 2018-07-06 at 11:12 +0200, Gerd Hoffmann wrote: > > cirrus can handle 1024x768 (and slightly higher) with 24bpp depth. > > cirrus can handle up to 800x600 with 32bpp. > > 16bpp is maybe a better choice? Nobody's using cirrus

[PATCH net-next v1 5/5] virtio_ring: enable packed ring

2018-07-09 Thread Tiwei Bie
Signed-off-by: Tiwei Bie --- drivers/s390/virtio/virtio_ccw.c | 8 drivers/virtio/virtio_ring.c | 2 ++ 2 files changed, 10 insertions(+) diff --git a/drivers/s390/virtio/virtio_ccw.c b/drivers/s390/virtio/virtio_ccw.c index 8f5c1d7f751a..ff5b85736d8d 100644 ---

[PATCH net-next v1 4/5] virtio_ring: add event idx support in packed ring

2018-07-09 Thread Tiwei Bie
This commit introduces the EVENT_IDX support in packed ring. Signed-off-by: Tiwei Bie --- drivers/virtio/virtio_ring.c | 73 1 file changed, 65 insertions(+), 8 deletions(-) diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index

[PATCH net-next v1 3/5] virtio_ring: add packed ring support

2018-07-09 Thread Tiwei Bie
This commit introduces the support (without EVENT_IDX) for packed ring. Signed-off-by: Tiwei Bie --- drivers/virtio/virtio_ring.c | 495 ++- 1 file changed, 487 insertions(+), 8 deletions(-) diff --git a/drivers/virtio/virtio_ring.c

[PATCH net-next v1 2/5] virtio_ring: support creating packed ring

2018-07-09 Thread Tiwei Bie
This commit introduces the support for creating packed ring. All split ring specific functions are added _split suffix. Some necessary stubs for packed ring are also added. Signed-off-by: Tiwei Bie --- drivers/virtio/virtio_ring.c | 801 +++

[PATCH net-next v1 0/5] virtio: support packed ring

2018-07-09 Thread Tiwei Bie
Hello everyone, This patch set implements packed ring support in virtio driver. Some functional tests have been done with Jason's packed ring implementation in vhost: https://lkml.org/lkml/2018/7/3/33 Both of ping and netperf worked as expected. RFC (v6) -> v1: - Avoid extra virtio_wmb() in