Re: [RFC]: mm,power: introduce MADV_WIPEONSUSPEND

2020-07-12 Thread Pavel Machek
On Tue 2020-07-07 12:00:41, Colm MacCarthaigh wrote: > > > On 7 Jul 2020, at 9:37, Pavel Machek wrote: > > Please go through the thread and try to understand it. > > > > You'd need syscalls per get_randomness(), not per migration. > > I think one check per get_randomness() is sufficient,

[vhost:config-endian 22/36] ./usr/include/linux/virtio_9p.h:39:2: error: unknown type name '__virtio16'

2020-07-12 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git config-endian head: 6aef2378a564fea8e69c0419d94dc3ad9b4b7a99 commit: 8edd653e47e7e5ef253699fb1d0bb587941434d9 [22/36] virtio_9p: correct tags for config space fields config: x86_64-allyesconfig (attached as .config)

Re: [PATCH] virtio_balloon: clear modern features under legacy

2020-07-12 Thread Michael S. Tsirkin
On Fri, Jul 10, 2020 at 09:13:41AM -0700, Alexander Duyck wrote: > On Fri, Jul 10, 2020 at 4:31 AM Michael S. Tsirkin wrote: > > > > Page reporting features were never supported by legacy hypervisors. > > Supporting them poses a problem: should we use native endian-ness (like > > current code

Re: [PATCH 2/7] kvm/vfio: detect assigned device via irqbypass manager

2020-07-12 Thread Alex Williamson
On Sun, 12 Jul 2020 22:49:21 +0800 Zhu Lingshan wrote: > We used to detect assigned device via VFIO manipulated device > conters. This is less flexible consider VFIO is not the only > interface for assigned device. vDPA devices has dedicated > backed hardware as well. So this patch tries to

ICITS'21 - 4th Int. Conference on Information Technology & Systems, Santa Elena, Ecuador

2020-07-12 Thread Maria
* Published by Springer, in a book of the AISC series ** Indexed in Scopus, ISI, DBLP, Ei-Compendex, etc -- -- --- ICITS'21 - 4th International Conference on Information Technology & Systems 4 - 6 February 2021 | Peninsula de

Re: [PATCH 2/7] kvm/vfio: detect assigned device via irqbypass manager

2020-07-12 Thread Michael S. Tsirkin
On Sun, Jul 12, 2020 at 10:49:21PM +0800, Zhu Lingshan wrote: > We used to detect assigned device via VFIO manipulated device > conters. This is less flexible consider VFIO is not the only > interface for assigned device. vDPA devices has dedicated > backed hardware as well. So this patch tries to

[vhost:config-endian 38/39] drivers/platform/mellanox/mlxbf-tmfifo.c:1237:2: error: invalid preprocessing directive #defined; did you mean

2020-07-12 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git config-endian head: d8ede9b5e734748613d3e3108a4026244aa8e41f commit: 392755e77e260e8a173b228e8ecc17917f97d5eb [38/39] fixup! virtio_net: correct tags for config space fields config: arm64-allyesconfig (attached as .config)

Re: [PATCH] vhost/scsi: fix up req type endian-ness

2020-07-12 Thread Jason Wang
On 2020/7/10 下午6:48, Michael S. Tsirkin wrote: vhost/scsi doesn't handle type conversion correctly for request type when using virtio 1.0 and up for BE, or cross-endian platforms. Fix it up using vhost_32_to_cpu. Cc: sta...@vger.kernel.org Signed-off-by: Michael S. Tsirkin ---

RE: [PATCH] xen: introduce xen_vring_use_dma

2020-07-12 Thread Peng Fan
> Subject: Re: [PATCH] xen: introduce xen_vring_use_dma > > Sorry for the late reply -- a couple of conferences kept me busy. > > > On Wed, 1 Jul 2020, Michael S. Tsirkin wrote: > > On Wed, Jul 01, 2020 at 10:34:53AM -0700, Stefano Stabellini wrote: > > > Would you be in favor of a more

Re: [PATCH] virtio_balloon: fix sparse warning

2020-07-12 Thread Jason Wang
On 2020/7/10 下午6:48, Michael S. Tsirkin wrote: balloon uses virtio32_to_cpu instead of cpu_to_virtio32 to convert a native endian number to virtio. No practical difference but makes sparse warn. Fix it up. Signed-off-by: Michael S. Tsirkin --- drivers/virtio/virtio_balloon.c | 2 +- 1 file

Re: [PATCH] virtio_ring: sparse warning fixup

2020-07-12 Thread Jason Wang
On 2020/7/10 下午6:49, Michael S. Tsirkin wrote: virtio_store_mb was built with split ring in mind so it accepts __virtio16 arguments. Packed ring uses __le16 values, so sparse complains. It's just a store with some barriers so let's convert it to a macro, we don't loose too much type safety by

Re: [PATCH] virtio_balloon: clear modern features under legacy

2020-07-12 Thread Jason Wang
On 2020/7/10 下午7:31, Michael S. Tsirkin wrote: Page reporting features were never supported by legacy hypervisors. Supporting them poses a problem: should we use native endian-ness (like current code assumes)? Or little endian-ness like the virtio spec says? Rather than try to figure out, and