Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp485022lqp; Tue, 11 Jun 2024 09:56:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVuhmevFYBmrSBMbtj4egjJs29NbTR1M9q6kXX3SWkwdlPbpSAO7p/mSm9UfzGzgPLIlKbDPpruvtQN9jaSOYt6SNFKfjcLxuIeK15Gow== X-Google-Smtp-Source: AGHT+IF17sUkxtw1uUMxzvT3jFcWZq8Tz9Dn59ew5fMZEcEsPEGspwVhBaQa5mOdH5Tn/cbtJTKu X-Received: by 2002:a50:d591:0:b0:57c:68c5:4d6 with SMTP id 4fb4d7f45d1cf-57c68c5050fmr6846487a12.3.1718124973908; Tue, 11 Jun 2024 09:56:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718124973; cv=pass; d=google.com; s=arc-20160816; b=EI03rn5e0KVqglTdRTBPT7wcQkSCykDpWD5khp2wOIuWfebPh2G/rC5DNnElpVjz5Q ySAig9zYZ9yEa4GjuK0aT7wZBzclXEgk1HBa/RjB0UXKW4oUlIfmB9eJaVx74wprAeCC ptbdO/wZidZvvCEzFArg/k3sEeBz1ugKoikV9x4bh+Z66kh8eySHAsaoFupNoNlLffAs SUNWfNRhx7ss6DhGQ3pb0wDxAFUiuhF92BphlzOMtE3C8ROkSNcc9hLcv6bqqcbqPnZL OggNPOCZeXqjH9kmdaIhQcUqftz/7q8v7JcgNoI/r+6OtQ5VG+OF8QlX6U/gpIVt4PAZ DRQw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:precedence:robot-unsubscribe:robot-id :message-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:references:in-reply-to:cc:subject:to:reply-to:sender :from:dkim-signature:dkim-signature:date; bh=kHjELHl3VPeKps7H9jwiSu83aFvEtqYUYDnezEXBuDE=; fh=QTzL0XpWv5tiFAeTRD/6A61kjU0JIaeKc+DG+Jn+lH4=; b=g4x+BlkTf1XhM+YYOtQuyz6Md37EqdrPGU370AIfJK3IBEk1PwQcjaoz7+hJrtyW4V HeuYCBk8bryVCDfD+waH5A8hnRSKzm2XxMqnHQc6DU+8hts+QqVpgHxYA7Yjxrf+C7rl 04470TaajJI5QHpML1YYMGcCoqDoZlHNIGfyz/rUJqtOjjzIWSniOnQUn+Ri7R6zKbck grDjBt/SLucCb6vhW3BfhdfAFXYDTjJMbxXV4Xo9NLt63DxdxTv2JaAV7TN60gWcPC/i b1Pz1sQEwlR1/RSaGbm/Xdo8BBMjJ2YfZmmqywOoz+F6imPi+QRpULhuZP9vvXHdT8cb 0zZA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=SXZcdNdo; dkim=neutral (no key) header.i=@linutronix.de; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-210291-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210291-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57c81336cc1si2281345a12.561.2024.06.11.09.56.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 09:56:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210291-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=SXZcdNdo; dkim=neutral (no key) header.i=@linutronix.de; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-210291-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210291-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 9D0751F261DB for ; Tue, 11 Jun 2024 16:56:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7FB8D85642; Tue, 11 Jun 2024 16:54:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="SXZcdNdo"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="Z0bD1YCX" 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 D8550770E6; Tue, 11 Jun 2024 16:54:01 +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=1718124843; cv=none; b=iN2MezzP1Vu0m7+zh1naVK2mWt16kYlzcvowwZ3WBMjF/qiGzA3Ovoj7WXPb7ZtbtiiTaHq5rIbGZyQlG4EbH1EblyEO0HYmF0RNdTjdvrxvd4SiUD9Vn/m1iGrUTnJjuBa3Vy+eS7oHiLVH6evgy6gft4ScEvbcTb0rn9/RET4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718124843; c=relaxed/simple; bh=42pe3S5hcoj+G5XZqdSbkgFHJZmiybymCTGaIhR2k2Y=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=qq46fcnKWBNHDocrxy16SQL/zqqL91VgjeX8mVBh3IMHrhl8CGtARMPkr+j5piFKcPn7ivPXAOKYdAiw4qAqqFFbJIPgu++nah8IWJLMCW6HxQE4dnF1nzQGuiow5aJIyuhNSG4zmo/ucLAH/muXEUmssYGO6yPlFuYWxoZM69E= 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=SXZcdNdo; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=Z0bD1YCX; 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 Date: Tue, 11 Jun 2024 16:53:49 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1718124829; 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=kHjELHl3VPeKps7H9jwiSu83aFvEtqYUYDnezEXBuDE=; b=SXZcdNdoRfQqZqhIf3dVUQ2MgD5CGOt761FN1tQlAXDkj2dd9795quKL4sbL0L5tjND5yh H/iV4AfyqWl8Tv9ZbefgKG+aNJ5bQHt46kt7BGP6OHAmDHdpC5wy3Dkr3czAzhI8tW8ssf nsLptEt7L4aU8uvt7Ab/fQCKNyphqT+5Yzev3L5q2bNWGx/SmfZsYlKPTVlBPL9h6BBuZF tB7gMeSm20YHy8pUVgzW98pvr0ThwAiJ0N357IfCCn4PJR8x2K79UVNFo3fJzmF+l5I7Rg iyZqJy2uzY0+qHnk0W06CYYNnQ8zPtpDw6jqkwIN2hNuIsby0ordiY9dbeFGaQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1718124829; 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=kHjELHl3VPeKps7H9jwiSu83aFvEtqYUYDnezEXBuDE=; b=Z0bD1YCXxZ1yFsmc2U05bkLgGme60YInzpoi3S3hdcebE0cCKIV1WYN5Bt/5aDowqdi8qc YhCAXJPVN8xL3zCg== From: "tip-bot2 for Borislav Petkov (AMD)" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/alternatives] x86/alternative: Convert alternative_2() Cc: "Borislav Petkov (AMD)" , "Peter Zijlstra (Intel)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240607111701.8366-5-bp@kernel.org> References: <20240607111701.8366-5-bp@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <171812482942.10875.12132425870305609806.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: 7bit The following commit has been merged into the x86/alternatives branch of tip: Commit-ID: 8cb1f14b707d3d9b7d2b330c0acd62537576c6a7 Gitweb: https://git.kernel.org/tip/8cb1f14b707d3d9b7d2b330c0acd62537576c6a7 Author: Borislav Petkov (AMD) AuthorDate: Fri, 07 Jun 2024 13:16:51 +02:00 Committer: Borislav Petkov (AMD) CommitterDate: Tue, 11 Jun 2024 18:06:58 +02:00 x86/alternative: Convert alternative_2() Signed-off-by: Borislav Petkov (AMD) Acked-by: Peter Zijlstra (Intel) Link: https://lore.kernel.org/r/20240607111701.8366-5-bp@kernel.org --- arch/x86/include/asm/alternative.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/x86/include/asm/alternative.h b/arch/x86/include/asm/alternative.h index c05bff2..21ead5d 100644 --- a/arch/x86/include/asm/alternative.h +++ b/arch/x86/include/asm/alternative.h @@ -319,9 +319,6 @@ static inline int alternatives_text_reserved(void *start, void *end) asm_inline volatile(N_ALTERNATIVE(oldinstr, newinstr, ft_flags) : : : "memory") #define alternative_2(oldinstr, newinstr1, ft_flags1, newinstr2, ft_flags2) \ - asm_inline volatile(ALTERNATIVE_2(oldinstr, newinstr1, ft_flags1, newinstr2, ft_flags2) ::: "memory") - -#define n_alternative_2(oldinstr, newinstr1, ft_flags1, newinstr2, ft_flags2) \ asm_inline volatile(N_ALTERNATIVE_2(oldinstr, newinstr1, ft_flags1, newinstr2, ft_flags2) ::: "memory") /*