RE: XHCI: sleep inside atomic

From: Xu, Andiry
Date: Mon Oct 25 2010 - 05:26:15 EST


Hmm....You're right. Thanks for catching this, I'll submit a patch
later.

Thanks & Best regards,
Andiry

> -----Original Message-----
> From: Jiri Slaby [mailto:jirislaby@xxxxxxxxx]
> Sent: Saturday, October 23, 2010 4:17 PM
> To: Xu, Andiry
> Cc: Nguyen, Dong; Yang, Libin; sarah.a.sharp@xxxxxxxxxxxxxxx; Greg KH;
USB
> list; LKML
> Subject: 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,
> --
> js


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/