From nobody Mon Apr 6 18:56:35 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 ADB4637C11E; Wed, 18 Mar 2026 08:25:24 +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=1773822326; cv=none; b=PPFD3mBlGsGUGF/bVXyk4vRJswTsUlF3BWdEmDKc1DnaAk/SWjZVHu5O76Dc2lrtF8EeQZQzzuqPRnWA9jvzPYCVCDtz4anMcyNAkGhULOSEl0qi5gqB7PKlxoJOfiwQtxrUfGq2iNMYfMeHb8worrTwqGnZyZjB9CwGxjCPvSA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773822326; c=relaxed/simple; bh=bGwtDgmAdYHpDekT9kENaJJ1VuOT0CUdeICpd6Bo4J4=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=CWlvhOV2RhGGOrbDy6w2MULrNlN5WIMyaBkYmgTjAD/NcN3N0BrN0JjEqC99q6NNh8nMGYmkkAIWiJtsurc3os3gYLz/oXH4Ka2viEQaLF/xl1rC5RVyCiC1Sqovsm76QlIIYwBw8gVFu3pteyxzTmlp/5g3W4LKaDUmOOqNDGk= 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=jZsyev9v; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=+ZNH7pIw; 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="jZsyev9v"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="+ZNH7pIw" Date: Wed, 18 Mar 2026 08:25:21 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1773822322; 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=4ArO0MZcO0Y4ic27EEkKlueesuo08vppgpANR9wJ5zM=; b=jZsyev9vjtQLMacCnui5dRCR0S+9C99i4M0NXAuqdVRuU94VlRvrRflR+B3Imp8BnXCjVI Q74efejoUQsGAZfsZHf7Z0H30obrBI18HG24FSNd/I9bH5QS5VMlv5iZx1W08v88eLda2M j4GFFa7fTc62Dpy2MXMZS7Z7jxwe98ms21IGaameEo7l5bHQnUm6kbniLWr+Ka6U1sWgTd RCceqx079dKF2+hDNMw7QKd56hfzxA9lGe2/XAFnRFNwcIFfk/V34HePz1PO9jaFvhUHxO yNjY2ZNqEutqe6YOBnqjpk7geWYh3TELiv8+a1oX+J0WOzIzUSyxGLHay8zSWA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1773822322; 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=4ArO0MZcO0Y4ic27EEkKlueesuo08vppgpANR9wJ5zM=; b=+ZNH7pIwVzUE2R3NG2f6Bl2mUH6HAl3Tukjq9lB20VEc67EdH2eFi4hkmggKv8g++azo7v glxSCU3cqvW171Dg== 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] objtool: Fix Clang jump table detection Cc: Arnd Bergmann , Josh Poimboeuf , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <7d8600caed08901b6679767488acd639f6df9688.1773071992.git.jpoimboe@kernel.org> References: <7d8600caed08901b6679767488acd639f6df9688.1773071992.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: <177382232163.1647592.4959409396632195831.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: 4e5019216402ad0b4a84cff457b662d26803f103 Gitweb: https://git.kernel.org/tip/4e5019216402ad0b4a84cff457b662d26= 803f103 Author: Josh Poimboeuf AuthorDate: Mon, 09 Mar 2026 09:03:05 -07:00 Committer: Josh Poimboeuf CommitterDate: Mon, 16 Mar 2026 15:31:25 -07:00 objtool: Fix Clang jump table detection With Clang, there can be a conditional forward jump between the load of the jump table address and the indirect branch. Fixes the following warning: vmlinux.o: warning: objtool: ___bpf_prog_run+0x1c5: sibling call from cal= lable instruction with modified stack frame Reported-by: Arnd Bergmann Closes: https://lore.kernel.org/a426d669-58bb-4be1-9eaa-6f3d83109e2d@app.fa= stmail.com Link: https://patch.msgid.link/7d8600caed08901b6679767488acd639f6df9688.177= 3071992.git.jpoimboe@kernel.org Signed-off-by: Josh Poimboeuf --- tools/objtool/check.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/objtool/check.c b/tools/objtool/check.c index 91b3ff4..b6765e8 100644 --- a/tools/objtool/check.c +++ b/tools/objtool/check.c @@ -2184,12 +2184,11 @@ static void mark_func_jump_tables(struct objtool_fi= le *file, last =3D insn; =20 /* - * Store back-pointers for unconditional forward jumps such + * Store back-pointers for forward jumps such * that find_jump_table() can back-track using those and * avoid some potentially confusing code. */ - if (insn->type =3D=3D INSN_JUMP_UNCONDITIONAL && insn->jump_dest && - insn->offset > last->offset && + if (insn->jump_dest && insn->jump_dest->offset > insn->offset && !insn->jump_dest->first_jump_src) { =20