9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] ehci/uhci interrupts
@ 2014-05-02 15:26 erik quanstrom
  2014-05-02 18:34 ` erik quanstrom
  0 siblings, 1 reply; 10+ messages in thread
From: erik quanstrom @ 2014-05-02 15:26 UTC (permalink / raw)
  To: 9fans

it appears that uhci is causing spurious ehci interrupts, or at least
ehci/uhci are causing each other to ring.  i haven't tracked down
the fundamental issue yet.  but this appears to be related to the
ehci/uhci subordinate issue, and the Callmine setting.

hacking details for the interested:

when i limit one particular machine to 5 uhci controllers, everything
is fine.  one suspects that this is luck due to whatever it is that triggers
the excitement being connected to the 6th controller.  the 6th controller
does indeed share an interrupt with ehci.  if it were enabled it would be
70.1/10.

(nix uses vector.mach notation for /dev/irqalloc.  since the amd64
port of the nix kernel has settled on physical interrupt addressing,
a machine may have nmach*nvector available vectors.)

juno# grep usb /dev/irqalloc
       68.0          15                    0                    0 ioapic   usbuhci
       68.1           7                    0                    0 ioapic   usbuhci
       68.2          11                    0                    0 ioapic   usbuhci
       68.2          11                    0                    0 ioapic   usbuhci
>      68.3           6                    2                11136 ioapic   usbehci
>      68.3           6                    0                    0 ioapic   usbuhci
       70.1          10                    0                    0 ioapic   usbehci

- erik



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-05-05 10:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-02 15:26 [9fans] ehci/uhci interrupts erik quanstrom
2014-05-02 18:34 ` erik quanstrom
2014-05-03  5:14   ` lucio
2014-05-03  9:42     ` tlaronde
2014-05-03 19:45       ` erik quanstrom
2014-05-04  5:12         ` lucio
2014-05-04 10:41           ` tlaronde
2014-05-04 19:29             ` erik quanstrom
2014-05-05 10:50               ` tlaronde
2014-05-04 17:14           ` erik quanstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).