Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp484999lqp; Tue, 11 Jun 2024 09:56:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWgjfRUXyXU8HkTdQjtFRCv1j6CN+bgzPlIjuACaYHDbpfLwJQs9XeRMe9TLw3HqbRlxycQ17WxnDklGG8IQ8qRSnsLkdzwBVKW1q1oMQ== X-Google-Smtp-Source: AGHT+IGpA7SyVd4cKbnuqSqP6qcXzNtXLleobU8x/L15cZiXlhiaAeurqfrEWEj9cQRCkkSMaT0S X-Received: by 2002:a17:906:c113:b0:a6f:209d:34f with SMTP id a640c23a62f3a-a6f209d0423mr572849566b.43.1718124969653; Tue, 11 Jun 2024 09:56:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718124969; cv=pass; d=google.com; s=arc-20160816; b=vWWKhq3PVGgGbGYLtduIfPyATEuJvZsi1cVd7A9SptBw9+J4ambotYx8E6WSG2kIo+ hhxamgCLGNQPLruq031Sq59QJAqvU+OwGBXo4Mcz8k2SORE/sdxHWQnatzNiAX4jSwi+ 3r8e7Q+svCy8wr8fYJATtqY0IaaBZccNhEvQXjd9OY0TKJqKqd8ffSsP+vuD0z62SkxU mGW+jnbufNwoJJwyc2hipoThJI3gkM6TDRG+M2XDAQdPMH5Nn2VIRZvcn1N/UlTb7qlA 6ESvLd0YRHTwENsGMQmrMCedoFz1ACXGm+S0gFQErn5L/L5ZS4bIb3ZwFYYcJ7SQDwhW PXYQ== 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=zYs5ZUQzZwcEFxf0Z8QpbekUpcquqMOUsfv88lNQXaU=; fh=QTzL0XpWv5tiFAeTRD/6A61kjU0JIaeKc+DG+Jn+lH4=; b=nUOyrzw+P0wnXjIAbHASxrh7L6+qyRz9+axrgfV6qcCi5VbcHbGOpcxIM40gHFQkTo cHyvLMUw/uNokehuR9mZiVyvQNdJXZOXOvdDDaxSpgGeCpQHpzirAZmaMhdKaeqgmJPX 7ehXImReEm941RVokTnOct2v7sNLJ6F/SJQFsJwnUrzWuOAeBAWM6Km/cZY0OEMjGtO7 vuB+nyWXOIFl52rZzg5h9X3W1KNsrnvxZoSKbJ7f88qRg3DQ+mQ99kLusPVY//2HEd8c yhjpbOIahuRpJS9qgg+32WAphwmlhw1BHAsv5QXnJgtXL/xjbOsgIAT0ZMoYP5CkmmDE 8MOg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=m7OC+d+e; 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-210290-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210290-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 a640c23a62f3a-a6f31549a84si122527666b.404.2024.06.11.09.56.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 09:56:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210290-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=m7OC+d+e; 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-210290-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210290-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 626611F26159 for ; Tue, 11 Jun 2024 16:56:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5AF8E82D83; 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="m7OC+d+e"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="bUEEfsow" 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 92B2476041; 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=nMYOzzivwiWz/67ii5+95eikqFMeCyFx6wIlG/E3+eRiapTLmNY7IrmrfTYNVlQAnia/lqV37CoCbiZfkYhbmy+NMYr+oZje8zOU+vavFwQTNoQOk+9XQGSe8wwkk3NI0+tOG/+gLbbEY4LFWDU6BCLMuafRKcS6dftGDhjSVUw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718124843; c=relaxed/simple; bh=e6W7G/Z1iWFvEW1+cq8jCbStgdHMA2QD85WibCXyEP0=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=DaIT2q53xcIBqOZY/1AsS3fDHlYXwf0w+k29bci+wTVRS5iAUvZVmen7xnSlCH0bEHXDUMVmglY0+D3lDl5LBlKkbWIuguvMuIxVEt5hpJNZLhbIZQzVi3WGqdM8yzsoKipv61feDkMo2gJUwCKok+GNVwKaBCZJMHKsOXZhXI0= 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=m7OC+d+e; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=bUEEfsow; 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=zYs5ZUQzZwcEFxf0Z8QpbekUpcquqMOUsfv88lNQXaU=; b=m7OC+d+eUL6i+bvgcKN7NQ5kgRxoH0SapbQspnvilXRteOU4Lxv+FMIoBgTvjOJLVJdi6i Lr0OCbnJ7QUmLcC95Lk4+2QcLNqucGE4MeRmtx62CBugdUfi/rmTC+GP9qizs2Y63ftgOf a7SzufH0lRF/PwIbXNprw5xUzRoEzqP2NYxLqLaR/S6jRW7HFIA8SU72C4NOWp3fJOB/qK pZoQIEFIDkzkV8aRCbQNRy4QSEvG2FCvFneKIrfYQoeGG8mjGzUDWWcCqx5niwTmrlcgSg dRujONIHgP3R2LjYmv+MSpdF8ryM4sYXQfix7FpKyAqgiIF1193tKB6sFzsa/w== 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=zYs5ZUQzZwcEFxf0Z8QpbekUpcquqMOUsfv88lNQXaU=; b=bUEEfsowvw+u65une9OE2Byonj3BEuyBFhYndBCDrHcKqgorWi/bXKTFAwSjNAM+KndmV3 J4ZWl9JjiaR5VkDw== 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_call() Cc: "Borislav Petkov (AMD)" , "Peter Zijlstra (Intel)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20240607111701.8366-8-bp@kernel.org> References: <20240607111701.8366-8-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: <171812482870.10875.2126707944460634228.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: a880f9ef6bf7edc36753a9e40388d42ae8d7e099 Gitweb: https://git.kernel.org/tip/a880f9ef6bf7edc36753a9e40388d42ae8d7e099 Author: Borislav Petkov (AMD) AuthorDate: Fri, 07 Jun 2024 13:16:54 +02:00 Committer: Borislav Petkov (AMD) CommitterDate: Tue, 11 Jun 2024 18:15:03 +02:00 x86/alternative: Convert alternative_call() Signed-off-by: Borislav Petkov (AMD) Acked-by: Peter Zijlstra (Intel) Link: https://lore.kernel.org/r/20240607111701.8366-8-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 6a74681..b659757 100644 --- a/arch/x86/include/asm/alternative.h +++ b/arch/x86/include/asm/alternative.h @@ -349,11 +349,7 @@ static inline int alternatives_text_reserved(void *start, void *end) * suffix. */ #define alternative_call(oldfunc, newfunc, ft_flags, output, input...) \ - asm_inline volatile (ALTERNATIVE("call %c[old]", "call %c[new]", ft_flags) \ - : output : [old] "i" (oldfunc), [new] "i" (newfunc), ## input) - -#define n_alternative_call(oldfunc, newfunc, ft_flags, output, input...) \ - asm_inline volatile (N_ALTERNATIVE("call %c[old]", "call %c[new]", ft_flags) \ + asm_inline volatile(N_ALTERNATIVE("call %c[old]", "call %c[new]", ft_flags) \ : output : [old] "i" (oldfunc), [new] "i" (newfunc), ## input) /*