• Home
  • Raw
  • Download

Lines Matching full:serror

1503  *	ata_eh_analyze_serror - analyze SError for a failed port
1504 * @link: ATA link to analyze SError for
1506 * Analyze SError if available and further determine cause of
1515 u32 serror = ehc->i.serror; in ata_eh_analyze_serror() local
1519 if (serror & (SERR_PERSISTENT | SERR_DATA)) { in ata_eh_analyze_serror()
1523 if (serror & SERR_PROTOCOL) { in ata_eh_analyze_serror()
1527 if (serror & SERR_INTERNAL) { in ata_eh_analyze_serror()
1533 * SError.N/X are considered hotplug events for enabled or in ata_eh_analyze_serror()
1544 if (serror & hotplug_mask) in ata_eh_analyze_serror()
2031 u32 serror; in ata_eh_link_autopsy() local
2037 /* obtain and analyze SError */ in ata_eh_link_autopsy()
2038 rc = sata_scr_read(link, SCR_ERROR, &serror); in ata_eh_link_autopsy()
2040 ehc->i.serror |= serror; in ata_eh_link_autopsy()
2043 /* SError read failed, force reset and probing */ in ata_eh_link_autopsy()
2371 ehc->i.err_mask, link->sactive, ehc->i.serror, in ata_eh_link_report()
2378 ehc->i.err_mask, link->sactive, ehc->i.serror, in ata_eh_link_report()
2385 if (ehc->i.serror) in ata_eh_link_report()
2387 "SError: { %s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s}\n", in ata_eh_link_report()
2388 ehc->i.serror & SERR_DATA_RECOVERED ? "RecovData " : "", in ata_eh_link_report()
2389 ehc->i.serror & SERR_COMM_RECOVERED ? "RecovComm " : "", in ata_eh_link_report()
2390 ehc->i.serror & SERR_DATA ? "UnrecovData " : "", in ata_eh_link_report()
2391 ehc->i.serror & SERR_PERSISTENT ? "Persist " : "", in ata_eh_link_report()
2392 ehc->i.serror & SERR_PROTOCOL ? "Proto " : "", in ata_eh_link_report()
2393 ehc->i.serror & SERR_INTERNAL ? "HostInt " : "", in ata_eh_link_report()
2394 ehc->i.serror & SERR_PHYRDY_CHG ? "PHYRdyChg " : "", in ata_eh_link_report()
2395 ehc->i.serror & SERR_PHY_INT_ERR ? "PHYInt " : "", in ata_eh_link_report()
2396 ehc->i.serror & SERR_COMM_WAKE ? "CommWake " : "", in ata_eh_link_report()
2397 ehc->i.serror & SERR_10B_8B_ERR ? "10B8B " : "", in ata_eh_link_report()
2398 ehc->i.serror & SERR_DISPARITY ? "Dispar " : "", in ata_eh_link_report()
2399 ehc->i.serror & SERR_CRC ? "BadCRC " : "", in ata_eh_link_report()
2400 ehc->i.serror & SERR_HANDSHAKE ? "Handshk " : "", in ata_eh_link_report()
2401 ehc->i.serror & SERR_LINK_SEQ_ERR ? "LinkSeq " : "", in ata_eh_link_report()
2402 ehc->i.serror & SERR_TRANS_ST_ERROR ? "TrStaTrns " : "", in ata_eh_link_report()
2403 ehc->i.serror & SERR_UNRECOG_FIS ? "UnrecFIS " : "", in ata_eh_link_report()
2404 ehc->i.serror & SERR_DEV_XCHG ? "DevExch " : ""); in ata_eh_link_report()
2810 /* postreset() should clear hardware SError. Although SError in ata_eh_reset()
2811 * is cleared during link resume, clearing SError here is in ata_eh_reset()
2826 /* clear cached SError */ in ata_eh_reset()
2828 link->eh_info.serror = 0; in ata_eh_reset()
2830 slave->eh_info.serror = 0; in ata_eh_reset()