selftests/eeh: Skip ahci adapters
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 26 Mar 2020 06:11:44 +0000 (17:11 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 2 Apr 2020 13:09:53 +0000 (00:09 +1100)
commitbbe9064f30f06e7791d04f9f61a842226a6a44fe
treeaf2540434e890eb3b12e18fb9c882aa513e73107
parent0c89649a70bed679fd408c1eb82fa99dbe1354a0
selftests/eeh: Skip ahci adapters

The ahci driver doesn't support error recovery, and if your root
filesystem is attached to it the eeh-basic.sh test will likely kill
your machine.

So skip any device we see using the ahci driver.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200326061144.2006522-1-mpe@ellerman.id.au
tools/testing/selftests/powerpc/eeh/eeh-basic.sh