From nobody Thu Apr 2 05:52:41 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 299C537F75E; Mon, 30 Mar 2026 07:17:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774855023; cv=none; b=GOY/eNe48dVNacwr4CKRNIy7iFj0xvTwK2vMCDCIt5ONAlsbMwmdqc/2UHoiEg3q+anBq7kjoJ56/q57WVHlyBkDDtDB+XDf1bnICcXjUilJY91SO0ELjP2lO/CYpjc3k04dVdBuEcMUvPGx1t+XpxieAZdG5R9z4FkrssH5mDA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774855023; c=relaxed/simple; bh=GhwnAxHR4Fe9dyYlO+cCugJRmSJVJlTzOxau2yXl+9w=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=j/HKVO7nfFBwkBQzm5I7QgM+5m+8WB9oGzeaS8WqSsdt/2Zjmr1q6cKOlk3Doq0Arfq0YiErEnzSmf+8s8I5xtsyzv9w60kqskLyvaF9yGthzi8AyfCZXYjN90OuxN0ax+k2mM+6aPAxgnKNnqYqwN0dOfrWGINlbpVNBB8OK08= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=nXNWGYra; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=+guhbocR; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="nXNWGYra"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="+guhbocR" Date: Mon, 30 Mar 2026 07:16:59 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1774855020; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Tb/3HZjHdqZbyOiYiqddTl6Rc5YBIA+cHar/xw46aGk=; b=nXNWGYra8d0yE7dyiAccedwnYcbLR7ormfOXzCkkFbEIQRuV7dsF4BX+MuRWVhHNZ/wDVo /vIxN1iwal9dyT+NdBTDvHTSeUaKF+wht2wRwOysnBp2HhZ4lvf8OsIjeYBiLNkNXWge4V 2kTgat6U0ynD3IKajaP/CCqW+JfyNvqCGEbPFbNK17JBuvVlUdjPEYF+hGv1c5UY9BsIun Jn/KpY9xHH62ELCxRgWwUm7IgD+6cDxVwsxZGXMbAWPYglR0+1IEesPsWEWdEOCisPLA/r XR6JXQNYfnG6tjhs/zRtZ3owBNVd0nRSpwarhDAaNCUceSSuObp65U/fAdxBpQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1774855020; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Tb/3HZjHdqZbyOiYiqddTl6Rc5YBIA+cHar/xw46aGk=; b=+guhbocRK3FYK0Lor51BJPmpzsX17NTULIaFvRowS7oQ0OZ0M30M36AJjM6F0o5DwMkjJx YjfPpXfCamrK1kCQ== From: "tip-bot2 for Uros Bizjak" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/asm] x86/asm/segment: Use ASM_INPUT_RM in __loadsegment_fs() Cc: Uros Bizjak , Ingo Molnar , "Peter Zijlstra (Intel)" , Nathan Chancellor , Linus Torvalds , "H. Peter Anvin" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260330055823.5793-3-ubizjak@gmail.com> References: <20260330055823.5793-3-ubizjak@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <177485501955.1647592.15923707560203134488.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the x86/asm branch of tip: Commit-ID: caf3cb2ef22e4b4ff9f6bb48f71ce30dae663326 Gitweb: https://git.kernel.org/tip/caf3cb2ef22e4b4ff9f6bb48f71ce30da= e663326 Author: Uros Bizjak AuthorDate: Mon, 30 Mar 2026 07:57:44 +02:00 Committer: Ingo Molnar CommitterDate: Mon, 30 Mar 2026 09:10:16 +02:00 x86/asm/segment: Use ASM_INPUT_RM in __loadsegment_fs() Use the ASM_INPUT_RM macro in __loadsegment_fs() to work around Clang problems with the "rm" asm constraint. Clang seems to always chose the memory input, while it is almost always the worst choice. Signed-off-by: Uros Bizjak Signed-off-by: Ingo Molnar Acked-by: Peter Zijlstra (Intel) Acked-by: Nathan Chancellor Cc: Linus Torvalds Cc: H. Peter Anvin Link: https://patch.msgid.link/20260330055823.5793-3-ubizjak@gmail.com --- arch/x86/include/asm/segment.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/include/asm/segment.h b/arch/x86/include/asm/segment.h index 3fe3a31..0f4283d 100644 --- a/arch/x86/include/asm/segment.h +++ b/arch/x86/include/asm/segment.h @@ -335,7 +335,7 @@ static inline void __loadsegment_fs(unsigned short valu= e) =20 _ASM_EXTABLE_TYPE(1b, 2b, EX_TYPE_CLEAR_FS) =20 - : : "rm" (value) : "memory"); + : : ASM_INPUT_RM (value) : "memory"); } =20 /* __loadsegment_gs is intentionally undefined. Use load_gs_index instead= . */