From nobody Fri Dec 19 18:47:07 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 4287B182D7; Tue, 1 Apr 2025 07:15:17 +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=1743491719; cv=none; b=qDn5C0OP3qmha/1dMYkwoYWhcRtigECOvnaVS3PwqnCOEAhEJwMYMhbin2MNTvcGJzuNbeH2+Vonkn/+BkTFbWtFyEE+xBZIW30uugmlf38DEjlkG8Ge+df2AeJfa8X0v363csiFR/SVlcOSf9XbqI+sNl5/L29uy/kcGzUwfuE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743491719; c=relaxed/simple; bh=1Ybow60vIDBkgotJhzGQ+unRwwmzzNRDPlIymou3qdU=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=u4WtRtxEGxdOjlh+IPB0erLQqxA6AXnblYEsLkwi5OT/0hHHESc7BQsh0LDZ277estaTci1LzQbDhSTpyjdFGtnqY7mc8g7Z283LQObcJoyTAwbqQK0zGpQZGGAEC9p4gOXCKA+k4/bCFnAZmpBKQS6uRudGK3DjLN8z/MI4P9Q= 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=n9M767bv; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=jjUVTyNR; 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="n9M767bv"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="jjUVTyNR" Date: Tue, 01 Apr 2025 07:15:15 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1743491716; 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=yLfggm6MXq6tblMb7LcsrnRtr5fohmbFnAorpUQtbHg=; b=n9M767bvLXx7zd0iTjscvhJKz+89iN+80yKcZwXTISrzrfcTpD3ez3us1LgwPZIUHOwXup g+Q90ZABxP8YZgS+aPITfuu5MkNJZOfuVBm+DtMhYaCh2PjOU3Z1XMx9Zu3zCXOiJLXd5m jehEQ1SUUvgjEvOGlC9T9Oe46b+JvmQGKOJn3C3bdkMC7ItsOkBFirnnF9496lPtkji3v9 qMvcnHHpsGIeHgMPa+C/zCfjvzEZ4KlTczFULVtF2HnWSPP2CO+bl2rQ9hxKiOf8mlS5m0 G5RGVVlaCkCqVl9RfL3J0stuytrqjgoP1OAkUw0TuliGSPotg4v6Pud1Iv46tw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1743491716; 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=yLfggm6MXq6tblMb7LcsrnRtr5fohmbFnAorpUQtbHg=; b=jjUVTyNRAqak8zzD/CB9eqM6p7KhlsvgTvwtHbk8e0/DSHMaYSveyywfb74CsMf3cFbyff h9ON8Jgn7PC5GKCg== From: "tip-bot2 for Josh Poimboeuf" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: objtool/urgent] context_tracking: Always inline ct_{nmi,irq}_{enter,exit}() Cc: Randy Dunlap , Josh Poimboeuf , Ingo Molnar , Linus Torvalds , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <8509bce3f536bcd4ae7af3a2cf6930d48c5e631a.1743481539.git.jpoimboe@kernel.org> References: <8509bce3f536bcd4ae7af3a2cf6930d48c5e631a.1743481539.git.jpoimboe@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <174349171500.14745.4311676850441099375.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 objtool/urgent branch of tip: Commit-ID: cf7d9bc6ba10e41084361158375677070bbbcdb7 Gitweb: https://git.kernel.org/tip/cf7d9bc6ba10e41084361158375677070= bbbcdb7 Author: Josh Poimboeuf AuthorDate: Mon, 31 Mar 2025 21:26:45 -07:00 Committer: Ingo Molnar CommitterDate: Tue, 01 Apr 2025 09:07:14 +02:00 context_tracking: Always inline ct_{nmi,irq}_{enter,exit}() Thanks to CONFIG_DEBUG_SECTION_MISMATCH, empty functions can be generated out of line. These can be called from noinstr code, so make sure they're always inlined. Fixes the following warnings: vmlinux.o: warning: objtool: irqentry_nmi_enter+0xa2: call to ct_nmi_ente= r() leaves .noinstr.text section vmlinux.o: warning: objtool: irqentry_nmi_exit+0x16: call to ct_nmi_exit(= ) leaves .noinstr.text section vmlinux.o: warning: objtool: irqentry_exit+0x78: call to ct_irq_exit() le= aves .noinstr.text section Fixes: 6f0e6c1598b1 ("context_tracking: Take IRQ eqs entrypoints over RCU") Reported-by: Randy Dunlap Signed-off-by: Josh Poimboeuf Signed-off-by: Ingo Molnar Cc: Linus Torvalds Link: https://lore.kernel.org/r/8509bce3f536bcd4ae7af3a2cf6930d48c5e631a.17= 43481539.git.jpoimboe@kernel.org Closes: https://lore.kernel.org/d1eca076-fdde-484a-b33e-70e0d167c36d@infrad= ead.org --- include/linux/context_tracking_irq.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/linux/context_tracking_irq.h b/include/linux/context_t= racking_irq.h index c50b567..197916e 100644 --- a/include/linux/context_tracking_irq.h +++ b/include/linux/context_tracking_irq.h @@ -10,12 +10,12 @@ void ct_irq_exit_irqson(void); void ct_nmi_enter(void); void ct_nmi_exit(void); #else -static inline void ct_irq_enter(void) { } -static inline void ct_irq_exit(void) { } +static __always_inline void ct_irq_enter(void) { } +static __always_inline void ct_irq_exit(void) { } static inline void ct_irq_enter_irqson(void) { } static inline void ct_irq_exit_irqson(void) { } -static inline void ct_nmi_enter(void) { } -static inline void ct_nmi_exit(void) { } +static __always_inline void ct_nmi_enter(void) { } +static __always_inline void ct_nmi_exit(void) { } #endif =20 #endif