Re: [PATCH v15 17/23] drm/shmem-helper: Add and use drm_gem_shmem_resv_assert_held() helper

2023-08-29 Thread Christian König via Virtualization
Am 29.08.23 um 09:29 schrieb Boris Brezillon: On Tue, 29 Aug 2023 05:34:23 +0300 Dmitry Osipenko wrote: On 8/28/23 13:12, Boris Brezillon wrote: On Sun, 27 Aug 2023 20:54:43 +0300 Dmitry Osipenko wrote: In a preparation of adding drm-shmem memory shrinker, move all reservation locking l

ICITS'24 - The 2024 International Conference on Information Technology & Systems |Temuco, Chile

2023-08-29 Thread ICITS-24
* SCIMago H-Index = 27 * Google Scholar H5-Index = 19 * Indexed in WoS, Scopus, DBLP, Google Scholar, etc. -- -- -- -- ICITS'24 - 7th Int. Conference on Information Technology & Systems Univer

[PATCH AUTOSEL 6.4 05/17] vdpa/mlx5: Correct default number of queues when MQ is on

2023-08-29 Thread Sasha Levin
From: Dragos Tatulea [ Upstream commit 3fe024193340b225d1fd410d78c495434a9d68e0 ] The standard specifies that the initial number of queues is the default, which is 1 (1 tx, 1 rx). Signed-off-by: Dragos Tatulea Reviewed-by: Eugenio Pérez Message-Id: <20230727172354.68243-2-dtatu...@nvidia.com>

[PATCH AUTOSEL 6.4 04/17] vhost-scsi: Fix alignment handling with windows

2023-08-29 Thread Sasha Levin
From: Mike Christie [ Upstream commit 5ced58bfa132c8ba0f9c893eb621595a84cfee12 ] The linux block layer requires bios/requests to have lengths with a 512 byte alignment. Some drivers/layers like dm-crypt and the directi IO code will test for it and just fail. Other drivers like SCSI just assume t

[PATCH AUTOSEL 6.4 07/17] virtio-mem: convert most offline_and_remove_memory() errors to -EBUSY

2023-08-29 Thread Sasha Levin
From: David Hildenbrand [ Upstream commit ddf409851461f515cc32974714b73efe2e012bde ] Just like we do with alloc_contig_range(), let's convert all unknown errors to -EBUSY, but WARN so we can look into the issue. For example, offline_pages() could fail with -EINTR, which would be unexpected in ou

[PATCH AUTOSEL 6.4 08/17] virtio-mem: keep retrying on offline_and_remove_memory() errors in Sub Block Mode (SBM)

2023-08-29 Thread Sasha Levin
From: David Hildenbrand [ Upstream commit a31648fd4f96fbe0a4d0aeb16b57a2405c6943c0 ] In case offline_and_remove_memory() fails in SBM, we leave a completely unplugged Linux memory block stick around until we try plugging memory again. We won't try removing that memory block again. offline_and_r

[PATCH AUTOSEL 6.4 06/17] virtio-mem: remove unsafe unplug in Big Block Mode (BBM)

2023-08-29 Thread Sasha Levin
From: David Hildenbrand [ Upstream commit f504e15b94eb4e5b47f8715da59c0207f68dffe1 ] When "unsafe unplug" is enabled, we don't fake-offline all memory ahead of actual memory offlining using alloc_contig_range(). Instead, we rely on offline_pages() to also perform actual page migration, which mig

[PATCH AUTOSEL 6.4 09/17] virtio-mem: check if the config changed before fake offlining memory

2023-08-29 Thread Sasha Levin
From: David Hildenbrand [ Upstream commit f55484fd7be923b740e8e1fc304070ba53675cb4 ] If we repeatedly fail to fake offline memory to unplug it, we won't be sending any unplug requests to the device. However, we only check if the config changed when sending such (un)plug requests. We could end u

Re: [PATCH v3 0/3] vduse: add support for networking devices

2023-08-29 Thread Maxime Coquelin
On 8/11/23 00:00, Jakub Kicinski wrote: On Thu, 10 Aug 2023 17:42:11 -0400 Michael S. Tsirkin wrote: Directly into the stack? I thought VDUSE is vDPA in user space, meaning to get to the kernel the packet has to first go thru a virtio-net instance. yes. is that a sufficient filter in your o

Re: [PATCH v3 0/3] vduse: add support for networking devices

2023-08-29 Thread Michael S. Tsirkin
On Tue, Aug 29, 2023 at 03:34:06PM +0200, Maxime Coquelin wrote: > > > On 8/11/23 00:00, Jakub Kicinski wrote: > > On Thu, 10 Aug 2023 17:42:11 -0400 Michael S. Tsirkin wrote: > > > > Directly into the stack? I thought VDUSE is vDPA in user space, > > > > meaning to get to the kernel the packet h

[PATCH] vdpa/mlx5: Fix double release of debugfs entry

2023-08-29 Thread Dragos Tatulea via Virtualization
The error path in setup_driver deletes the debugfs entry but doesn't clear the pointer. During .dev_del the invalid pointer will be released again causing a crash. This patch fixes the issue by always clearing the debugfs entry in mlx5_vdpa_remove_debugfs. Also, stop removing the debugfs entry in

[PATCH] vdpa/mlx5: Fix firmware error on creation of 1k VQs

2023-08-29 Thread Dragos Tatulea via Virtualization
A firmware error is triggered when configuring a 9k MTU on the PF after switching to switchdev mode and then using a vdpa device with larger (1k) rings: mlx5_cmd_out_err: CREATE_GENERAL_OBJECT(0xa00) op_mod(0xd) failed, status bad resource(0x5), syndrome (0xf6db90), err(-22) This is due to the fa

Re: [PATCH] vdpa/mlx5: Fix firmware error on creation of 1k VQs

2023-08-29 Thread kernel test robot
Hi Dragos, kernel test robot noticed the following build warnings: [auto build test WARNING on linus/master] [also build test WARNING on v6.5 next-20230829] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as

Re: [PATCH] virtio-vsock: add VIRTIO_VSOCK_F_DGRAM feature bit

2023-08-29 Thread Michael S. Tsirkin
On Tue, Aug 29, 2023 at 09:29:45PM +, Bobby Eshleman wrote: > This adds support for datagrams to the virtio-vsock device. > > virtio-vsock already supports stream and seqpacket types. The existing > message types and header fields are extended to support datagrams. > Semantic differences betwe

Re: [PATCH] virtio_balloon: Fix endless deflation and inflation on arm64

2023-08-29 Thread Gavin Shan
On 8/29/23 11:54, Gavin Shan wrote: The deflation request to the target, which isn't unaligned to the guest page size causes endless deflation and inflation actions. For example, we receive the flooding QMP events for the changes on memory balloon's size after a deflation request to the unaligned