From nobody Fri Dec 19 00:42:08 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 F04441C5D63; Thu, 10 Apr 2025 21:04:59 +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=1744319101; cv=none; b=LkUoxBMfpzzsVrj97le7W2SMUXPqV4HKMCqJfmH6hvXjTnEal/VNSMXmx/055MbLFTxLIeM7dKWUPjSQuPGr5TV0MHV0y+BM1u3P2Q8qjgoChYKB7kJ2JhsrAilEZMuW6s3946sTPwI9tEdviFjvmTwB4XHtNK9kLpg7JTFomEI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744319101; c=relaxed/simple; bh=yzmFfgSb6xct0UVBNlIPbqnCeOW2Oii6tsLkiXI/GlA=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=YlXj/9AOQ7DNqlqz9lsfOOBJ+YOVWqeaqtkRI/xvwT96JTQzZiqFFEOE5ghhOG4AhJ0meXlsHNgA3dDyFXOsG94oxnjkvN96vzw7kkoKIQ/t2rJ7R4wA2+RYtYco5esCIpvreX9lVLMx0WdS2EVtxnlT0i8eUY6X0c7+3j0dZQY= 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=BsOsWgZW; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=ozW3Yx1c; 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="BsOsWgZW"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="ozW3Yx1c" Date: Thu, 10 Apr 2025 21:04:45 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1744319091; 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=3wSMrn6LW5x02/8PXlrgGfoFJUwuSquEFU0IkIcpUo4=; b=BsOsWgZW2mKQzJbTbXWc9JT1TEmunbcelPdd9VpJJx6SYmWjpelFRupQe+wn5mLunNaHm/ P+41xVUU0qC6uDZHGAGfnruHgdW1mZVnWU+8EBWFAMdTInC5tKRlk1TKyR1UlNA/w66S33 K09ZdvdyjbPAOdQNlW4H6k8H7VSXe3BM0JIpr9URG4O7F8NuVMNtbwiKm+qt7d1Crl0r57 TtqibXYTLzpzduDcO1IpcKJm0eoBI4SE31A2BvD12HhxA5G1wGWZ6ebh9BHYQuE1b/fWIC WNDl9F5q4KjM1FMhGIDW8fDkRRCo0t+U623VZmB1BnZk28v3LOUluT8jOmwbRw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1744319091; 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=3wSMrn6LW5x02/8PXlrgGfoFJUwuSquEFU0IkIcpUo4=; b=ozW3Yx1cS6i4hgqG17dooZ51Ho7/yElf8jxnL+zWW2EQ19Qr1U6e4pk/4dx2djDePQKWrZ +nunC3SIaq8pSmBA== 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 false-positive "ignoring unreachables" warning Cc: kernel test robot , Josh Poimboeuf , Ingo Molnar , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <5eb28eeb6a724b7d945a961cfdcf8d41e6edf3dc.1744238814.git.jpoimboe@kernel.org> References: <5eb28eeb6a724b7d945a961cfdcf8d41e6edf3dc.1744238814.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: <174431908613.31282.16929702486246710776.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: 87cb582d2f55d379ce95b5bcc4ec596e29b0a65e Gitweb: https://git.kernel.org/tip/87cb582d2f55d379ce95b5bcc4ec596e2= 9b0a65e Author: Josh Poimboeuf AuthorDate: Wed, 09 Apr 2025 15:49:36 -07:00 Committer: Ingo Molnar CommitterDate: Thu, 10 Apr 2025 22:55:00 +02:00 objtool: Fix false-positive "ignoring unreachables" warning There's no need to try to automatically disable unreachable warnings if they've already been manually disabled due to CONFIG_KCOV quirks. This avoids a spurious warning with a KCOV kernel: fs/smb/client/cifs_unicode.o: warning: objtool: cifsConvertToUTF16.part.0= +0xce5: ignoring unreachables due to jump table quirk Fixes: eeff7ac61526 ("objtool: Warn when disabling unreachable warnings") Reported-by: kernel test robot Signed-off-by: Josh Poimboeuf Signed-off-by: Ingo Molnar Link: https://lore.kernel.org/r/5eb28eeb6a724b7d945a961cfdcf8d41e6edf3dc.17= 44238814.git.jpoimboe@kernel.org Closes: https://lore.kernel.org/r/202504090910.QkvTAR36-lkp@intel.com/ --- tools/objtool/arch/x86/special.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/objtool/arch/x86/special.c b/tools/objtool/arch/x86/spec= ial.c index 403e587..06ca4a2 100644 --- a/tools/objtool/arch/x86/special.c +++ b/tools/objtool/arch/x86/special.c @@ -126,7 +126,7 @@ struct reloc *arch_find_switch_table(struct objtool_fil= e *file, * indicates a rare GCC quirk/bug which can leave dead * code behind. */ - if (reloc_type(text_reloc) =3D=3D R_X86_64_PC32) { + if (!file->ignore_unreachables && reloc_type(text_reloc) =3D=3D R_X86_64_= PC32) { WARN_INSN(insn, "ignoring unreachables due to jump table quirk"); file->ignore_unreachables =3D true; }