From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4D77CC433E9 for ; Wed, 24 Feb 2021 20:39:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 13FD364F12 for ; Wed, 24 Feb 2021 20:39:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235827AbhBXUjj (ORCPT ); Wed, 24 Feb 2021 15:39:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235834AbhBXUjg (ORCPT ); Wed, 24 Feb 2021 15:39:36 -0500 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42030C06178B for ; Wed, 24 Feb 2021 12:38:56 -0800 (PST) Received: by mail-pj1-x1032.google.com with SMTP id c19so2106356pjq.3 for ; Wed, 24 Feb 2021 12:38:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=GZwVz+by9nHRK/VgqqFp4hya3sLU12ve4q94Q8a1TOw=; b=PkCcl/k7NfbtPwMQr8z5WhePJ8T22XJy9sfGUI5eow2vQmOTwG1B3B6CsQhjz6CARN hfN1R2ddWbMTYj9tE1Lwh+a/L635lr64afHtTZRdXvbYHBmR84iGmARmfeZH96r9Q2bl rylrULoicn3EwqmyKEvuCNlKTjG3ImD8g1etA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=GZwVz+by9nHRK/VgqqFp4hya3sLU12ve4q94Q8a1TOw=; b=taH9ba+8oOLvW2rhYfncSnQx7ydvoPYoTWNUIRgHIJoEw4k4mJ8MSTq/InV6OTr4UA hNZWt593CFp88scHVuQxDuMpAYwq8xtIsa4aFwl8ryLnyy3ZpZPi7Fn/PIukHdGBaDhu tXXeOR2CUWLcC8N/OPK3WNlD+eapLogrcKQjxvGM+cJk0sYmXCvU5riFGYKgYpXaT3YM htB32Tlt6lCj0lnZ677KMJQ3778Nixk6T19sixwHQuyydDLIZq2C0cPBLv9e72gTn6kd 6mC5vxsekIjvaWJ0GkZkdf7KwP2R/P0n9xeJGG7VRNVPucPiqxC2d1arzhs5yBEu91Wa qa1Q== X-Gm-Message-State: AOAM532PGkhHsk9CxZYtMgFIjlSN5A9SjM1NcOt19ArfoEqp2gQmQmb5 L9AzXIl7LvYKmCd3HdXNXcxVBw== X-Google-Smtp-Source: ABdhPJxYx1U060YI3/ocToHHmhrh3XN5Wc9YJIVgqhXdsuC8TDQUbe866zMWKSPIdD0ty9NbhhGm4g== X-Received: by 2002:a17:902:8d82:b029:e2:e8f7:ac44 with SMTP id v2-20020a1709028d82b02900e2e8f7ac44mr34308993plo.60.1614199135689; Wed, 24 Feb 2021 12:38:55 -0800 (PST) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id v1sm4268137pfi.99.2021.02.24.12.38.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Feb 2021 12:38:55 -0800 (PST) Date: Wed, 24 Feb 2021 12:38:54 -0800 From: Kees Cook To: Guenter Roeck Cc: Sami Tolvanen , Masahiro Yamada , Steven Rostedt , Will Deacon , Josh Poimboeuf , Peter Zijlstra , Greg Kroah-Hartman , "Paul E. McKenney" , Nick Desaulniers , clang-built-linux@googlegroups.com, kernel-hardening@lists.openwall.com, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-parisc@vger.kernel.org, Helge Deller Subject: Re: [PATCH v9 01/16] tracing: move function tracer options to Kconfig (causing parisc build failures) Message-ID: <202102241238.93BC4DCF@keescook> References: <20201211184633.3213045-1-samitolvanen@google.com> <20201211184633.3213045-2-samitolvanen@google.com> <20210224201723.GA69309@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210224201723.GA69309@roeck-us.net> Precedence: bulk List-ID: X-Mailing-List: linux-arch@vger.kernel.org On Wed, Feb 24, 2021 at 12:17:23PM -0800, Guenter Roeck wrote: > On Fri, Dec 11, 2020 at 10:46:18AM -0800, Sami Tolvanen wrote: > > Move function tracer options to Kconfig to make it easier to add > > new methods for generating __mcount_loc, and to make the options > > available also when building kernel modules. > > > > Note that FTRACE_MCOUNT_USE_* options are updated on rebuild and > > therefore, work even if the .config was generated in a different > > environment. > > > > Signed-off-by: Sami Tolvanen > > Acked-by: Steven Rostedt (VMware) > > With this patch in place, parisc:allmodconfig no longer builds. > > Error log: > Arch parisc is not supported with CONFIG_FTRACE_MCOUNT_RECORD at scripts/recordmcount.pl line 405. > make[2]: *** [scripts/mod/empty.o] Error 2 > > Due to this problem, CONFIG_FTRACE_MCOUNT_RECORD can no longer be > enabled in parisc builds. Since that is auto-selected by DYNAMIC_FTRACE, > DYNAMIC_FTRACE can no longer be enabled, and with it everything that > depends on it. Ew. Any idea why this didn't show up while it was in linux-next? -- Kees Cook