diff options
author | Albecki, Mateusz <mateusz.albecki@intel.com> | 2023-03-28 05:37:35 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-03-31 21:01:13 +0000 |
commit | eb6a74827200eedc81b8f45f332d6e9f3b3d2906 (patch) | |
tree | f5444e93ad78e30983cbdef464f6a2c8491304a9 /Maintainers.txt | |
parent | 66f4b1b0d2e603c2b0a3f4149976cdc297a3606d (diff) | |
download | edk2-eb6a74827200eedc81b8f45f332d6e9f3b3d2906.tar.gz |
MdeModulePkg/Ahci: Skip retry for non-transient errors
bugzilla: https://bugzilla.tianocore.org/show_bug.cgi?id=4011
Currently AHCI driver will try to retry all failed packets
regardless of the failure cause. This is a problem in password
unlock flow where number of password retries is tracked by the
device. If user passes a wrong password Ahci driver will try
to send the wrong password multiple times which will exhaust
number of password retries and force the user to restart the
machine. This commit introduces a logic to check for the cause
of packet failure and only retry packets which failed due to
transient conditions on the link. With this patch only packets for
which CRC error is flagged are retried.
Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Hunter Chang <hunter.chang@intel.com>
Cc: Baraneedharan Anbazhagan <anbazhagan@hp.com>
Signed-off-by: Mateusz Albecki <mateusz.albecki@intel.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
Reviewed-by: Baraneedharan Anbazhagan <anbazhagan@hp.com>
Diffstat (limited to 'Maintainers.txt')
0 files changed, 0 insertions, 0 deletions