Opened 17 months ago

Last modified 3 days ago

#884 new defect

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 (3)

comment:1 by Jiri Svoboda, 17 months ago

Milestone: 0.14.20.15.1

Milestone renamed

comment:2 by Jiri Svoboda, 6 months ago

Milestone: 0.15.10.16.1

Milestone renamed

comment:3 by Jiri Svoboda, 3 days 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.

Note: See TracTickets for help on using tickets.