From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.zytor.com (terminus.zytor.com [198.137.202.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0781A2F6900 for ; Tue, 20 Jan 2026 20:52:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.136 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768942340; cv=none; b=gRq2WNHxVycW8s4khJWlA78dkhg//lK2Lo2lrtDNcn3CEhfb9RzR55SRx0CoJRxUEhDANkDObdaXHcLhzhXqPLNl9X77RGphsAi9py2AVIEkJFPUjVGCVbF/tClaenwYjaCwfitzMGEnFcHU921gO3kNG3xhzg/eHixJ8Ju0qvw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768942340; c=relaxed/simple; bh=8koYohaIdwQYWoXReBvs6L/teSH28V7wKkI1R0gf1RE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=VCyfcqL6lz1NuEqsaFkvMuymVqeLVAbZyXcCu6MElJvFNMyR5DeBhHv1rZhnSxTiUt5N7w0lGXy3ENvMsTDcaxRYwvGzAnqsWOrDIuIREFt22pQuFAAZKsPNC4gv+nSwuOfvaF7tWmQBPhPGUokxi4kx8QgURAN2dpCqHJ/vpoY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=zytor.com; spf=pass smtp.mailfrom=zytor.com; dkim=pass (2048-bit key) header.d=zytor.com header.i=@zytor.com header.b=Q1crnfcM; arc=none smtp.client-ip=198.137.202.136 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=zytor.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=zytor.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=zytor.com header.i=@zytor.com header.b="Q1crnfcM" Received: from [IPV6:2601:646:8081:9483:12c5:bc8e:d949:3497] ([IPv6:2601:646:8081:9483:12c5:bc8e:d949:3497]) (authenticated bits=0) by mail.zytor.com (8.18.1/8.17.1) with ESMTPSA id 60KKpsGr4001986 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Tue, 20 Jan 2026 12:51:55 -0800 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.zytor.com 60KKpsGr4001986 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2025122301; t=1768942315; bh=K6+WqF2hBkLx+3m6VWUci43+hiuI9/iHAXIjWs94vNY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=Q1crnfcMEzhBGzDNdXYcpOfo7BE41GbCYc/j7KG2Fc2NDNZc0r7xXOPHaxVp9LRkI loLJPjUtJeBMthPd1CX4cUAxIB7+/MPcVWD5ocYBoViuwtV5DJWGaqIQAM2jqwSbcp 66YPBvbip8FbVDUwZs6vK6Tizm9d+zwR78zc/SgIeFMbFyL2Uibb6VHBQiZ5sraLXZ Tk8sB68nvKHg/F8xGnQBtTmvZ/Uq0ZQNdP7Tdlc2W3MXpEJ5HmQa2tYwRauy3334Ih TY/QbXv/hr8iLrhTiFOmF0+stU09d3jQrE+YC13Ry1D+n3xO6J+q/LS+u7XIqvv2PA kJrVEVB1AStoA== Message-ID: <553f1a09-0269-46bc-8d39-20e67bef0b59@zytor.com> Date: Tue, 20 Jan 2026 12:51:49 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH RESEND] x86/asm: Use inout "+" asm onstraint modifiers in __iowrite32_copy() To: Uros Bizjak , x86@kernel.org, linux-kernel@vger.kernel.org Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen References: <20251110223247.54486-1-ubizjak@gmail.com> Content-Language: en-US, sv-SE From: "H. Peter Anvin" In-Reply-To: <20251110223247.54486-1-ubizjak@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2025-11-10 14:31, Uros Bizjak wrote: > Use inout "+" asm constraint modifiers to simplify asm operands. > > No functional changes intended. > > Signed-off-by: Uros Bizjak > Cc: Thomas Gleixner > Cc: Ingo Molnar > Cc: Borislav Petkov > Cc: Dave Hansen > Cc: "H. Peter Anvin" > --- > arch/x86/include/asm/io.h | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) Looks good to me. Reviewed-by: H. Peter Anvin (Intel) > diff --git a/arch/x86/include/asm/io.h b/arch/x86/include/asm/io.h > index ca309a3227c7..2ea25745e059 100644 > --- a/arch/x86/include/asm/io.h > +++ b/arch/x86/include/asm/io.h > @@ -218,9 +218,8 @@ static inline void __iowrite32_copy(void __iomem *to, const void *from, > size_t count) > { > asm volatile("rep movsl" > - : "=&c"(count), "=&D"(to), "=&S"(from) > - : "0"(count), "1"(to), "2"(from) > - : "memory"); > + : "+D"(to), "+S"(from), "+c"(count) > + : : "memory"); > } > #define __iowrite32_copy __iowrite32_copy > #endif