RE: BUG: xhci_hcd Spurious interrupt

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

 



Hi Sarah,

Both USB2 and USB3 devices are working fine during my debug when using shared PCI INTx.  Only the warning message show up in the dmesg.

Thanks,
Dong

-----Original Message-----
From: Sarah Sharp [mailto:sarah.a.sharp@xxxxxxxxxxxxxxx] 
Sent: Friday, November 05, 2010 7:05 AM
To: Lawrence Rust
Cc: linux-usb@xxxxxxxxxxxxxxx; Nguyen, Dong
Subject: Re: BUG: xhci_hcd Spurious interrupt

On Fri, Oct 22, 2010 at 10:40:30PM +0200, Lawrence Rust wrote:
> Hi,
> 
> Just built a 2.6.36 kernel and on re-booting got this error:
> 
> Oct 22 10:13:05 gagarin kernel: [    5.157428] xhci_hcd 0000:01:00.0: Failed to enable MSI-X
> Oct 22 10:13:05 gagarin kernel: [    5.157448] xhci_hcd 0000:01:00.0: failed to allocate MSI entry
> 
> followed by a stream of these...
> 
> Oct 22 10:13:05 gagarin kernel: [    5.891099] xhci_hcd 0000:01:00.0: Spurious interrupt.
> Oct 22 10:13:05 gagarin kernel: [    9.038074] xhci_hcd 0000:01:00.0: Spurious interrupt.
> Oct 22 10:13:05 gagarin kernel: [    9.088027] xhci_hcd 0000:01:00.0: Spurious interrupt.
> Oct 22 10:13:05 gagarin kernel: [    9.137971] xhci_hcd 0000:01:00.0: Spurious interrupt.
> 
> repeated until re-boot.

Lawrence,

Does the xHCI host controller still work, despite the warning messages?
Do USB devices plugged into the blue ports still work?  (I assume you have some of those, if not, you may need to figure out which ports are connected to the xHCI host controller by watching to see if xHCI messages like "WARN short control transfer" show up in the dmesg when you plug a USB device into a port.)

I think what's happening is the i915 driver registers on the interrupt later than the xHCI driver, so whenever the i915 hardware interrupts the system, the xHCI driver has to check whether the host generated the interrupt.  It hasn't, so that printk gets triggered.

I think the fix is just to remove the printk.  Can you test the attached patch with CONFIG_PCI_MSI=n?

Sarah Sharp

--
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