Comment 17 for bug 1443924

Revision history for this message
In , vedathallac (vedathallac-linux-kernel-bugs) wrote :

> I presume you mean file rt2x00pci.c.

That is correct. I realized my mistake after I posted, but found no way to edit it.

I have been running the modified version since I posted that comment, and everything seems OK.

I suspected that the problem was caused by an irq handler being registered before msi was enabled (msi is enabled in rt2x00pci module, but handler is registered in rt2x00mmio module). However this was not correct. In fact, the IRQ assigned after msi is registered is the IRQ value used when registering the handler. I have no working theories about the problem left (not surprising given my lack of knowledge).

One piece of additional information: the third party 3290 driver that can be downloaded from Mediatek site has code to enable MSI, but its default configuration has MSI disabled. I am not sure if this is relevant. I cannot test that driver properly, because it crashed the kernel in x86_64.