public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/1] MdeModulePkg/Ata: Fix command status reporting
@ 2022-10-18 15:54 Albecki, Mateusz
  2022-10-18 15:54 ` [PATCH 1/1] " Albecki, Mateusz
  0 siblings, 1 reply; 10+ messages in thread
From: Albecki, Mateusz @ 2022-10-18 15:54 UTC (permalink / raw)
  To: devel; +Cc: Mateusz Albecki, Hao A Wu, Ray Ni

Fix for a bug introduced during SATA recovery implementation

Failing SCT: https://bugzilla.tianocore.org/show_bug.cgi?id=4016
Failing password input: https://bugzilla.tianocore.org/show_bug.cgi?id=4011

The bug was due to recovery status aliasing with command status. This patch should resolve both
issues and should remove the need for reconfigurable retries. I have only tested SCT test case
though.

Github pull: https://github.com/tianocore/edk2/pull/3495

Tests:
- tested on qemu with ovmf - SCT test now passes (custom qemu needed from: https://github.com/matalbec/qemu/tree/sata_abort_completion)
- it should be noted that qemu doesn't really support trust protocol on SATA drive but for the purposes of the test it should be enough.

Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Ray Ni <ray.ni@intel.com>

Signed-off-by: Mateusz Albecki <mateusz.albecki@intel.com>

Mateusz Albecki (1):
  MdeModulePkg/Ata: Fix command status reporting

 .../Bus/Ata/AtaAtapiPassThru/AhciMode.c       | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

-- 
2.28.0.windows.1

---------------------------------------------------------------------
Intel Technology Poland sp. z o.o.
ul. Slowackiego 173 | 80-298 Gdansk | Sad Rejonowy Gdansk Polnoc | VII Wydzial Gospodarczy Krajowego Rejestru Sadowego - KRS 101882 | NIP 957-07-52-316 | Kapital zakladowy 200.000 PLN.
Spolka oswiadcza, ze posiada status duzego przedsiebiorcy w rozumieniu ustawy z dnia 8 marca 2013 r. o przeciwdzialaniu nadmiernym opoznieniom w transakcjach handlowych.

Ta wiadomosc wraz z zalacznikami jest przeznaczona dla okreslonego adresata i moze zawierac informacje poufne. W razie przypadkowego otrzymania tej wiadomosci, prosimy o powiadomienie nadawcy oraz trwale jej usuniecie; jakiekolwiek przegladanie lub rozpowszechnianie jest zabronione.
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). If you are not the intended recipient, please contact the sender and delete all copies; any review or distribution by others is strictly prohibited.


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-01-02 16:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-18 15:54 [PATCH 0/1] MdeModulePkg/Ata: Fix command status reporting Albecki, Mateusz
2022-10-18 15:54 ` [PATCH 1/1] " Albecki, Mateusz
2022-10-19  1:36   ` Wu, Hao A
2022-10-19  1:41     ` [edk2-devel] " Wu, Hao A
2022-10-20 22:05     ` Anbazhagan, Baraneedharan
2022-10-21  2:27       ` [edk2-devel] " Wu, Hao A
2022-12-07 16:25   ` Albecki, Mateusz
2022-12-08  4:20     ` Wu, Hao A
2022-12-12  1:55       ` Wu, Hao A
2023-01-02 16:30   ` Albecki, Mateusz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox