Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp491733lqp; Tue, 11 Jun 2024 10:05:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWXfus0QEMKyk/jhr0NnsuPPEjMR6o+BU3i8FmYMiX48qro7r5V2DiLwq9ev+ifwlZ9cPY6MEzO6sO8t7lgGBraiMkfCB6uWuBqvyZssg== X-Google-Smtp-Source: AGHT+IF8fK2Foc/bT0iEWF+IFiDdlCTOURSJh+iqOqELSNMD/XjoCL18Kv2STDtMmu4TG02I05Kz X-Received: by 2002:a62:ac0a:0:b0:702:548d:a875 with SMTP id d2e1a72fcca58-705a859588amr3876253b3a.11.1718125532682; Tue, 11 Jun 2024 10:05:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718125532; cv=pass; d=google.com; s=arc-20160816; b=JOPKkr2gvYI2jzykHg9axzXS9nqmNDLP20fqjcF4+oBqVBgt5y4l3YCx8/DHFs2Y2E WY1Quv1bem39KJcRtpk+DmCV8FYiTGTL1eXe/phUsF6eG1NZZVfO9VIn5/IyfqyIXyYo W7y57fVnGIuKy0xmz1Ns9jhI12Cvd+H/CMz0kx4veKykHERGWNxG8sYrYpaqK7sbbc91 rYqOkJ8mkyouaTmEHx5xv+6V3Bll5krnW8EStZHN9mRmw5ETqprUQ18oPYdGIF0jOh+t xEX1i+cbt2PJ3+HX3fjDO4c1dOfZ+75V/NMsY99z5cYmXr+d47q0mkbGyt9adWJVa24v vt0w== 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=5S6fyhG98EbOM3o6+wYbOKJDsqgPwBdkUMei3wr4p64=; fh=QTzL0XpWv5tiFAeTRD/6A61kjU0JIaeKc+DG+Jn+lH4=; b=GsV0Plz0GA0yxLBGVfd4rGtR4XE1ak6eTBEO+mXR5E+drRDIZh7G7/fryJCxlZsW4R qbI5puIh79Lx/gxmjYrLPcmb1dSOuCDfDMTixRlsbaKyhQgsWiGfNeOKdu/YYC7wemeD aZYb2scdM7TL/+vGEVFoMhSAC3u+zcnmX7NmqLq5iMyKf0DKhi+ZCjmg9ivb230dFrXo 1+0t/7BiRJpnfJFYSXq5HOlmmk3HPJKnfW8+NQALmFdCwzykTDYFVl0j0BbM71Yf7/i3 1GZMJsPhqmjeL9g30pjGaLu5A15mo1E4q02KNv8rO88pPAG1YFOvt6wp8eMw1VtdOF2Q Fyfg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=GDbXgr5l; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=dj00EASL; 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-210295-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210295-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-705b87f9d6bsi360112b3a.253.2024.06.11.10.05.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 10:05:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210295-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=GDbXgr5l; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=dj00EASL; 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-210295-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210295-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id CF7E9B260D7 for ; Tue, 11 Jun 2024 16:57:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E1B85152E17; Tue, 11 Jun 2024 16:54:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="GDbXgr5l"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="dj00EASL" 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 4A8DF82D66; Tue, 11 Jun 2024 16:54: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=1718124846; cv=none; b=CxzDu0MJ+/RQ77c14r+Na5SFr26SgVzn7P1kKSYsNL/ady2SYaF5bXCgoSfWgeX1DToh6oHZc6wBypaRW326SVBFf4+tBEWu/HCRwUcV4wSs47m9hs/itFbZnRRuWPZbLLWzyMIp4G7n8j+LQ7hmpEeBXRML3OgUGwdHAaevUUI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718124846; c=relaxed/simple; bh=CRERkj6WgPUsR368J3IJOemdqqOO3tozL1LGGGbTx9M=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=RQ+NWPhZJpRy74QxhafZgAsKDHT36tiQhZQKXEggAy9oD/knTHA2fVwechACkW0yprEt8jHHwLhXtBJV0n62ykLvpHGX5N77ZXaonFeN4oEcF6eb1nWJfYkQRrzM4W+x1Aw8iDULABJ/iSVwvQURaYfovrqeg1V+YmqFYtblPvE= 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=GDbXgr5l; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=dj00EASL; 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:50 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1718124830; 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=5S6fyhG98EbOM3o6+wYbOKJDsqgPwBdkUMei3wr4p64=; b=GDbXgr5lABvYI1C5wNlkz6p4EyhXKi4lI33CnwjMK+w4YFd3aLBzNmse6HMJA/KE37a9n7 5OEWE2xroaJ7p2d2Tnddxi+ivPLbjyyV8Hs+SjTQ3YWLmETc0H539hBb01aLke8YfZ2emC ign1LeS8hpLFQ7VUO/SLklRaIFJc4Jp9APDEkGbmAGCLUlHWO9PscDfKpJDOib9R+jmoEb AoSThjDvfTHjgXkqmTEKNhJmOG8YxPtk6DUqkEZ+Ys2YN9/zHKonyfkOF1DiUdwWrpIV29 Tap8dM5Y1dmlhaKtfD53XTWxEulAngukaeqyob1iWhRXRGKob4cZ4A5QGTItxg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1718124830; 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=5S6fyhG98EbOM3o6+wYbOKJDsqgPwBdkUMei3wr4p64=; b=dj00EASLpknYwdX+80y2ssMgr54e9EDrE5IHUcaOBudO1L0H8MWCn222gUcKR4kYRa2qYf 2oDIU0NhvsD4fLCg== 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: Zap alternative_ternary() Cc: "Borislav Petkov (AMD)" , "Peter Zijlstra (Intel)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240607111701.8366-2-bp@kernel.org> References: <20240607111701.8366-2-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: <171812483021.10875.10862182365499163698.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: 9cbf2643b3ec7866e688df35d5b28c8b07ecbe6c Gitweb: https://git.kernel.org/tip/9cbf2643b3ec7866e688df35d5b28c8b07ecbe6c Author: Borislav Petkov (AMD) AuthorDate: Fri, 07 Jun 2024 13:16:48 +02:00 Committer: Borislav Petkov (AMD) CommitterDate: Tue, 11 Jun 2024 17:07:35 +02:00 x86/alternative: Zap alternative_ternary() Unused. Signed-off-by: Borislav Petkov (AMD) Acked-by: Peter Zijlstra (Intel) Link: https://lore.kernel.org/r/20240607111701.8366-2-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 ba99ef7..6db7890 100644 --- a/arch/x86/include/asm/alternative.h +++ b/arch/x86/include/asm/alternative.h @@ -271,9 +271,6 @@ static inline int alternatives_text_reserved(void *start, void *end) #define alternative_2(oldinstr, newinstr1, ft_flags1, newinstr2, ft_flags2) \ asm_inline volatile(ALTERNATIVE_2(oldinstr, newinstr1, ft_flags1, newinstr2, ft_flags2) ::: "memory") -#define alternative_ternary(oldinstr, ft_flags, newinstr_yes, newinstr_no) \ - asm_inline volatile(ALTERNATIVE_TERNARY(oldinstr, ft_flags, newinstr_yes, newinstr_no) ::: "memory") - /* * Alternative inline assembly with input. *