Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1937141iog; Sun, 26 Jun 2022 02:13:07 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vEehypBaa5UC3IpCFQeX0UTPq9kYpHgKN/5cmaFFCkwmudLwBVA6WzARb0sz4ZR1A6CQZq X-Received: by 2002:a17:907:3e20:b0:726:2c09:3fa4 with SMTP id hp32-20020a1709073e2000b007262c093fa4mr7305114ejc.101.1656234787574; Sun, 26 Jun 2022 02:13:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656234787; cv=none; d=google.com; s=arc-20160816; b=q+KobGvpt8Cc0wshItOx7URGczJ4ybMb0Ve6M7PBzPwFMHErCYoONM9OCyGr9dA1hu E/HJ0t7la6b/Jlb7SXKJ/E182tpb7h5Gf01pygJg7P3h89loI9XiAGBS5nfSG+f72myc arX83q3kAvyO9i6tBqUjFIFZoS6DNXLm0JwrhGE9yg3wdoROtQ7lB/5zMJ0nAg+9kZ75 9Y7NblfmtuVRwr4UsaUEivf6Y70/X+MDmG711ZsT0947O1bzA1cEUeet9NVA20NpmjxB 3Imj3mtRfaTIShyuRZlCPaLRk93PQV78rYVabi3EtRZ6ZhnllgL2UkjBqpf4uym7GMky se3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=1jVoUyxlDS77kSxvq+aBkoKysw03OZAYd8eIGsxhh5E=; b=SF4XCCoRBKqfEpF1nsbHECRpU1k8TKxge007DS4JbuMo+zWoHvutCKdHvd2A9mRso7 yfySh3/xRvly6nHLfxx2ps++xpASA5bPa8Ef4bAoxJJHQyKVMtyV1m921paIzXStuWcz 0+2IbyYG47cL8+Mo0tL4Eq5loXvFbXimj1AIjvyokRpXyempcGIybq5+16tPCOeijNsW bCPaBvJttl0LHEi6SoVbUJuQN5EnlPihRVvn0HTIWzYq3ahW1NbN0MGqNpte7Krpdg6M dE6dy8fWPckyHrJzEWwwafINLTf/5fCD/L1VUARArxM4lhrM5wEVl9Tt1NNc6Sobt+JJ 57QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CG5qn3ku; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ho16-20020a1709070e9000b00726a0367124si172908ejc.783.2022.06.26.02.12.42; Sun, 26 Jun 2022 02:13:07 -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=@kernel.org header.s=k20201202 header.b=CG5qn3ku; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234217AbiFZJL2 (ORCPT + 99 others); Sun, 26 Jun 2022 05:11:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232248AbiFZJLN (ORCPT ); Sun, 26 Jun 2022 05:11:13 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8236012A9A; Sun, 26 Jun 2022 02:11:12 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 152F461186; Sun, 26 Jun 2022 09:11:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D1872C341CA; Sun, 26 Jun 2022 09:11:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1656234670; bh=ApZQkTVnenerWztaVmFVFWCkGX5enE8Jokt4QEoiyq8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CG5qn3kuWwHakJqS7RKOcK9W9tkz/kqcpovCIwIpcUS7fS3T16YFXxsIk1rxPRN3+ 4D24IyKnmupH1+QnzGjxbH07Z9ySDqhpiU9s+t8tUOz1w60dx14WbOOo322o/WqFFM MCQerz1q2YhcWfBfyP+tGg0123M4NiTooYb6ygW5LetOY4FpHYN1PIHxLo36E9cuyW sZcLIbaF1Mz0FX3Ms9kkxPHD2LTsEV7IQboWaXR0EOsbIUdrfc+9z8fBOb9aV/sSzF J2NzRKaTYBdq+L4lygWJx8tbkG5sJqlSoWbZ2tzF/+5jL6K5Dtwr7Ewf/TKBItq8tT OnMX9v8V7UYiQ== Received: from mchehab by mail.kernel.org with local (Exim 4.95) (envelope-from ) id 1o5OIO-001cp3-4w; Sun, 26 Jun 2022 10:11:08 +0100 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , "H. Peter Anvin" , "Jonathan Corbet" , "Mauro Carvalho Chehab" , "Steven Rostedt (Google)" , Andrew Morton , Borislav Petkov , Dan Williams , Dave Hansen , Ingo Molnar , Isabella Basso , Josh Poimboeuf , Kees Cook , Masami Hiramatsu , Miguel Ojeda , Miroslav Benes , Nathan Chancellor , Peter Zijlstra , Rasmus Villemoes , Thomas Gleixner , Vlastimil Babka , linux-kernel@vger.kernel.org, x86@kernel.org Subject: [PATCH v2 15/20] objtool: update objtool.txt references Date: Sun, 26 Jun 2022 10:11:01 +0100 Message-Id: X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Changeset a8e35fece49b ("objtool: Update documentation") renamed: tools/objtool/Documentation/stack-validation.txt to: tools/objtool/Documentation/objtool.txt. Update the cross-references accordingly. Fixes: a8e35fece49b ("objtool: Update documentation") Signed-off-by: Mauro Carvalho Chehab --- To avoid mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH v2 00/20] at: https://lore.kernel.org/all/cover.1656234456.git.mchehab@kernel.org/ Documentation/x86/orc-unwinder.rst | 2 +- include/linux/objtool.h | 2 +- lib/Kconfig.debug | 2 +- tools/include/linux/objtool.h | 2 +- tools/objtool/check.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/x86/orc-unwinder.rst b/Documentation/x86/orc-unwinder.rst index 9a66a88be765..cdb257015bd9 100644 --- a/Documentation/x86/orc-unwinder.rst +++ b/Documentation/x86/orc-unwinder.rst @@ -140,7 +140,7 @@ Unwinder implementation details Objtool generates the ORC data by integrating with the compile-time stack metadata validation feature, which is described in detail in -tools/objtool/Documentation/stack-validation.txt. After analyzing all +tools/objtool/Documentation/objtool.txt. After analyzing all the code paths of a .o file, it creates an array of orc_entry structs, and a parallel array of instruction addresses associated with those structs, and writes them to the .orc_unwind and .orc_unwind_ip sections diff --git a/include/linux/objtool.h b/include/linux/objtool.h index 15b940ec1eac..1c769cddb42a 100644 --- a/include/linux/objtool.h +++ b/include/linux/objtool.h @@ -62,7 +62,7 @@ struct unwind_hint { * It should only be used in special cases where you're 100% sure it won't * affect the reliability of frame pointers and kernel stack traces. * - * For more information, see tools/objtool/Documentation/stack-validation.txt. + * For more information, see tools/objtool/Documentation/objtool.txt. */ #define STACK_FRAME_NON_STANDARD(func) \ static void __used __section(".discard.func_stack_frame_non_standard") \ diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 3da5f9acb966..3025347bb433 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -498,7 +498,7 @@ config STACK_VALIDATION runtime stack traces are more reliable. For more information, see - tools/objtool/Documentation/stack-validation.txt. + tools/objtool/Documentation/objtool.txt. config NOINSTR_VALIDATION bool diff --git a/tools/include/linux/objtool.h b/tools/include/linux/objtool.h index 15b940ec1eac..1c769cddb42a 100644 --- a/tools/include/linux/objtool.h +++ b/tools/include/linux/objtool.h @@ -62,7 +62,7 @@ struct unwind_hint { * It should only be used in special cases where you're 100% sure it won't * affect the reliability of frame pointers and kernel stack traces. * - * For more information, see tools/objtool/Documentation/stack-validation.txt. + * For more information, see tools/objtool/Documentation/objtool.txt. */ #define STACK_FRAME_NON_STANDARD(func) \ static void __used __section(".discard.func_stack_frame_non_standard") \ diff --git a/tools/objtool/check.c b/tools/objtool/check.c index 864bb9dd3584..970844ceecdc 100644 --- a/tools/objtool/check.c +++ b/tools/objtool/check.c @@ -3190,7 +3190,7 @@ static struct instruction *next_insn_to_validate(struct objtool_file *file, * Follow the branch starting at the given instruction, and recursively follow * any other branches (jumps). Meanwhile, track the frame pointer state at * each instruction and validate all the rules described in - * tools/objtool/Documentation/stack-validation.txt. + * tools/objtool/Documentation/objtool.txt. */ static int validate_branch(struct objtool_file *file, struct symbol *func, struct instruction *insn, struct insn_state state) -- 2.36.1