Subject: Re: [PATCH] selftests/powerpc: Fix earlyclobber in tm-vmxcopy

From: Michael Ellerman <[email-masked]>
Date: Sun, 30 Jun 2019 18:37:30 +1000 (AEST)

On Mon, 2019-06-17 at 21:24:58 UTC, Gustavo Romero wrote:
> In some cases, compiler can allocate the same register for operand 'res'
> and 'vecoutptr', resulting in segfault at 'stxvd2x 40,0,%[vecoutptr]'
> because base register will contain 1, yielding a false-positive.
> 
> This is because output 'res' must be marked as an earlyclobber operand so
> it may not overlap an input operand ('vecoutptr').
> 
> Signed-off-by: Gustavo Romero <[email-masked]>
> Reviewed-by: Segher Boessenkool <[email-masked]>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/8d0f1e05ab16c4bd628ddaefd20b94ffb36d799c

cheers