Reporting Issues
Bug 3025 - Add SATA port error recovery when operating in AHCI mode
Summary: Add SATA port error recovery when operating in AHCI mode
Status: RESOLVED FIXED
Alias: None
Product: Tianocore Feature Requests
Classification: Unclassified
Component: Code (show other bugs)
Version: Current
Hardware: All All
: Normal normal
Assignee: Mateusz Albecki
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-26 08:54 UTC by Mateusz Albecki
Modified: 2020-11-10 22:12 UTC (History)
3 users (show)

See Also:
EDK II Code First industry standard specifications: ---
Branch URL:
Release(s) the issue is observed:
The OS the target platform is running: ---
Package: MdeModulePkg
Release(s) the issues must be fixed:
Tianocore documents:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mateusz Albecki 2020-10-26 08:54:01 UTC
When in AHCI mode AtaAtapiPassThru driver should recover any errors the port might signal. Error recovery procedure is covered by AHCI spec in section 6.2.2 of the AHCI spec 1.3.1.

It is possible to encounter a fata SATA port error during the boot and in such case it is possible that drive will become unresponsive and needs a SW assistance to make it work again. If we do not recover the port all subsequent commands to the port will fail.
Comment 1 gaoliming 2020-10-27 21:43:31 UTC
Albecki: please work on it.
Comment 2 Hao Wu 2020-11-03 20:59:37 UTC
V1 patch sent at:
https://edk2.groups.io/g/devel/message/66924
Comment 3 Hao Wu 2020-11-05 21:58:10 UTC
V2 patch sent at: https://edk2.groups.io/g/devel/message/67035
V3 patch sent at: https://edk2.groups.io/g/devel/message/67039