From nobody Sun Feb 8 13:14:28 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 B571413F012; Thu, 25 Jan 2024 18:21:41 +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=1706206903; cv=none; b=i27qS0GPFROZWU0opaCY3RuKRRIRGZjLAIYlJmyp754PsBNFwRmMKSymUTQXIa73LqkIAsXcEXBt49mfWzSBp2IRV5crVadreAJaAuNZzQAnFQAk73kMwbKrK2qkQSruMhkJFEyIFY4ye5JbwNykJ9PHZg/smLzgBqE74Mq5mfo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706206903; c=relaxed/simple; bh=Js9akX23sYN+9s+C7AEpCw/MXLlJDhZRj3+E8qN/PqE=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=gmPeFmyNjzzAc2yjKx0FPFDZN/EnhMIwPcKNoaIWUOKPMp9m//Ly/qJUDjUQepvljC3ja+yGjkxlt2WXSd7xFisnh19Y49PRB4EWSvBxZRKQcqmXg+r3ZZwyZVL5Jvykp/M0teprLkK9DBvWTwXj7SapRRbi3copkA6MH5kLk0E= 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=G0V6/xWQ; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=qlVxaO2O; 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="G0V6/xWQ"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="qlVxaO2O" Date: Thu, 25 Jan 2024 18:21:39 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1706206900; 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=85nOS2caKehYGK2OBHSWfa6Y3O0YVF4NpuFopoRvImA=; b=G0V6/xWQyb9O4Wj4EjMI3XzBnop3MiPs/BCZXv1qh+rKueTNyqSEwC0telyK9gLthUynBg Keg2MHJID+dzxsYLYDEjjs4yhpdHmWDuO3khVnFdO6s52gBnKRrY/l7IDLxGg5powqLO29 0lc/z+DFwp5abTuQR0i1VvRHJZXUq+lJJDxmNocopJOB+HmKi59IXPRfnO8ICQ9ShKkYXd r7LXogQs5szg4KQX2lhp9CtnprWCncBi8h9eR5aklhDocQKhZXi6fkh1apJmEdlxyy/uI9 9mAl5bfG71TBbiXih8jQvSOmqyXqd0n4XdS6MkoPkdlymThaDS+qaBwkUle2ww== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1706206900; 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=85nOS2caKehYGK2OBHSWfa6Y3O0YVF4NpuFopoRvImA=; b=qlVxaO2O/TovKVn9E+8T1n4AYMbLt0xBqLOPAbBZKrgNWDQi0BdpQOsxhCxQ5cYp9IMd5V ugPa15kNskJjLyAg== From: "tip-bot2 for Xin Li" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/fred] x86/entry: Remove idtentry_sysvec from entry_{32,64}.S Cc: Xin Li , Thomas Gleixner , Shan Kang , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20231205105030.8698-3-xin3.li@intel.com> References: <20231205105030.8698-3-xin3.li@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <170620689912.398.7855201534374370406.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/fred branch of tip: Commit-ID: 3167b37f82ea8f9da156ff4edf100756bbc9277e Gitweb: https://git.kernel.org/tip/3167b37f82ea8f9da156ff4edf100756b= bc9277e Author: Xin Li AuthorDate: Tue, 05 Dec 2023 02:49:51 -08:00 Committer: Thomas Gleixner CommitterDate: Thu, 25 Jan 2024 19:10:29 +01:00 x86/entry: Remove idtentry_sysvec from entry_{32,64}.S idtentry_sysvec is really just DECLARE_IDTENTRY defined in , no need to define it separately. Signed-off-by: Xin Li Signed-off-by: Thomas Gleixner Tested-by: Shan Kang Link: https://lore.kernel.org/r/20231205105030.8698-3-xin3.li@intel.com --- arch/x86/entry/entry_32.S | 4 ---- arch/x86/entry/entry_64.S | 8 -------- arch/x86/include/asm/idtentry.h | 2 +- 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/arch/x86/entry/entry_32.S b/arch/x86/entry/entry_32.S index c73047b..89a7ec0 100644 --- a/arch/x86/entry/entry_32.S +++ b/arch/x86/entry/entry_32.S @@ -649,10 +649,6 @@ SYM_CODE_START_LOCAL(asm_\cfunc) SYM_CODE_END(asm_\cfunc) .endm =20 -.macro idtentry_sysvec vector cfunc - idtentry \vector asm_\cfunc \cfunc has_error_code=3D0 -.endm - /* * Include the defines which emit the idt entries which are shared * shared between 32 and 64 bit and emit the __irqentry_text_* markers diff --git a/arch/x86/entry/entry_64.S b/arch/x86/entry/entry_64.S index c40f89a..29ce68f 100644 --- a/arch/x86/entry/entry_64.S +++ b/arch/x86/entry/entry_64.S @@ -370,14 +370,6 @@ SYM_CODE_END(\asmsym) idtentry \vector asm_\cfunc \cfunc has_error_code=3D1 .endm =20 -/* - * System vectors which invoke their handlers directly and are not - * going through the regular common device interrupt handling code. - */ -.macro idtentry_sysvec vector cfunc - idtentry \vector asm_\cfunc \cfunc has_error_code=3D0 -.endm - /** * idtentry_mce_db - Macro to generate entry stubs for #MC and #DB * @vector: Vector number diff --git a/arch/x86/include/asm/idtentry.h b/arch/x86/include/asm/idtentr= y.h index 13639e5..e9f71b3 100644 --- a/arch/x86/include/asm/idtentry.h +++ b/arch/x86/include/asm/idtentry.h @@ -447,7 +447,7 @@ __visible noinstr void func(struct pt_regs *regs, \ =20 /* System vector entries */ #define DECLARE_IDTENTRY_SYSVEC(vector, func) \ - idtentry_sysvec vector func + DECLARE_IDTENTRY(vector, func) =20 #ifdef CONFIG_X86_64 # define DECLARE_IDTENTRY_MCE(vector, func) \