Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5519666rwb; Mon, 14 Nov 2022 06:00:10 -0800 (PST) X-Google-Smtp-Source: AA0mqf5PbApWItFStqojezFfH+AOxsuXYNeUQPDIiGRrMsOG/aa35iyoG7kdAdLdbJau69Lg4Qne X-Received: by 2002:aa7:cd15:0:b0:458:5987:7203 with SMTP id b21-20020aa7cd15000000b0045859877203mr10760444edw.161.1668434409976; Mon, 14 Nov 2022 06:00:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668434409; cv=none; d=google.com; s=arc-20160816; b=RQgKV8Tn+a3bpze9H1l/KFnIrWpj31xoL/pDGt7ZqDDyYAkZest0tbZgiwKi8K4s6K UuKgI8vbVBJDhj9e6+rJ+inMRLgufnaWlzGdlByu78+wJsTlD4WoSWZTO8boOkCFyvwb YHqjZM0edy1u5PnlG6CC/0h4S40rOXEfAnoXN5Wdpify9rogNf3zUFVtYSY/5ngyZDsK t9ieRdeCUr4/GLRJlxsORXkM5N6qOjeN88g97oj1woj3TBVafQAZq68LjPscAA+Zf9rn HfjMdeGY14XBBt91+LilHbZZVkqe8oah8Taa9HAo9VAl4GaPHiw9euzOmf7YXyiFbtqN VIHA== 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; bh=+4LyhafDpE63/tiU17hdwx8wbL02X13lsCt8+Sa8fKg=; b=nQEx1EhrBT8iAV4n+RblklsVzyiQn+Aub0rejR4HUiFuvuRjROZitkXn0COx/oZPm4 Hcq5yM1lcCPpxskbf4HZYNMD2boxT6ZNJpT/UJu+GQqj0IahMHJRKkzqYXGLR/NSbcs6 ZNxNEtxt7+eNrPYzJrX5rMgeHPp75wL5jAAgYFQMF0DnIf/Guar7c0KSXidIRK2nGi3q I94RVHch9pl5orrTfTi4YvlI7AfA1+9nWFEupYkcDnNSDgNggl4tfdmfHC3nX/zNzHkp PLw2JcMLTKcMIHceApNeuwsL3UwQHhxFK3395/NeD9u4SKRfYLxQ+Em8a31ozgAsGFZc BJUg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oz17-20020a1709077d9100b0078d8bd255d4si9703640ejc.949.2022.11.14.05.59.48; Mon, 14 Nov 2022 06:00:09 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236281AbiKNN3I (ORCPT + 87 others); Mon, 14 Nov 2022 08:29:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236238AbiKNN3G (ORCPT ); Mon, 14 Nov 2022 08:29:06 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC9C020BDB for ; Mon, 14 Nov 2022 05:29:04 -0800 (PST) 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 ams.source.kernel.org (Postfix) with ESMTPS id 8CCF3B80EBB for ; Mon, 14 Nov 2022 13:29:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5F4DCC433C1; Mon, 14 Nov 2022 13:29:00 +0000 (UTC) From: Catalin Marinas To: Peter Zijlstra , Sami Tolvanen , Mark Rutland , Will Deacon Cc: Kees Cook , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Steven Rostedt , Masami Hiramatsu Subject: Re: [PATCH] arm64: ftrace: Define ftrace_stub_graph only with FUNCTION_GRAPH_TRACER Date: Mon, 14 Nov 2022 13:28:58 +0000 Message-Id: <166843253456.1481799.5153520671489594909.b4-ty@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221109192831.3057131-1-samitolvanen@google.com> References: <20221109192831.3057131-1-samitolvanen@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,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 On Wed, 9 Nov 2022 19:28:31 +0000, Sami Tolvanen wrote: > The 0-day bot reports that arm64 builds with CONFIG_CFI_CLANG + > CONFIG_FTRACE are broken when CONFIG_FUNCTION_GRAPH_TRACER is not > enabled: > > ld.lld: error: undefined symbol: __kcfi_typeid_ftrace_stub_graph > >>> referenced by entry-ftrace.S:299 (arch/arm64/kernel/entry-ftrace.S:299) > >>> arch/arm64/kernel/entry-ftrace.o:(.text+0x48) in archive vmlinux.a > > [...] Applied to arm64 (for-next/fixes), thanks! [1/1] arm64: ftrace: Define ftrace_stub_graph only with FUNCTION_GRAPH_TRACER https://git.kernel.org/arm64/c/2598ac6ec493 -- Catalin