Lines Matching full:serror
1521 * ata_eh_analyze_serror - analyze SError for a failed port
1522 * @link: ATA link to analyze SError for
1524 * Analyze SError if available and further determine cause of
1533 u32 serror = ehc->i.serror; in ata_eh_analyze_serror() local
1537 if (serror & (SERR_PERSISTENT | SERR_DATA)) { in ata_eh_analyze_serror()
1541 if (serror & SERR_PROTOCOL) { in ata_eh_analyze_serror()
1545 if (serror & SERR_INTERNAL) { in ata_eh_analyze_serror()
1551 * SError.N/X are considered hotplug events for enabled or in ata_eh_analyze_serror()
1562 if (serror & hotplug_mask) in ata_eh_analyze_serror()
2049 u32 serror; in ata_eh_link_autopsy() local
2055 /* obtain and analyze SError */ in ata_eh_link_autopsy()
2056 rc = sata_scr_read(link, SCR_ERROR, &serror); in ata_eh_link_autopsy()
2058 ehc->i.serror |= serror; in ata_eh_link_autopsy()
2061 /* SError read failed, force reset and probing */ in ata_eh_link_autopsy()
2389 ehc->i.err_mask, link->sactive, ehc->i.serror, in ata_eh_link_report()
2396 ehc->i.err_mask, link->sactive, ehc->i.serror, in ata_eh_link_report()
2403 if (ehc->i.serror) in ata_eh_link_report()
2405 "SError: { %s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s}\n", in ata_eh_link_report()
2406 ehc->i.serror & SERR_DATA_RECOVERED ? "RecovData " : "", in ata_eh_link_report()
2407 ehc->i.serror & SERR_COMM_RECOVERED ? "RecovComm " : "", in ata_eh_link_report()
2408 ehc->i.serror & SERR_DATA ? "UnrecovData " : "", in ata_eh_link_report()
2409 ehc->i.serror & SERR_PERSISTENT ? "Persist " : "", in ata_eh_link_report()
2410 ehc->i.serror & SERR_PROTOCOL ? "Proto " : "", in ata_eh_link_report()
2411 ehc->i.serror & SERR_INTERNAL ? "HostInt " : "", in ata_eh_link_report()
2412 ehc->i.serror & SERR_PHYRDY_CHG ? "PHYRdyChg " : "", in ata_eh_link_report()
2413 ehc->i.serror & SERR_PHY_INT_ERR ? "PHYInt " : "", in ata_eh_link_report()
2414 ehc->i.serror & SERR_COMM_WAKE ? "CommWake " : "", in ata_eh_link_report()
2415 ehc->i.serror & SERR_10B_8B_ERR ? "10B8B " : "", in ata_eh_link_report()
2416 ehc->i.serror & SERR_DISPARITY ? "Dispar " : "", in ata_eh_link_report()
2417 ehc->i.serror & SERR_CRC ? "BadCRC " : "", in ata_eh_link_report()
2418 ehc->i.serror & SERR_HANDSHAKE ? "Handshk " : "", in ata_eh_link_report()
2419 ehc->i.serror & SERR_LINK_SEQ_ERR ? "LinkSeq " : "", in ata_eh_link_report()
2420 ehc->i.serror & SERR_TRANS_ST_ERROR ? "TrStaTrns " : "", in ata_eh_link_report()
2421 ehc->i.serror & SERR_UNRECOG_FIS ? "UnrecFIS " : "", in ata_eh_link_report()
2422 ehc->i.serror & SERR_DEV_XCHG ? "DevExch " : ""); in ata_eh_link_report()
2828 /* postreset() should clear hardware SError. Although SError in ata_eh_reset()
2829 * is cleared during link resume, clearing SError here is in ata_eh_reset()
2844 /* clear cached SError */ in ata_eh_reset()
2846 link->eh_info.serror = 0; in ata_eh_reset()
2848 slave->eh_info.serror = 0; in ata_eh_reset()