selftests/powerpc: Check FP/VEC on exception in TM
Michael Ellerman
patch-notifications at ellerman.id.au
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 linux.vnet.ibm.com>
> Signed-off-by: Breno Leitao <leitao at debian.org>
> Signed-off-by: Cyril Bur <cyrilbur at gmail.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/77fad8bfb1d2f8225b05e4ea344578
cheers
More information about the Linuxppc-dev
mailing list