Re: [PATCH 1/7] xHCI: synchronize irq in xhci_suspend()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 22, 2010 at 09:31:49PM -0500, Alan Stern wrote:
> On Wed, 22 Dec 2010, Sarah Sharp wrote:
> 
> > Alan,
> > 
> > Please take a look at patch 1 if you have time.
> 
> I still don't understand the reason for adding that test to
> suspend_common().  (And I would prefer it if the comment above the test
> were more grammatical.)

If the xHCI driver has enabled MSI-X, then the legacy PCI irq is no
longer associated with our hardware.  But the USB core still thinks it
is, and will sync pci_dev->irq.  I've been told it would be harmless to
synchronize someone else's IRQ, but I'd rather not wait for them.  It's
better to let the xHCI driver synchronize all the MSI-X irqs in its
suspend method.

Sarah
(who is wearing reindeer antlers on her head)
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux