On Mon, Jun 05, 2023 at 08:19:43PM -0400, John Snow wrote: > On Thu, Jun 1, 2023 at 9:46 AM Niklas Cassel <n...@flawful.org> wrote: > > > > From: Niklas Cassel <niklas.cas...@wdc.com> > > > > For NCQ, PxCI is cleared on command queued successfully. > > For non-NCQ, PxCI is cleared on command completed successfully. > > Successfully means ERR_STAT, BUSY and DRQ are all cleared. > > > > A command that has ERR_STAT set, does not get to clear PxCI. > > See AHCI 1.3.1, section 5.3.8, states RegFIS:Entry and RegFIS:ClearCI, > > and 5.3.16.5 ERR:FatalTaskfile. > > > > In the case of non-NCQ commands, not clearing PxCI is needed in order > > for host software to be able to see which command slot that failed. > > > > Signed-off-by: Niklas Cassel <niklas.cas...@wdc.com> > > This patch causes the ahci test suite to hang. You might just need to > update the AHCI test suite. > > "make check" will hang on the ahci-test as of this patch.
Argh :) Is there any simple way to run only the ahci test suite? "make check" and "make check-qtest" are running many tests that I'm not interested in. Kind regards, Niklas