Re: Lockdep warning in VFIO using v4.2-rc3

2015-07-23 Thread Joerg Roedel
Hi Alex, On Thu, Jul 23, 2015 at 11:07:37AM -0600, Alex Williamson wrote: > Thanks for the report. I think I found it. I'll do further testing > myself, but would appreciate if you're able to see if this clears the > problem. Thanks, Just tested it and the lockdep warning is gone. Thanks for y

Re: Lockdep warning in VFIO using v4.2-rc3

2015-07-23 Thread Alex Williamson
On Thu, 2015-07-23 at 11:15 +0200, Joerg Roedel wrote: > Hi Alex, > > I stumbled over this lockdep warning yesterday while testing my VT-d > changes. It looks like one code path is taking the locks: > > group->device_lock > driver_lock > pci_bus_sem > > while another path is ta

Lockdep warning in VFIO using v4.2-rc3

2015-07-23 Thread Joerg Roedel
Hi Alex, I stumbled over this lockdep warning yesterday while testing my VT-d changes. It looks like one code path is taking the locks: group->device_lock driver_lock pci_bus_sem while another path is taking pci_bus_sem group->device_lock which could lea