• T
    libata-acpi: improve _GTF execution error handling and reporting · 0e8634bf
    Tejun Heo 提交于
    As _GTF commands can't transfer data, device error never signals
    transfer error.  It indicates that the device vetoed the operation, so
    it's meaningless to retry.
    
    This patch makes libata-acpi to report and continue on device errors
    when executing _GTF commands.  Also commands rejected by device don't
    contribute to the number of _GTF commands executed.
    
    While at it, update _GTF execution reporting such that all successful
    commands are logged at KERN_DEBUG and rename taskfile_load_raw() to
    ata_acpi_run_tf() for consistency.
    Signed-off-by: NTejun Heo <htejun@gmail.com>
    Signed-off-by: NJeff Garzik <jeff@garzik.org>
    0e8634bf
libata-acpi.c 19.0 KB