Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp485179lqp; Tue, 11 Jun 2024 09:56:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU6TG7N3Yewq3MY5l3xXx8LwN7HrTWGdaxyGwVas9HuHO9ZZUTDCElbXPkcwpAW6CwQpOwSLzIP2STKfX2tXdZPL96qM6qW5ZmNNYzYAQ== X-Google-Smtp-Source: AGHT+IH7l/oHrOKSnXuJMQUc1ZYhMHQ+LYsKEk8xUqtV8evsGgXCbgwpQ1qxZRgDiXcnYqjDqSwi X-Received: by 2002:a05:6214:2428:b0:6ad:7a01:1980 with SMTP id 6a1803df08f44-6b089e8a59bmr57612316d6.2.1718124994532; Tue, 11 Jun 2024 09:56:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718124994; cv=pass; d=google.com; s=arc-20160816; b=Cpd+7A/voj3DoiPycuLIF1rdefh8awmwfsxFrgdTz2z8AP9aP8m7fGZwYYQf5xh8UI UgnsD4JA9wHpfsWbWRFQ+dpRB7D7hik2iViyRRKutDzpBP+c/gNv9C2TLuPrgEywuY8c Mw7zTKsAPNPKROePEy99ky8wJweQ0wo8g24fJ6GamHpvNvbMCfBJP74T7pYJ7ciYDuQ3 nx4tX9WamuELIWgCeLJnLqpD7VKq0A/i5u31fLnSaO9PlbHD8oDDyfWJ3Zq0l7EfnsPz R7LyFsgCuZ7dCHjZ6veaB/9eRFmBNSuaL50OWrmecB99tHqDXWBlkF70Sn94vlicRbFz 7ksg== 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=BRjCgeFpr71J9L+wNpsYziWJPiycGNQiSWAbNp7TGdk=; fh=QTzL0XpWv5tiFAeTRD/6A61kjU0JIaeKc+DG+Jn+lH4=; b=wZc7dukUXuu5j/LF7PRU7CkvY9ApU+FEXMSkGPhxv7pyfet+EsdspR0fLwAJg++rVn S5h9O/oQbhceTiOoQq+PgO1NglhBH7ewWEVRVjqnhq/6nfMBP0rdcpPaScyPkmdyheeH gFtPyKM8ybG9PrI/34NysfPzbd1uKoHywC+QgF9cuaMp+F1BUkQuQ01rs1NMxVwDfi8z lJgTOywqJqLCX2NNAE8y44VI65B+QJu/JmqXIlgSgynCB+3prpoqPYgaZ5Pf7tYXVpq9 qRIQmjCG1Vnykj1VY6RHNFUpK8H8EOBL+HlVlnstZvbGB6CneBH/XIF//KjooCEwdaif KRYg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Db+1AWG8; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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-210292-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210292-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6b065fa11b7si98208026d6.73.2024.06.11.09.56.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 09:56:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210292-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=Db+1AWG8; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; 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-210292-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210292-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 3FF201C22F91 for ; Tue, 11 Jun 2024 16:56:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8ADDB1514F0; Tue, 11 Jun 2024 16:54:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="Db+1AWG8"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="CNUcyiLY" 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 BA23D7C6D4; 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=1718124844; cv=none; b=miA8hBIrcBUGEV5/xG6MCIGe7hzHuBJMPHCWp8QCS/aXGq2qsnFGOKLSOjPNPrDrfYS3pvHpdEiZ3kTwUp8H2OeRAkIo9YTrZm0PTpL1qUX0NKO/j96wSKnrA9CzkyOMauedf7EVPYqHHIF8PXJSCKYqxisa9EyfbHQrMEJEIOc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718124844; c=relaxed/simple; bh=cYuE3aGRBZCarf3/UAqWF6lXfo1rpRErBne3l5M8TBg=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=RX2rtWIYXrzE2ffkOEisngG/ZK7P3du9lSrLsegrJVxUgxYlLL47VKL9iQlG9AIM92dyH+3+NID6a149M1xgG3Fuh6fdM5qLfVq+zfshqVJl4Nx2VL/GR27OsMubL6rsA1rHnJ2ZtNGvZsvpgKDuywOiQPOx9U2s6QzW4eQu0As= 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=Db+1AWG8; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=CNUcyiLY; 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:48 -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=BRjCgeFpr71J9L+wNpsYziWJPiycGNQiSWAbNp7TGdk=; b=Db+1AWG8JNMdOdJC244JHFn5gTbn0Re4i2mhW+dRHSqMoaC6md5DgTVRBKZM6V+5pEgaw1 UpGvlCPCSEnlXiy8oibmRqrHDTk0iNTI2nAfpwEI4V/0w00/NCDE/ErFIWCcMKz0GjdsWw Y7+/9ginvgtvszYA5lzXGz1al33hGKJR5kBlukoi6dxHyzmVbvu4UdqAHb9BzD+X7XvS8k dS2/yv0E2gGcQi2YHVBaBgXKkBsRanJHcHCzURDO/Ccequd/FBFhcaQZacCjRq7fHrMzkf m5Ng70R7abxvTZV/QqW08g1b8xTwIWPVJrgxwAMyAlpkcXYzBLB9gp5k3o9CFA== 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=BRjCgeFpr71J9L+wNpsYziWJPiycGNQiSWAbNp7TGdk=; b=CNUcyiLY4uGRtXXy9k6/ycTWVEALlG21/4qJsHVlZtnU+RliU7iKj7m5jKDynRHklnVKzH Nd8Ox9Z1uS8zjlBA== 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_io() Cc: "Borislav Petkov (AMD)" , "Peter Zijlstra (Intel)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240607111701.8366-7-bp@kernel.org> References: <20240607111701.8366-7-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: <171812482893.10875.4374270758808029965.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: ad36085ee3563001cf1720eeb93c2e85715eb5cd Gitweb: https://git.kernel.org/tip/ad36085ee3563001cf1720eeb93c2e85715eb5cd Author: Borislav Petkov (AMD) AuthorDate: Fri, 07 Jun 2024 13:16:53 +02:00 Committer: Borislav Petkov (AMD) CommitterDate: Tue, 11 Jun 2024 18:12:29 +02:00 x86/alternative: Convert alternative_io() Signed-off-by: Borislav Petkov (AMD) Acked-by: Peter Zijlstra (Intel) Link: https://lore.kernel.org/r/20240607111701.8366-7-bp@kernel.org --- arch/x86/include/asm/alternative.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/arch/x86/include/asm/alternative.h b/arch/x86/include/asm/alternative.h index 428d6ef..6a74681 100644 --- a/arch/x86/include/asm/alternative.h +++ b/arch/x86/include/asm/alternative.h @@ -335,11 +335,7 @@ static inline int alternatives_text_reserved(void *start, void *end) /* Like alternative_input, but with a single output argument */ #define alternative_io(oldinstr, newinstr, ft_flags, output, input...) \ - asm_inline volatile (ALTERNATIVE(oldinstr, newinstr, ft_flags) \ - : output : "i" (0), ## input) - -#define n_alternative_io(oldinstr, newinstr, ft_flags, output, input...) \ - asm_inline volatile (N_ALTERNATIVE(oldinstr, newinstr, ft_flags) \ + asm_inline volatile(N_ALTERNATIVE(oldinstr, newinstr, ft_flags) \ : output : "i" (0), ## input) /*