Mark Lord wrote:
Mark Lord wrote:
So I guess the questions are:
1. Where are these unexpected interrupts coming from?
..
Well, I'm still not sure of the source of the interrupt,
but I did just now find an ancient bug in sata_mv,
in it's internal handling of the port interrupt mask.
The DONE_IRQ bit gets enabled a tad early in the EH sequence,
enabling us to receive interrupts when we're not expecting them.
Looks like that mv_unexpected_intr() function was useful after all. :)
Patches forthcoming to clean this up, once I study things a bit more.
I've been studying things for last two days and discovered a number of
things. I'll soon post patch series. Thanks a lot for digging into PMP
stuff. It's great to have someone else's eyes on this stuff.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html