selftests/powerpc: Retry on host facility unavailable
authorGustavo Romero <gromero@linux.vnet.ibm.com>
Tue, 20 Aug 2019 22:54:11 +0000 (18:54 -0400)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 26 Aug 2019 00:47:54 +0000 (10:47 +1000)
commit6652bf6408895b09d31fd4128a1589a1a0672823
treebe30687ca3649d95279eeb7c5c59f27361c0201d
parent9d535e200f09ce347afc38c81ec7f2901187e5f0
selftests/powerpc: Retry on host facility unavailable

TM test tm-unavailable must take into account aborts due to host aborting
a transactin because of a facility unavailable exception, just like it
already does for aborts on reschedules (TM_CAUSE_KVM_RESCHED).

Reported-by: Desnes A. Nunes do Rosario <desnesn@linux.ibm.com>
Tested-by: Desnes A. Nunes do Rosario <desnesn@linux.ibm.com>
Signed-off-by: Gustavo Romero <gromero@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1566341651-19747-1-git-send-email-gromero@linux.vnet.ibm.com
tools/testing/selftests/powerpc/tm/tm.h