commit | a08082f8e4e1c292df174a9ed303cfbff2fbe2cb | [log] [tgz] |
---|---|---|
author | Gustavo Romero <gromero@linux.vnet.ibm.com> | Sun Dec 31 18:20:46 2017 -0500 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Mon Jan 22 05:48:37 2018 +1100 |
tree | 78e3001d940ce055f67fa379f9bac9f05a212e86 | |
parent | 1c200e63d055ec0125e44a5e386b9b78aada7eb3 [diff] |
powerpc/selftests: Check endianness on trap in TM Add a selftest to check if endianness is flipped inadvertently to BE (MSR.LE set to zero) on BE and LE machines when a trap is caught in transactional mode and load_fp and load_vec are zero, i.e. when MSR.FP and MSR.VEC are zeroed (disabled). Signed-off-by: Gustavo Romero <gromero@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>