Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp407295rwr; Wed, 19 Apr 2023 08:04:48 -0700 (PDT) X-Google-Smtp-Source: AKy350aiRIa2fFj6bw46ZnvY6k1Ei/CvA0RKK1VHdUKpO47Kv+nIude2F3u6Cw1EEpa4EuNngGus X-Received: by 2002:a05:6a20:8e1a:b0:f0:2074:edbb with SMTP id y26-20020a056a208e1a00b000f02074edbbmr4662511pzj.8.1681916688258; Wed, 19 Apr 2023 08:04:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681916688; cv=none; d=google.com; s=arc-20160816; b=kZDIJR0Rm4fYnozKpCvAmzfhQAi75hajN8wes/f2TEecPbwVF1NahAqN3pUCDlUnxJ 6Iy30I7P/gyF2MXa6Iff+QQKCuN2CkaMjE2S3qArIMMkHxjRrPCBDh8/UvPbmZ633GKb nKxS3Ay1a8tB0EnEhMTJpJji8VpFfH5KohROeZSSowfsGa0e4YH5rwqJ3t+ZVoM9nQ91 6iVpkNahSaXywLprGvRY/qMGzU7mTIRKmLcqYREDPC/7ME8kqNsoTTRfvgMVL/mGM5bA keCwMNxiu9PN9cy3hUZeWgDIyNBs6hpWwW4AYEAIYvrhg40N6cMA1BCvDUn15pgf3hw6 7+Qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature:dkim-signature; bh=aMdPcxnwSRjwkYQwhc08+JCB6JrLB3Opn8DwV5ja/b4=; b=l4YhdgwSG0Y2qqKHIblc4F6r1DgLSussML26ASEeDv444SrZFsqjGFaomB7Nxizisc escj7pVVpyc1BqUDny84XDFnmXefrr74F4Ag0HpmED8+afb0TSL1RylMKV2qtp/aztW0 NuyGk9C77gCUAGCiRWPM+Bafpas+bayg1Ga9oMRkowZsqk3OJrDRzJHPJmmA8XIwuPtc d/lYEz5s1jStwPFEFue5dFBN5VXM/ZjRrLHa+YsE0yLGuZ+PMWzw7WnkgCdomzzu2jKH 19J/klg69sZpLP8wgO1wG5rLCVrm03vmGeyDH6PRZbSgSbA2yt4h7QmB6t3Zo1U+5X8f TgWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=aP19408r; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h18-20020a63df52000000b004fc257265cfsi16889243pgj.267.2023.04.19.08.04.20; Wed, 19 Apr 2023 08:04:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=aP19408r; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233490AbjDSOvy (ORCPT + 99 others); Wed, 19 Apr 2023 10:51:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233480AbjDSOvw (ORCPT ); Wed, 19 Apr 2023 10:51:52 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CD9D1BF6 for ; Wed, 19 Apr 2023 07:51:50 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id C372A1FD91; Wed, 19 Apr 2023 14:51:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1681915908; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=aMdPcxnwSRjwkYQwhc08+JCB6JrLB3Opn8DwV5ja/b4=; b=aP19408rhvyzqbLhP51ve5CXnmb6FjpOny8h3MN5MO9aOK/1wtSTlDVfzltvFCTL4uNx74 5O4kwxyZimTEbmST24PheU8q2W5NEu2i6Ds4Gq0MOyxGrXMZ8C3rGJqmevDtagvjvXH930 YGeHQCM54GHghUQDVfazoi8d/+Bk0Ss= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1681915908; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=aMdPcxnwSRjwkYQwhc08+JCB6JrLB3Opn8DwV5ja/b4=; b=iFOnXmOIRK80/CezY3ZJMr5qTmDjOME8exBI+w5NlQVJZc9LnILk2SuGECu8h+5UclkJbc W2GAM3MOKaNV2+Cg== Received: from pobox.suse.cz (pobox.suse.cz [10.100.2.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id A1A302C141; Wed, 19 Apr 2023 14:51:48 +0000 (UTC) Date: Wed, 19 Apr 2023 16:51:48 +0200 (CEST) From: Miroslav Benes To: Josh Poimboeuf cc: x86@kernel.org, linux-kernel@vger.kernel.org, Peter Zijlstra , Nick Desaulniers Subject: Re: [PATCH v3 0/8] objtool: warning improvements In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 18 Apr 2023, Josh Poimboeuf wrote: > v3: > - dropped merged patches and rebased on tip/objtool/core > - moved list of noreturn functions to separate file > - improved WARN_INSN() to do single evaluation of insn arg > > Josh Poimboeuf (8): > objtool: Limit unreachable warnings to once per function > objtool: Add verbose option for disassembling affected functions > objtool: Include backtrace in verbose mode > objtool: Detect missing __noreturn annotations > objtool: Ignore exc_double_fault() __noreturn warnings > objtool: Remove superfluous global_noreturns entries > tools/lib/subcmd: Replace NORETURN usage with __noreturn > objtool: Move noreturn function list to separate file > > tools/lib/subcmd/parse-options.h | 8 +- > tools/lib/subcmd/subcmd-util.h | 5 +- > tools/objtool/Documentation/objtool.txt | 10 ++ > tools/objtool/builtin-check.c | 5 + > tools/objtool/check.c | 195 ++++++++++++++++-------- > tools/objtool/include/objtool/builtin.h | 1 + > tools/objtool/include/objtool/elf.h | 1 + > tools/objtool/include/objtool/warn.h | 21 ++- > tools/objtool/noreturns.h | 45 ++++++ > 9 files changed, 214 insertions(+), 77 deletions(-) > create mode 100644 tools/objtool/noreturns.h Reviewed-by: Miroslav Benes M