Re: [PATCH v2] hw: m25p80: allow write_enable latch get/set

2022-05-11 Thread Cédric Le Goater
Hello Iris, [ Fixing Thomas email ] On 5/12/22 02:54, Iris Chen via wrote: The write_enable latch property is not currently exposed. This commit makes it a modifiable property using get/set methods. Signed-off-by: Iris Chen --- Ran ./scripts/checkpatch.pl on the patch and added a description.

Re: [PATCH v4 3/4] vdpa: add vdpa-dev support

2022-05-11 Thread longpeng2--- via
在 2022/5/11 16:55, Jason Wang 写道: On Wed, May 11, 2022 at 2:10 PM Longpeng (Mike, Cloud Infrastructure Service Product Dept.) wrote: 在 2022/5/11 10:56, Jason Wang 写道: On Tue, May 10, 2022 at 8:59 PM Longpeng(Mike) wrote: From: Longpeng Supports vdpa-dev. Signed-off-by: Longpeng --

Re: [PATCH] hw/nvme: fix smart aen

2022-05-11 Thread Klaus Jensen
On May 6 08:36, Klaus Jensen wrote: > From: Klaus Jensen > > Pass the right constant to nvme_smart_event(). The NVME_AER* values hold > the bit position in the SMART byte, not the shifted value that we expect > it to be in nvme_smart_event(). > > Fixes: c62720f137df ("hw/block/nvme: trigger asy

[PATCH v5 3/4] vdpa: add vdpa-dev support

2022-05-11 Thread Longpeng(Mike)
From: Longpeng Supports vdpa-dev, we can use the deivce directly: -M microvm -m 512m -smp 2 -kernel ... -initrd ... -device \ vhost-vdpa-device,vhostdev=/dev/vhost-vdpa-x Signed-off-by: Longpeng --- hw/virtio/Kconfig| 5 + hw/virtio/meson.build| 1 + hw/virtio/vdpa-dev

[PATCH v5 0/4] add generic vDPA device support

2022-05-11 Thread Longpeng(Mike)
From: Longpeng Hi guys, With the generic vDPA device, QEMU won't need to touch the device types any more, such like vfio. We can use the generic vDPA device as follow: -device vhost-vdpa-device-pci,vhostdev=/dev/vhost-vdpa-X Or -M microvm -m 512m -smp 2 -kernel ... -initrd ... -device \

[PATCH v5 1/4] linux-headers: Update headers to Linux 5.18-rc6

2022-05-11 Thread Longpeng(Mike)
From: Longpeng Update headers to 5.18-rc6. I need latest vhost changes. Signed-off-by: Longpeng --- linux-headers/linux/vhost.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/linux-headers/linux/vhost.h b/linux-headers/linux/vhost.h index c998860d7b..5d99e7c242 100644 --- a/linux-h

[PATCH v5 4/4] vdpa: add vdpa-dev-pci support

2022-05-11 Thread Longpeng(Mike)
From: Longpeng Supports vdpa-dev-pci, we can use the device as follow: -device vhost-vdpa-device-pci,vhostdev=/dev/vhost-vdpa-X Signed-off-by: Longpeng --- hw/virtio/meson.build| 1 + hw/virtio/vdpa-dev-pci.c | 101 +++ 2 files changed, 102 insertions

[PATCH v5 2/4] virtio: get class_id and pci device id by the virtio id

2022-05-11 Thread Longpeng(Mike)
From: Longpeng Add helpers to get the "Transitional PCI Device ID" and "class_id" of the device specified by the "Virtio Device ID". These helpers will be used to build the generic vDPA device later. Signed-off-by: Longpeng --- hw/virtio/virtio-pci.c | 77 +

Re: [PATCH v5 2/4] virtio: get class_id and pci device id by the virtio id

2022-05-11 Thread Michael S. Tsirkin
On Thu, May 12, 2022 at 02:21:01PM +0800, Longpeng(Mike) wrote: > From: Longpeng > > Add helpers to get the "Transitional PCI Device ID" and "class_id" > of the device specified by the "Virtio Device ID". > > These helpers will be used to build the generic vDPA device later. > > Signed-off-by:

Re: [PATCH 2/2] coroutine: Revert to constant batch size

2022-05-11 Thread 成川 弘樹
Thank you for your fix. I confirmed that after applying this patch, my intended performance improvement by 4c41c69e is still kept in our environment. On 2022/05/11 0:10, Kevin Wolf wrote: Commit 4c41c69e changed the way the coroutine pool is sized because for virtio-blk devices with a large

<    1   2   3