From nobody Thu Dec 18 14:10:50 2025 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 8AB122F6912 for ; Mon, 27 Oct 2025 08:44:38 +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=1761554680; cv=none; b=cBtywS/egDtnN/IcTi6LHPVhdvF971eVknd2uV+AWLseVyEqbHb5BSUBIrjbibnddc1Kc1NcvxCCAi18qxBxBQq5jnaznXTAuvEq/XkQIb5SzsSGq2Y30DxKSDmfpzreXEc1rQUBEim4o70SwYF/ag2EJFf2FwYYcjZAy96YPf0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761554680; c=relaxed/simple; bh=Lb/w3BhjRzrsXCvCUDFGzCIOxidEz3RzuOjuQTkrykE=; h=Message-ID:From:To:Cc:Subject:References:MIME-Version: Content-Type:Date; b=MCUs+paS8p0D+6k7C+u7hq5fl42iAhJnL1SpDnZHDbNKTxvCAWwcuiEkdvUbjuNyF4lAQLJ1gc4MNyIoCnCYFhdzUDiUQ6Xic0WRqV5zwn4o5kutoWCzA1jCPw5ubvdtxt2oOisF0aL1YvBRp7zZuJhArHLiRMAATPKZboIqmDM= 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=z4Uzu52B; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=dN0kEZkt; 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="z4Uzu52B"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="dN0kEZkt" Message-ID: <20251027084306.590338411@linutronix.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1761554677; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: references:references; bh=mhjj3z5Xu0lm96OOzRXu+oa1LeUseXOmoNzKxGmeiPM=; b=z4Uzu52Bnq9f/JYto2R5Ms5JztVrkq2bPSmJazZLeWeHOovART1ShAGC6U9qs0BoaUDkvA i2hyOw/8dz4A/clIjPkD+n0CfQweEcuM4yDnpZTeW4+SJtkh2vzykI6+srKIBBIQujaUp5 A6xM/mIzA+wFKqAH8sbVUlnIBo4Ch6ciLzf7opfwBdAGT2yhWCIudmEFyyNLuVsufUdVvn 74/GC0r8TflP66SZZXbsr7codOsosGxyoOPIpfeR7Z3N6f6hUxPV0K5QR9lxgIB8wQ/8Ky kLBpfUlXnS304GovRf9roaO5sJXhMqR7Qf0TEon0RvHRXT2E3lLGRi9PRzZsCA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1761554677; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: references:references; bh=mhjj3z5Xu0lm96OOzRXu+oa1LeUseXOmoNzKxGmeiPM=; b=dN0kEZktgTibErCi80ksdonRM2mqiTnXlXshOjLZkqmoiApqNGU4LoGquJEbAd0XYSQ7IR GXCSWiMtSu80T0Bg== From: Thomas Gleixner To: LKML Cc: Michael Jeanson , Jens Axboe , Mathieu Desnoyers , Peter Zijlstra , "Paul E. McKenney" , x86@kernel.org, Sean Christopherson , Wei Liu Subject: [patch V6 10/31] entry: Cleanup header References: <20251027084220.785525188@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Date: Mon, 27 Oct 2025 09:44:36 +0100 (CET) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Thomas Gleixner Cleanup the include ordering, kernel-doc and other trivialities before making further changes. Signed-off-by: Thomas Gleixner Reviewed-by: Mathieu Desnoyers --- include/linux/entry-common.h | 8 ++++---- include/linux/irq-entry-common.h | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) --- --- a/include/linux/entry-common.h +++ b/include/linux/entry-common.h @@ -3,11 +3,11 @@ #define __LINUX_ENTRYCOMMON_H =20 #include +#include #include +#include #include #include -#include -#include =20 #include #include @@ -37,6 +37,7 @@ SYSCALL_WORK_SYSCALL_AUDIT | \ SYSCALL_WORK_SYSCALL_USER_DISPATCH | \ ARCH_SYSCALL_WORK_ENTER) + #define SYSCALL_WORK_EXIT (SYSCALL_WORK_SYSCALL_TRACEPOINT | \ SYSCALL_WORK_SYSCALL_TRACE | \ SYSCALL_WORK_SYSCALL_AUDIT | \ @@ -61,8 +62,7 @@ */ void syscall_enter_from_user_mode_prepare(struct pt_regs *regs); =20 -long syscall_trace_enter(struct pt_regs *regs, long syscall, - unsigned long work); +long syscall_trace_enter(struct pt_regs *regs, long syscall, unsigned long= work); =20 /** * syscall_enter_from_user_mode_work - Check and handle work before invoki= ng --- a/include/linux/irq-entry-common.h +++ b/include/linux/irq-entry-common.h @@ -68,6 +68,7 @@ static __always_inline bool arch_in_rcu_ =20 /** * enter_from_user_mode - Establish state when coming from user mode + * @regs: Pointer to currents pt_regs * * Syscall/interrupt entry disables interrupts, but user mode is traced as * interrupts enabled. Also with NO_HZ_FULL RCU might be idle. @@ -357,6 +358,7 @@ irqentry_state_t noinstr irqentry_enter( * Conditional reschedule with additional sanity checks. */ void raw_irqentry_exit_cond_resched(void); + #ifdef CONFIG_PREEMPT_DYNAMIC #if defined(CONFIG_HAVE_PREEMPT_DYNAMIC_CALL) #define irqentry_exit_cond_resched_dynamic_enabled raw_irqentry_exit_cond_= resched