From nobody Sun Feb 8 09:22:20 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 837BB222565; Mon, 2 Feb 2026 21:04:34 +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=1770066275; cv=none; b=cXcTBjLmRVpjWXhqJmN/rdapSRBN/jHHnALruGY/0RLUlqphe6KmqeYQhLs+kgPJL/9tbHf0Xq8dAo7krGybwmwT9Rq+1/ENk2wVbI1ns08lGeFmiVu6l3k1mHWoyADRu3vuppnEiIkL3QaPecMZVpdMfEt7pIKLzIY1Xn807FU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770066275; c=relaxed/simple; bh=QHdoc8FZsgGlHvqejdQG3ALl6l1Ypl/hDLvHmRNt2H0=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=BUoCKioJ8kfqZnWYc7rbb1SOcr6s1UU7EctcrHFjWuG6ClmCtMg+DlHv3azFDgWgiG2x/WQsbnV9FzTlw9tZDUbSxt3y5gCdEBQwRZ/bWzRxZqCgASoltMZekuyc19gp39tQhAssRN9+KbbW42NIbAcK/7Pq9mV0QBryMABUiMU= 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=oKs0erob; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=MLrFZcxE; 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="oKs0erob"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="MLrFZcxE" Date: Mon, 02 Feb 2026 21:04:30 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1770066272; 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=RZP6F4fxLUsmcL0k2OTi/7GAIBQH3QTwW5dGN4QMOpM=; b=oKs0erobqq9e1FK0sJilIfEmUv9fsvXLkDh0UgGffk9j3tvq49+QvyXkzkNc1/O8CkW2rE AlkzP0P7KRTshB9tyTu158p8BdkeaihF+RuN8UqfuAZEk7MsWNuyx1JPcgasH/3wMV8us3 QZcjwcoqrJAfTmj4Qs/PqL3CVkyRoRl0dbGN1xJ9PrDSdLmqVp7LE15MvEjmJ5iNIXpXyl vPTytdd5O4PHDLv9PnQGVwuy6ddU5arTYPDRwtB72mtBPYGs2jwKBszC8V0mgRRqF+EAEI qbK1NA070msB7cnwC1G9THWBcG7Vi7kGwaYJ1dNYOdZzQqxnq5VUUk36XfCGjA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1770066272; 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=RZP6F4fxLUsmcL0k2OTi/7GAIBQH3QTwW5dGN4QMOpM=; b=MLrFZcxEJBO9HeUb4Z/kAmq40JPmp95i82wXgP5+wK0rGjTd8dQOh7XmLButhgTJyLQgG6 mhEXJCP7MLeYQvCA== 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: locking/core] rcu: Mark lockdep_assert_rcu_helper() __always_inline Cc: Arnd Bergmann , "Peter Zijlstra (Intel)" , "Paul E. McKenney" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260202095507.1237440-1-arnd@kernel.org> References: <20260202095507.1237440-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: <177006627017.2495410.16536626489848572011.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 locking/core branch of tip: Commit-ID: 451c3a0356099483218535aed17fcf94ab5764a3 Gitweb: https://git.kernel.org/tip/451c3a0356099483218535aed17fcf94a= b5764a3 Author: Arnd Bergmann AuthorDate: Mon, 02 Feb 2026 10:55:01 +01:00 Committer: Peter Zijlstra CommitterDate: Mon, 02 Feb 2026 22:02:49 +01:00 rcu: Mark lockdep_assert_rcu_helper() __always_inline There are some configurations in which lockdep_assert_rcu_helper() ends up not being inlined, for some reason. This leads to a link failure because now the caller tries to pass a nonexistant __ctx_lock_RCU structure: ld: lib/test_context-analysis.o: in function `test_rcu_assert_variants': test_context-analysis.c:(.text+0x275c): undefined reference to `RCU' ld: test_context-analysis.c:(.text+0x276c): undefined reference to `RCU_BH' ld: test_context-analysis.c:(.text+0x2774): undefined reference to `RCU_SCH= ED' I saw this in one out of many 32-bit arm builds using gcc-15.2, but it probably happens in others as well. Mark this function as __always_inline to fix the build. Fixes: fe00f6e84621 ("rcu: Support Clang's context analysis") Signed-off-by: Arnd Bergmann Signed-off-by: Peter Zijlstra (Intel) Reviewed-by: Paul E. McKenney Link: https://patch.msgid.link/20260202095507.1237440-1-arnd@kernel.org --- include/linux/rcupdate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h index d828a46..f0aa48b 100644 --- a/include/linux/rcupdate.h +++ b/include/linux/rcupdate.h @@ -435,7 +435,7 @@ static inline void rcu_preempt_sleep_check(void) { } =20 // See RCU_LOCKDEP_WARN() for an explanation of the double call to // debug_lockdep_rcu_enabled(). -static inline bool lockdep_assert_rcu_helper(bool c, const struct __ctx_lo= ck_RCU *ctx) +static __always_inline bool lockdep_assert_rcu_helper(bool c, const struct= __ctx_lock_RCU *ctx) __assumes_shared_ctx_lock(RCU) __assumes_shared_ctx_lock(ctx) { return debug_lockdep_rcu_enabled() &&