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=-7.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 28300C43461 for ; Thu, 3 Sep 2020 22:44:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EDA1520786 for ; Thu, 3 Sep 2020 22:44:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="MBK0WKmd" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728975AbgICWoX (ORCPT ); Thu, 3 Sep 2020 18:44:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728311AbgICWoV (ORCPT ); Thu, 3 Sep 2020 18:44:21 -0400 Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B11A4C061247 for ; Thu, 3 Sep 2020 15:44:20 -0700 (PDT) Received: by mail-pf1-x441.google.com with SMTP id o68so3513681pfg.2 for ; Thu, 03 Sep 2020 15:44:20 -0700 (PDT) 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=52NN7zmbWj8pqq618ReYhqgg44nUMSxhK8Ic7l6b9IQ=; b=MBK0WKmdN+VVS8ZrwY58Hlad4tCyZ5qwvoRKwdhpO5bHKBKJVYLTH6lKUS2u0lc/Bh 8VA6LKlg81yIvhCjEQrBhESR4/qWsfETlF2eMA30SIkhfR/LjqzXlb1lgrKip62VobMn BSCke5Bwqm1qGde6q4c4/K9qre+J4wJi4pj1U= 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=52NN7zmbWj8pqq618ReYhqgg44nUMSxhK8Ic7l6b9IQ=; b=CxsWO9mtQfdHbywkVdYIvODrc+fj0cZYn3neioV5yd2/61+TNYQfd1yaZi8h3165Rq i0etIM40GfgDizgOQjIez4zQjJHaEUrCb7IaY+wDaYvHhSvSMhyFe5DJAnQP158mJ/vs xzktXh1GqsmGLuCwOJTWi0AUYCNmBWsl4/e05+jOkNnTx29lHBl6YQRhbNbbE5+UpdfF iYJApAo1m8K4+9Zjxphwm3g4hk+wfCDdu/doWk4MEWVgOykMeHZJ3nzEFJKSKDg4DkJv m9sDbT+e/16+JXuQM5XErLbTFJjXh1mTP9phZZHYPJD7+kEtqPPveGk+WrFrPHQOcxxh +66g== X-Gm-Message-State: AOAM531pjAE6vqPcDhnPJ7HY1e5c3JRZhysKYN8+IQyYubquBVvPSfyQ H1G/tt6PbtKn2Q19kMSQtwE//Q== X-Google-Smtp-Source: ABdhPJy9dQk51yQ0UJxiuUPjBSPLNVfH7SoTa7H5YomZF3lQK5E4Z9WCG1DCkxj0GCE61YpXubg48g== X-Received: by 2002:a17:902:121:: with SMTP id 30mr6136106plb.205.1599173060307; Thu, 03 Sep 2020 15:44:20 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id m25sm4297846pfa.32.2020.09.03.15.44.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Sep 2020 15:44:19 -0700 (PDT) Date: Thu, 3 Sep 2020 15:44:18 -0700 From: Kees Cook To: Sami Tolvanen Cc: Masahiro Yamada , Will Deacon , Peter Zijlstra , Steven Rostedt , 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, x86@kernel.org Subject: Re: [PATCH v2 22/28] arm64: export CC_USING_PATCHABLE_FUNCTION_ENTRY Message-ID: <202009031544.D66F02D407@keescook> References: <20200624203200.78870-1-samitolvanen@google.com> <20200903203053.3411268-1-samitolvanen@google.com> <20200903203053.3411268-23-samitolvanen@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200903203053.3411268-23-samitolvanen@google.com> Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org On Thu, Sep 03, 2020 at 01:30:47PM -0700, Sami Tolvanen wrote: > Since arm64 does not use -pg in CC_FLAGS_FTRACE with > DYNAMIC_FTRACE_WITH_REGS, skip running recordmcount by > exporting CC_USING_PATCHABLE_FUNCTION_ENTRY. > > Signed-off-by: Sami Tolvanen How stand-alone is this? Does it depend on the earlier mcount fixes? Reviewed-by: Kees Cook -- Kees Cook