]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/eeh: Bump EEH wait time to 60s
authorOliver O'Halloran <oohall@gmail.com>
Wed, 22 Jan 2020 03:11:25 +0000 (14:11 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 25 Jan 2020 13:11:37 +0000 (00:11 +1100)
commitb8b02690e9a2996e06d1e05237b9d88b834f2671
tree1e386b41fb65c64e1e7387ef45cb5a052ac53941
parente65b664db60473ba60b22ef0a6e60fa8ff7c9c4f
selftests/eeh: Bump EEH wait time to 60s

Some newer cards supported by aacraid can take up to 40s to recover
after an EEH event. This causes spurious failures in the basic EEH
self-test since the current maximim timeout is only 30s.

Fix the immediate issue by bumping the timeout to a default of 60s,
and allow the wait time to be specified via an environmental variable
(EEH_MAX_WAIT).

Reported-by: Steve Best <sbest@redhat.com>
Suggested-by: Douglas Miller <dougmill@us.ibm.com>
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200122031125.25991-1-oohall@gmail.com
tools/testing/selftests/powerpc/eeh/eeh-functions.sh