Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp1371384imi; Sat, 23 Jul 2022 03:59:58 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tmAc0ira7bdrUn2KhOxJspvAmUiaHLii1RWQ0UM8gtmt+3RI5azxO/6p3aAJOY7Psn7sdW X-Received: by 2002:a05:6402:450d:b0:43b:d99:6d4f with SMTP id ez13-20020a056402450d00b0043b0d996d4fmr3947863edb.39.1658573998629; Sat, 23 Jul 2022 03:59:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658573998; cv=none; d=google.com; s=arc-20160816; b=OlzBmUvMH2hhGc5zPabCCuQroKNJ5XdN1EDzUYoheoSUYLzY5ZgQugBlYEeu6jyRcD 8ggY84Tl5Pa54zwWRh/Rjl62/AkRG4OVgRAmW2XRJHofKzfpsMDdEuuQcSbSSRqPB32L HA88Z3sr7c4/UqOkY3/5frPk8ZNBzh+iKnkJesgfgD7QZ0WKzdOtzhzlvh+pOLjIlHU5 /oa4hTQ0jOGB0hIqlNvFquu639x1SJMfmeygbQy94SMqbv5gWYb6d/jyK3N317Tmec36 iNbal4zBk1lepIDt7MWZL1mr0RenSsHsEnqzkSTrRqqat6wegwBO45tAenYUBjYBODX+ +J1A== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=eMcbVp2/fDPVC+nzJJRBsBK2Yp51ZWCfaLyqeWix6vg=; b=Iz4pVWdV+qCD9UUTbgeu6Kb1Sh46NzWLmjhZnmNUPJMW7uENTO/Z/taS8FkuhO/8xM SZZhlLXZ9sIufxFgSrY6l1mic/G4VPLWAd4HE1DrwedPbt3/OD4drMDlwePX5Ytz6E4S mQ3v4EckKtt26q4A1QBeg8IFYiNX2ivXo2Pox57Lt0TMCwKkA402tzaCzqk9YHDOGBZg RGVvfHTsSKMkZ2lgUPDElrKhealsSSRJz8weZuNEuPGEjH2uq03z7s/opVoPNXAmmZtN WkEvADmrb3DyHPbXnPRH+ps3itC2+cJFFLqeGtNfkbWbEQfyk9oR+9Fc+B4sjBa+QWlL iORQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=LRdrMoO7; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g13-20020a1709065d0d00b0072ee7a299f5si9143504ejt.19.2022.07.23.03.59.33; Sat, 23 Jul 2022 03:59:58 -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=@linuxfoundation.org header.s=korg header.b=LRdrMoO7; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238839AbiGWKLL (ORCPT + 99 others); Sat, 23 Jul 2022 06:11:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239091AbiGWKJS (ORCPT ); Sat, 23 Jul 2022 06:09:18 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67509CB76D; Sat, 23 Jul 2022 03:02:26 -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 80488612C6; Sat, 23 Jul 2022 10:02:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8C69BC341C0; Sat, 23 Jul 2022 10:02:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1658570544; bh=3FfEQtHfSY7pNsV/mu/qnN2Se9oRRp0rmZZQYox1Mes=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LRdrMoO76sh8OoakglL8nvqFwp1qhWetNntXNvzYLzHllww77t1tki3FL8o7MKXFE Sl7ej41F+CwdDtBES/vMPibYak72kPlM4f/00QrmKIEQ88E2MFySpu/oMJv9vHBg1W JzJJ/T2+32vkMpSCw7B1f5ZEqyx+VsYchqr9qY58= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "Steven Rostedt (VMware)" , Josh Poimboeuf Subject: [PATCH 5.10 134/148] x86/ftrace: Add UNWIND_HINT_FUNC annotation for ftrace_stub Date: Sat, 23 Jul 2022 11:55:46 +0200 Message-Id: <20220723095301.923053195@linuxfoundation.org> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220723095224.302504400@linuxfoundation.org> References: <20220723095224.302504400@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.8 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 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 From: Josh Poimboeuf commit 18660698a3d30868524cefb60dcd4e0e297f71bb upstream. Prevent an unreachable objtool warning after the sibling call detection gets improved. ftrace_stub() is basically a function, annotate it as such. Acked-by: Steven Rostedt (VMware) Signed-off-by: Josh Poimboeuf Link: https://lore.kernel.org/r/6845e1b2fb0723a95740c6674e548ba38c5ea489.1611263461.git.jpoimboe@redhat.com Signed-off-by: Greg Kroah-Hartman --- arch/x86/kernel/ftrace_64.S | 1 + 1 file changed, 1 insertion(+) --- a/arch/x86/kernel/ftrace_64.S +++ b/arch/x86/kernel/ftrace_64.S @@ -173,6 +173,7 @@ SYM_INNER_LABEL(ftrace_graph_call, SYM_L * It is also used to copy the RET for trampolines. */ SYM_INNER_LABEL_ALIGN(ftrace_stub, SYM_L_WEAK) + UNWIND_HINT_FUNC RET SYM_FUNC_END(ftrace_epilogue)