Actually, looking even more at the code, I think the entire "spurious
interrupt" code block is bogus.
The device is free to send D2H or SDB FIS to clear Status bits, as well
as SDB FIS's to update SActive. The ata_qc_complete_multiple() call
will do the right thing, even if there is no work to do.
As another side note, command coalescing is worth experimenting with.
Jeff
-
: 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