Re: Kernel panic while doing vfio-pci hot-plug/unplug test

2019-10-23 Thread Matthew Wilcox
On Wed, Oct 23, 2019 at 10:15:40AM -0500, Bjorn Helgaas wrote: > I don't like being one of a handful of callers of __add_wait_queue(), > so I like that solution from that point of view. > > The 7ea7e98fd8d0 ("PCI: Block on access to temporarily unavailable pci > device") commit log suggests that u

Re: Kernel panic while doing vfio-pci hot-plug/unplug test

2019-10-23 Thread Bjorn Helgaas
>> > >> Recently I encountered a kernel panic while doing vfio-pci hot-plug/unplug > >> test repeatly on my Arm-KVM virtual machines. > >> See the call stack below: > >> > >> [66628.697280] vfio-pci :06:03.5: enabling device ( -> 0002) >

Re: Kernel panic while doing vfio-pci hot-plug/unplug test

2019-10-23 Thread Xiang Zheng
Hi Bjorn, Thanks for your reply! On 2019/10/18 21:58, Bjorn Helgaas wrote: > [+cc Matthew] > > On Wed, Oct 16, 2019 at 09:36:23PM +0800, Xiang Zheng wrote: >> Hi all, >> >> Recently I encountered a kernel panic while doing vfio-pci hot-plug/unplug >> te

Re: Kernel panic while doing vfio-pci hot-plug/unplug test

2019-10-18 Thread Bjorn Helgaas
[+cc Matthew] On Wed, Oct 16, 2019 at 09:36:23PM +0800, Xiang Zheng wrote: > Hi all, > > Recently I encountered a kernel panic while doing vfio-pci hot-plug/unplug > test repeatly on my Arm-KVM virtual machines. > See the call stack below: > > [66628.697280] vfio-pci 0

Kernel panic while doing vfio-pci hot-plug/unplug test

2019-10-16 Thread Xiang Zheng
Hi all, Recently I encountered a kernel panic while doing vfio-pci hot-plug/unplug test repeatly on my Arm-KVM virtual machines. See the call stack below: [66628.697280] vfio-pci :06:03.5: enabling device ( -> 0002) [66628.809290] vfio-pci :06:03.1: enabling device ( ->