From nobody Fri Apr 17 06:16:00 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 D071B35F8D1; Mon, 23 Feb 2026 10:25:22 +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=1771842324; cv=none; b=AxbjKTcoIf11Jejfi1PuPUDauEKKvc4r7sZ7vwg4gXbNuNBnBJQ9xTbjgGCRDj1kLXANc9aJkmFuVHyhVp42JUsLXO54vQtFq74nnG0hCJI8vG0euxFyvz8tYGkwH1k0MueINrLV/VqNAQcUnri3RvkVqiaXcKhfprcbzSn4TXk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771842324; c=relaxed/simple; bh=+VYdjh0jEFk0ED4L3FXdIzbPQ3StAMTsyYDVDhhOEVQ=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=WrLblDfPXLted0k5nMd5LBW8rQ8H4aGITYZ+x7gFsOIvV4BmbWe+j0yUtnqYUPRpZQpVnNdhM6SFUoXjrOjV5ya/kmFSUkHCV6oDMWGcYfo7PEuw28d9Z8RzTk8G1dwaAapUqhnzb8DS0oSuj8MgZ8DnN9R8RVpApyBqow9EOEQ= 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=2hA6w3+p; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=+5U4YMkr; 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="2hA6w3+p"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="+5U4YMkr" Date: Mon, 23 Feb 2026 10:25:20 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1771842321; 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=K8rNE4o77ksW3z4z0cZdOgROV79A7iRQxovM0GY7pdg=; b=2hA6w3+pLCpFKDJ+wi6akpu2cMFZ5THLKrDCQJSRsb3Pp3WHA01UkNM2tU6tFQYC6ie9E1 k11V+JfaftSu4CE0OBKRD9gzGjtJK1aGiAI7tvcWa3YxlrkJzoz/Fb+xficHgZe09RlB1d 4lM1yKG9JelM+TPby8FT1VCCYlU5UVPIpnFDkW0trwkmmkxyNx5lot6/3OZZb+zP7lmqbo J0oZuiXta6Cyt91AbuFYokxeVjMoiXfh7qeLZNKP4DsFHr98zPGhNPf2jD6jG5iV3k9K8q oFa+SEdty5g9zf4KrcaEB2A35IVkfL1g0TpMKx9kt6jfacaUcX/jaMG2bfOzCg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1771842321; 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=K8rNE4o77ksW3z4z0cZdOgROV79A7iRQxovM0GY7pdg=; b=+5U4YMkrPoL43THBAVAHFVf0Ya5orE4seeFW02VnrvINj1E3r+oRkabTX81dYqiaUJbfN7 OHJyRPoHLWBQ2VBg== From: "tip-bot2 for Arnd Bergmann" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: sched/urgent] rseq: Mark rseq_arm_slice_extension_timer() __always_inline Cc: Arnd Bergmann , "Peter Zijlstra (Intel)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260206074122.709580-1-arnd@kernel.org> References: <20260206074122.709580-1-arnd@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <177184232040.1647592.12959777610113659325.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 sched/urgent branch of tip: Commit-ID: 4c652a47722f69c6f2685f05b17490ea97f643a8 Gitweb: https://git.kernel.org/tip/4c652a47722f69c6f2685f05b17490ea9= 7f643a8 Author: Arnd Bergmann AuthorDate: Fri, 06 Feb 2026 08:41:13 +01:00 Committer: Peter Zijlstra CommitterDate: Mon, 23 Feb 2026 11:19:19 +01:00 rseq: Mark rseq_arm_slice_extension_timer() __always_inline objtool warns about this function being called inside of a uaccess section: kernel/entry/common.o: warning: objtool: irqentry_exit+0x1dc: call to rseq_= arm_slice_extension_timer() with UACCESS enabled Interestingly, this happens with CONFIG_RSEQ_SLICE_EXTENSION disabled, so this is an empty function, as the normal implementation is already marked __always_inline. I could reproduce this multiple times with gcc-11 but not with gcc-15, so the compiler probably got better at identifying the trivial function. Mark all the empty helpers for !RSEQ_SLICE_EXTENSION as __always_inline for consistency, avoiding this warning. Fixes: 0ac3b5c3dc45 ("rseq: Implement time slice extension enforcement time= r") Signed-off-by: Arnd Bergmann Signed-off-by: Peter Zijlstra (Intel) Link: https://patch.msgid.link/20260206074122.709580-1-arnd@kernel.org --- include/linux/rseq_entry.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/linux/rseq_entry.h b/include/linux/rseq_entry.h index cbc4a79..c6831c9 100644 --- a/include/linux/rseq_entry.h +++ b/include/linux/rseq_entry.h @@ -216,10 +216,10 @@ efault: } =20 #else /* CONFIG_RSEQ_SLICE_EXTENSION */ -static inline bool rseq_slice_extension_enabled(void) { return false; } -static inline bool rseq_arm_slice_extension_timer(void) { return false; } -static inline void rseq_slice_clear_grant(struct task_struct *t) { } -static inline bool rseq_grant_slice_extension(bool work_pending) { return = false; } +static __always_inline bool rseq_slice_extension_enabled(void) { return fa= lse; } +static __always_inline bool rseq_arm_slice_extension_timer(void) { return = false; } +static __always_inline void rseq_slice_clear_grant(struct task_struct *t) = { } +static __always_inline bool rseq_grant_slice_extension(bool work_pending) = { return false; } #endif /* !CONFIG_RSEQ_SLICE_EXTENSION */ =20 bool rseq_debug_update_user_cs(struct task_struct *t, struct pt_regs *regs= , unsigned long csaddr);