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

From: Michael Ellerman <[email-masked]>
Date: Tue, 14 Nov 2017 22:12:12 +1100 (AEDT)

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 <[email-masked]>
> Signed-off-by: Breno Leitao <[email-masked]>
> Signed-off-by: Cyril Bur <[email-masked]>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/77fad8bfb1d2f8225b05e4ea344578

cheers