Opened 18 months ago

Closed 13 days ago

#884 closed defect (fixed)

Sometimes spurious IRQ 11 when restaring in Qemu

Reported by: Jiri Svoboda Owned by:
Priority: major Milestone: 0.16.1
Component: helenos/unspecified Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also:

Description

When restarting the system in Qemu I sometimes get spurious interrupt (seems to come from USB tablet?) / IRQ 11 (i.e., the system hangs). This is despite that we try to quiesce USB HCI.

Change History (4)

comment:1 by Jiri Svoboda, 18 months ago

Milestone: 0.14.2 → 0.15.1

Milestone renamed

comment:2 by Jiri Svoboda, 7 months ago

Milestone: 0.15.1 → 0.16.1

Milestone renamed

comment:3 by Jiri Svoboda, 3 weeks ago

tools/ew.py sets up XHCI by default. For XHCI in hc_quiesce() we were stopping the HC, but not resetting it nor disabling interrupts in the controller registers. For comparison, we reset OHCI, UHCI and EHCI host controllers in hc_quiesce().

See changeset ​1c6cb595c1b05dd68268fad2a8ebb64bf31e23b1.

I modified XHCI's hc_quiesce() to disable controller interrupts. Let's see if it helps. Since this problem sometimes happens very often and other times quite seldom, I am not 100% sure if this fixes it. So let's wait for some time and see.

comment:4 by Jiri Svoboda, 13 days ago

Resolution: → fixed
Status: new → closed

It seems the fix is working fine.

Note: See TracTickets for help on using tickets.