[PATCH] selftests/powerpc: Always build the tm-poison test 64-bit

Gustavo Romero gromero at linux.vnet.ibm.com
Tue Apr 7 09:31:36 AEST 2020


On 04/06/2020 10:06 AM, Michael Ellerman wrote:
> On Fri, 2020-04-03 at 09:56:56 UTC, Michael Ellerman wrote:
>> The tm-poison test includes inline asm which is 64-bit only, so the
>> test must be built 64-bit in order to work.
>>
>> Otherwise it fails, eg:
>>    # file tm-poison
>>    tm-poison: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV) ...
>>    # ./tm-poison
>>    test: tm_poison_test
>>    Unknown value 0x1fff71150 leaked into f31!
>>    Unknown value 0x1fff710c0 leaked into vr31!
>>    failure: tm_poison_test
>>
>> Fixes: a003365cab64 ("powerpc/tm: Add tm-poison test")
>> Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>
> 
> Applied to powerpc next.
> 
> https://git.kernel.org/powerpc/c/6ba4a2d3591039aea1cb45c7c42262d26351a2fa
> 
> cheers

Ack.

Thank you, Michael.

Cheers,
Gustavo


More information about the Linuxppc-dev mailing list