Skip to content
  • Tejun Heo's avatar
    libata: implement AC_ERR_NCQ · 5335b729
    Tejun Heo authored
    
    
    When an NCQ command fails, all commands in flight are aborted and the
    offending one is reported using log page 10h.  Depending on controller
    characteristics and LLD implementation, all commands may appear as
    having a device error due to shared TF status making it hard to
    determine what's actually going on.
    
    This patch adds AC_ERR_NCQ, marks the command reported by log page 10h
    with it and print extra "<F>" after the error report for the command
    to help distinguishing the offending command.
    
    Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    5335b729