mmap_assert_write_locked warnings during for vhost_vdpa_fault

2024-06-17 Thread Dragos Tatulea
Hi, After commit ba168b52bf8e "mm: use rwsem assertion macros for  mmap_lock") was submitted, we started getting a lot of the following warnings about a missing mmap write lock during VM boot: [ cut here ] WARNING: CPU: 1 PID: 58633 at include/linux/rwsem.h:85 track_pfn_re

Re: mmap_assert_write_locked warnings during for vhost_vdpa_fault

2024-06-19 Thread Dragos Tatulea
On Tue, 2024-06-18 at 10:39 +0800, Jason Wang wrote: > On Tue, Jun 18, 2024 at 10:03 AM Tian, Kevin wrote: > > > > > From: Jason Wang > > > Sent: Tuesday, June 18, 2024 9:18 AM > > > > > > On Mon, Jun 17, 2024 at 11:51 PM Dragos Tatulea > > &

Re: mmap_assert_write_locked warnings during for vhost_vdpa_fault

2024-06-26 Thread Dragos Tatulea
t; > On Wed, Jun 19, 2024 at 5:52 PM Michael S. Tsirkin > > > > wrote: > > > > > > > > > > On Wed, Jun 19, 2024 at 09:14:41AM +, Dragos Tatulea wrote: > > > > > > On Tue, 2024-06-18 at 10:39 +0800,

Re: [PATCH] vdpa/mlx5: Use random MAC address when no nic vport MAC set

2024-09-02 Thread Dragos Tatulea
On 02.09.24 10:40, Cindy Lu wrote: > On Fri, 30 Aug 2024 at 22:46, Dragos Tatulea wrote: >> >> Hi Cindy, >> >> On 30.08.24 15:52, Dragos Tatulea wrote: >>> >>> >>> On 30.08.24 11:12, Cindy Lu wrote: >>>> On Thu, 29 Aug 2024 at

Re: [PATCH] vdpa/mlx5: Use random MAC address when no nic vport MAC set

2024-09-02 Thread Dragos Tatulea
On 02.09.24 10:53, Dragos Tatulea wrote: > > > On 02.09.24 10:40, Cindy Lu wrote: >> On Fri, 30 Aug 2024 at 22:46, Dragos Tatulea wrote: >>> >>> Hi Cindy, >>> >>> On 30.08.24 15:52, Dragos Tatulea wrote: >>>> >>>>

Re: [PATCH vhost v2 00/10] vdpa/mlx5: Parallelize device suspend/resume

2024-09-02 Thread Dragos Tatulea
Hi Lei, On 02.09.24 12:03, Lei Yang wrote: > Hi Dragos > > QE tested this series with mellanox nic, it failed with [1] when > booting guest, and host dmesg also will print messages [2]. This bug > can be reproduced boot guest with vhost-vdpa device. > > [1] qemu) qemu-kvm: vhost VQ 1 ring restor

Re: Host Crash When creating a vDPA Device with device_features

2025-07-03 Thread Dragos Tatulea
On Thu, Jul 03, 2025 at 02:47:09AM -0400, Michael S. Tsirkin wrote: > On Thu, Jul 03, 2025 at 11:58:26AM +0800, Wenli Quan wrote: > > Hello all: > > > > I am reporting a issue where the host system crashed when attempting to add > > a > > vDPA device using the command: > > > > # uname -r > > >

Re: Host Crash when re-running vDPA device creation script after interruption

2025-07-09 Thread Dragos Tatulea
On Wed, Jul 09, 2025 at 08:59:13PM +0800, Wenli Quan wrote: > On Wed, Jul 9, 2025 at 6:38 PM Dragos Tatulea wrote: > > > > On Wed, Jul 09, 2025 at 05:36:04PM +0800, Wenli Quan wrote: > > > I am reporting an issue where the host system crashes when re-running > >

Re: Host Crash when re-running vDPA device creation script after interruption

2025-07-09 Thread Dragos Tatulea
On Wed, Jul 09, 2025 at 05:36:04PM +0800, Wenli Quan wrote: > I am reporting an issue where the host system crashes when re-running > a script that creates a vDPA device after interrupting its previous > execution. I am attaching the script for your analysis, as I am unsure > of the exact step caus