Re: [PATCH 1/3] s390/xor: Fix xor_xc_2() inline assembly constraints
From: Vasily Gorbik
Date: Mon Mar 02 2026 - 10:47:26 EST
On Mon, Mar 02, 2026 at 02:34:58PM +0100, Heiko Carstens wrote:
> The inline assembly constraints for xor_xc_2() are incorrect. "bytes",
> "p1", and "p2" are input operands, while all three of them are modified
> within the inline assembly. Given that the function consists only of this
> inline assembly it seems unlikely that this may cause any problems, however
> fix this in any case.
>
> Fixes: 2cfc5f9ce7f5 ("s390/xor: optimized xor routing using the XC instruction")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Heiko Carstens <hca@xxxxxxxxxxxxx>
> ---
> arch/s390/lib/xor.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Vasily Gorbik <gor@xxxxxxxxxxxxx>