Re: [Bug 214789] ehci-hcd.c ISR
From: Johan Hovold <johan@kernel.org>
Date: 2021-10-22 08:53:32
On Thu, Oct 21, 2021 at 08:04:06PM +0000, bugzilla-daemon@bugzilla.kernel.org wrote:
quoted hunk ↗ jump to hunk
https://bugzilla.kernel.org/show_bug.cgi?id=214789--- Comment #9 from Scott Arnold (scott.c.arnold@nasa.gov) ---Hello, The timing card driver receives no interrupts according to debug. IRQ16: IO-APIC 16-fasteoi ehci_hcd:usb1, hpilo, rt_pcclk
So the IRQ is also shared with some (mainline) HP management-processor driver (hpilo).
Ehci_hcd entries in /sys/kernel/debug/usb/devices: T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 2 B: Alloc= 0/800 us ( 0%), #Int= 4, #Iso= 0 D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=1d6b ProdID=0002 Rev= 5.11 S: Manufacturer=Linux 5.11.17_OBCS_1 ehci_hcd S: Product=EHCI Host Controller S: SerialNumber=0000:00:1a.0 C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
Just to be clear: Are there any USB devices physically connected to this bus? What does "lsusb -s1:" say?
I have not tried enabling debug in ehci_hcd yet.
Try adding WARN_ON_ONCE(!irqs_disabled()); at the start of ehci_irq() before grabbing the lock. That should give us a stack dump in case there's someone calling the interrupt handler with interrupts enabled (which seems to be the case). Johan