XHCI: sleep inside atomic
Hi,
Stanse found that commit
USB: xHCI: PCI power management implementation
added xhci_setup_msix->kmalloc(GFP_KERNEL) and request_irq inside xhci->lock spinlock. As these functions may sleep, this is deadlockable. Could you fix that?
thanks,
Signature · 1 line
js
Hmm....You're right. Thanks for catching this, I'll submit a patch later.
Thanks & Best regards,
Andiry
Quoted 5 lines
-----Original Message-----
From: Jiri Slaby [mailto:[email protected]]
Sent: Saturday, October 23, 2010 4:17 PM
To: Xu, Andiry
Cc: Nguyen, Dong; Yang, Libin; [email protected]; Greg KH;
USB
Quoted 9 lines
list; LKML
Subject: XHCI: sleep inside atomicHi,
Stanse found that commit
USB: xHCI: PCI power management implementation
addedxhci_setup_msix->kmalloc(GFP_KERNEL)andrequest_irqinsidexhci->lockspinlock. As these functions may sleep, this is
deadlockable.
Quoted 5 lines
Could you fix that?
thanks,
--
js