ahci: consider SDB FIS containing spurious NCQ completions HSM violation (regenerated)
authorTejun Heo <htejun@gmail.com>
Wed, 21 Feb 2007 07:34:25 +0000 (16:34 +0900)
committerJeff Garzik <jeff@garzik.org>
Fri, 23 Feb 2007 10:37:10 +0000 (05:37 -0500)
commita2bbd0c923708a23c6fcc6bbc492f2eecadc676f
tree3a425c8a8268ce1ca6ccf5fd31fb8af494596456
parent16728da99861bdb6e44f066d536287990e752d7b
ahci: consider SDB FIS containing spurious NCQ completions HSM violation (regenerated)

SDB FIS containing spurious NCQ completions is a clear protocol
violation.  Currently, only some Maxtors with early firmware revisions
are showing this problem.  Those firmwares have other NCQ related
problems including buggy NCQ error reporting and occasional lock up
after NCQ errors.

Consider spurious NCQ completions HSM violation and freeze the port
after it.  EH will turn off NCQ after this happens several times.
Eventually drives which show this behavior should be blacklisted for
NCQ.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/ahci.c