On Fri, Nov 04, 2022 at 03:27:13PM -0600, Alex Williamson wrote: > On Tue, 25 Oct 2022 15:12:09 -0300 > Jason Gunthorpe <jgg@xxxxxxxxxx> wrote: > > > [ > > At this point everything is done and I will start putting this work into a > > git tree and into linux-next with the intention of sending it during the > > next merge window. > > > > I intend to focus the next several weeks on more intensive QA to look at > > error flows and other things. Hopefully including syzkaller if I'm lucky > > ] > > In case this one hasn't been reported yet (with IOMMUFD_VFIO_CONTAINER): > > ====================================================== > WARNING: possible circular locking dependency detected > 6.1.0-rc3+ #133 Tainted: G E > ------------------------------------------------------ > qemu-system-x86/1731 is trying to acquire lock: > ffff90d3f5fe3e08 (&iopt->iova_rwsem){++++}-{3:3}, at: iopt_map_pages.part.0+0x85/0xe0 [iommufd] > > but task is already holding lock: > ffff90d3f5fe3d18 (&iopt->domains_rwsem){.+.+}-{3:3}, at: iopt_map_pages.part.0+0x18/0xe0 [iommufd] > > which lock already depends on the new lock. I think this is: https://lore.kernel.org/all/Y1qR6Zxdmuk+ME5z@xxxxxxxxxx/ Thanks, Jason