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.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,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 C7FF6C43461 for ; Thu, 3 Sep 2020 22:45:35 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 865E920716 for ; Thu, 3 Sep 2020 22:45:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="3Q6Oosge"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="MBK0WKmd" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 865E920716 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=cHv5aDqWpBbK1w8eo8J8PFKSZPY4PZ2Sb2+UL30v8tc=; b=3Q6Oosge0F21p4fdlQhz6plZ+ WP/0kCLb1QOdN6CXROeZnPbPWsza7GaeBYsv/IOOotPaYi4/8wpUTYajaOW4rteV84Lhg6yOXWyBC huaSN7By4GVSq75TAkupArFoXG/MAknjQY0Z6I9ytEyeNW5ynfiZQQ7j19HV17/2E2Do/XobrsgWG ns6EcUZ/wVSCOeRH8UDIz/yPgOM0r7ZPTixlkTdp9ERPV0YBFXRUiSJ8/CcuY0Uuo2er0/lZuqB1Y flLxEeIqKxr3sOa/S47uRqAVoSybtgzBW++gZweIyT/m8MeI4xofX1kBKSD2yEbgAKP6ddnjHsqcu qmYMEa+0w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kDxxx-0002tu-Fz; Thu, 03 Sep 2020 22:44:25 +0000 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kDxxu-0002rz-0L for linux-arm-kernel@lists.infradead.org; Thu, 03 Sep 2020 22:44:22 +0000 Received: by mail-pf1-x444.google.com with SMTP id m8so3511845pfh.3 for ; Thu, 03 Sep 2020 15:44:21 -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=M0hw8IF31VvqbUJAO34ZFi/etv1g2hrCCxhKXKJcfnsoh3we2VWfi/YOtMsLegNASf Ss/wt3jui6BxYqAvq7wjWF2PRmKe0jzWFocXkiEp9lGuV8Kj+ew1zqUOBKikL7Cu88bu 5ufqLozFEHq1piLbaEdnjCT/q2SaeiiGHu/zPw0/8bPPBll4D/49rUiV91BCHmm0AYB2 3adMaomlwhZOg3snD/8nmAirE/yRZWqwjxpt/snORog2ZZSB34Fcz13+X1n0f7/2Is0M BzSmJTDcLoOHPr4J7OjedQrPAsxw4hOslZzS1PaJv3UXQ+MkKNEFBDq5V2ofTGyMSwsY 9Z2w== X-Gm-Message-State: AOAM532Mg5SvRfu3iNiDGtnahfBHyrY8v+tcH4CNcpsELLyWVLGauj8F UOkeqCIU3QfTDvsQD6i/N6J1PA== 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 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-Disposition: inline In-Reply-To: <20200903203053.3411268-23-samitolvanen@google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200903_184422_056132_769E6943 X-CRM114-Status: GOOD ( 12.59 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arch@vger.kernel.org, x86@kernel.org, "Paul E. McKenney" , kernel-hardening@lists.openwall.com, Peter Zijlstra , Greg Kroah-Hartman , Masahiro Yamada , linux-kbuild@vger.kernel.org, Nick Desaulniers , linux-kernel@vger.kernel.org, Steven Rostedt , clang-built-linux@googlegroups.com, linux-pci@vger.kernel.org, Will Deacon , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel