selftests/powerpc: Check FP/VEC on exception in TM

Michael Ellerman patch-notifications at
Tue Nov 14 22:12:12 AEDT 2017

On Wed, 2017-11-01 at 19:23:41 UTC, Gustavo Romero wrote:
> Add a self test to check if FP/VEC/VSX registers are sane (restored
> correctly) after a FP/VEC/VSX unavailable exception is caught during a
> transaction.
> This test checks all possibilities in a thread regarding the combination
> of MSR.[FP|VEC] states in a thread and for each scenario raises a
> FP/VEC/VSX unavailable exception in transactional state, verifying if
> vs0 and vs32 registers, which are representatives of FP/VEC/VSX reg
> sets, are not corrupted.
> Signed-off-by: Gustavo Romero <gromero at>
> Signed-off-by: Breno Leitao <leitao at>
> Signed-off-by: Cyril Bur <cyrilbur at>

Applied to powerpc next, thanks.


More information about the Linuxppc-dev mailing list