> I agree with you and Jeff that we can not prevent superuser from > corrupting the system. What I want to understand more is if there's > room to harden PATA PIO code in libata. For instance, when I set > wrong data transfer direction in DMA read, I got command timeout, > which to me is a more graceful failure than IRQ disabling. I'm not > sure if the difference of failure mode between PIO and DMA is caused > by controller or software. If the cause is software, it would be > nice to close the gap. Its almost impossible to tell - I can't duplicate the case you see. When I issue wrong commands I see the expected timeout/fail. It may be that Tejun's drain patches for the PIO fifo are going to help in your case I don't know. Nothing obvious in the SIL680 docs hit me -- 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