Message ID | 1566341651-19747-1-git-send-email-gromero@linux.vnet.ibm.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 6652bf6408895b09d31fd4128a1589a1a0672823 |
Headers | show |
Series | selftests/powerpc: Retry on host facility unavailable | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/apply_patch | success | Successfully applied on branch next (c9633332103e55bc73d80d07ead28b95a22a85a3) |
snowpatch_ozlabs/build-ppc64le | success | Build succeeded |
snowpatch_ozlabs/build-ppc64be | success | Build succeeded |
snowpatch_ozlabs/build-ppc64e | success | Build succeeded |
snowpatch_ozlabs/build-pmac32 | success | Build succeeded |
snowpatch_ozlabs/checkpatch | success | total: 0 errors, 0 warnings, 0 checks, 9 lines checked |
On Tue, 2019-08-20 at 22:54:11 UTC, Gustavo Romero wrote: > 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> Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/6652bf6408895b09d31fd4128a1589a1a0672823 cheers
diff --git a/tools/testing/selftests/powerpc/tm/tm.h b/tools/testing/selftests/powerpc/tm/tm.h index 97f9f49..c402464 100644 --- a/tools/testing/selftests/powerpc/tm/tm.h +++ b/tools/testing/selftests/powerpc/tm/tm.h @@ -55,7 +55,8 @@ static inline bool failure_is_unavailable(void) static inline bool failure_is_reschedule(void) { if ((failure_code() & TM_CAUSE_RESCHED) == TM_CAUSE_RESCHED || - (failure_code() & TM_CAUSE_KVM_RESCHED) == TM_CAUSE_KVM_RESCHED) + (failure_code() & TM_CAUSE_KVM_RESCHED) == TM_CAUSE_KVM_RESCHED || + (failure_code() & TM_CAUSE_KVM_FAC_UNAV) == TM_CAUSE_KVM_FAC_UNAV) return true; return false;