Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp6567491rwl; Mon, 9 Jan 2023 09:57:43 -0800 (PST) X-Google-Smtp-Source: AMrXdXv+PZybCO8TLJUQCd0+TpBWzbA0MmiZWVl7gHaXfNLABHGUcJWeEeUAByC6pKSNBGXkXvZa X-Received: by 2002:a17:90a:b288:b0:225:c2b4:5742 with SMTP id c8-20020a17090ab28800b00225c2b45742mr60020814pjr.34.1673287063524; Mon, 09 Jan 2023 09:57:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673287063; cv=none; d=google.com; s=arc-20160816; b=sIfeFu8zymW08syZbtZVFzc8Vaos8lahJ245Qcf3zWagCtPKUxS/6Wpb6IUg2GZSDn ueSf4SC/KzxPfSiVf9da7frUU8AU60tHeDSkoE0ps+cSRMUXEenMmQSFpjCz51evmmjJ aK5k4dftcnF5dZ42t1U+P/YTGjAQnYQ3j3SMeTrHi60rV8/AtFwZzRee9RsbVyORlodS czPJ4NCo44T0oFYdrjhP1V5r2ZfPGWdMt2j5jR0nEzQdHRUNzDZxc40ZRlvnAPFEIRHa RF8DLD5nuXZclXq5KHCchI5xc2mifIfShZRRdmReIjM+jTzcI59XDpxhOgVD+XkqXmn5 FN5Q== 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=W2ebJ0lid9DaZMgvZv4xGPB8WVatv30Whh2utOT/cPQ=; b=UjTJoFihk2SvZz+JrRsmvswELblB4/HJ/s6wpMg2PRdvyPiVnM3lxjfaKcLri1qI58 Jbssp1rR4qt0kFUo02GPOCXHyDREMZ4o+7kOUH+f73mvYejAu7XRq9mXfFeAZV8Z4w2P JX+ckAVlsAN4gNNDN2Sqvfw9hlE+5r/tUna47YxVXa9DmuylHcE168ZIMxBVmkHv/zF7 /Wz8drQfzj3aFYVw8XVTzXXkbZxD2clClFRvIDMJlLjkcvGwwb3Rg5nL6f5/J5eA/JrF gTMQr5NXDtux8OT0f8Faxp7L1d/MTZN6S2Go7DKZAZ3NRLu1hvGL1FuAIopNWKyZCo3/ L5nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=r2B9nZai; 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 a21-20020a63e855000000b004adff260becsi7856589pgk.372.2023.01.09.09.57.36; Mon, 09 Jan 2023 09:57:43 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=r2B9nZai; 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 S237297AbjAIRpr (ORCPT + 55 others); Mon, 9 Jan 2023 12:45:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237256AbjAIRpi (ORCPT ); Mon, 9 Jan 2023 12:45:38 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFD72395CF for ; Mon, 9 Jan 2023 09:45:35 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 3A8396124B for ; Mon, 9 Jan 2023 17:45:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EFB7FC433D2; Mon, 9 Jan 2023 17:45:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673286334; bh=N/mGC1JSaAE/Ch09Nd54a2F0u2gUgX6CiTHhcHbSQ1o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=r2B9nZaiKwxOFnGCxW1UZllASxVtPY2UB+BNGkSihEBHz6fEgQdOtgomB7sELwuON bl/sx60FbrFOv2p/yre1OVm72cHaZg79zO1KvDMbBD1IhPR9u9/qbzyFkYAHHgIjMm m7nUaEbnJbrDfu4WdMn7SGz6Q6JqCyRUWuqsj+4zj5GYVKZZ88Ybx8BIReFTLILHG4 myE2MnpoUYh1XoIUIgNPnnchx1lF3H08a59oa1UFm7eHkt9MaKUnvXmq6AxheCTE9g 1TaRRwFwObNGNl+SPOZ2LwFopkiIKbv5owLU56d6she5DjDGUghyTf9+/ir2WIn3sl xhBrtnF8+Fl8w== From: Will Deacon To: James Clark , linux-arm-kernel@lists.infradead.org, mark.rutland@arm.com Cc: catalin.marinas@arm.com, kernel-team@android.com, Will Deacon , Tom Rix , Florent Revest , Nick Desaulniers , "Masami Hiramatsu (Google)" , "Steven Rostedt (Google)" , linux-kernel@vger.kernel.org, Nathan Chancellor , llvm@lists.linux.dev Subject: Re: [PATCH] arm64: Fix build with CC=clang, CONFIG_FTRACE=y and CONFIG_STACK_TRACER=y Date: Mon, 9 Jan 2023 17:45:28 +0000 Message-Id: <167327998306.3113570.4853582275546519184.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20230109122744.1904852-1-james.clark@arm.com> References: <20230109122744.1904852-1-james.clark@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 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 On Mon, 9 Jan 2023 12:27:43 +0000, James Clark wrote: > commit 45bd8951806e ("arm64: Improve HAVE_DYNAMIC_FTRACE_WITH_REGS > selection for clang") fixed the build with the above combination by > splitting HAVE_DYNAMIC_FTRACE_WITH_REGS into separate checks for > Clang and GCC. > > commit 26299b3f6ba2 ("ftrace: arm64: move from REGS to ARGS") added the > GCC only check "-fpatchable-function-entry=2" back in unconditionally > which breaks the build. > > [...] Applied to arm64 (for-next/fixes), thanks! [1/1] arm64: Fix build with CC=clang, CONFIG_FTRACE=y and CONFIG_STACK_TRACER=y https://git.kernel.org/arm64/c/68a63a412d18 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev