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=-5.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,USER_AGENT_MUTT autolearn=ham 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 BEC18C10F13 for ; Mon, 8 Apr 2019 15:51:20 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 8E99121473 for ; Mon, 8 Apr 2019 15:51:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="UVKbg0pJ"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="AgXRyKCE" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8E99121473 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-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=bombadil.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=5EjhpgLwQbcGvXsFXygdDPO308SQ/ryHrxh47o0dHr8=; b=UVKbg0pJCWb48j JZH4udLQozxEGwwUGQsduE6W7DWMvvoPZUy2uHMUXN3IuSD+dPUxLpXjTZjFeNXTwXLIbelw/sris VmiN9pHWK/nFOdkLCJO70kxS7gYtfdmMqGZeiKjSp9nrAUvEQaAk944NBoyv1L46OniOr2hSG3uby TwoUcsVBRgBs/Vs2I+y7C4pvUZtyrI7BBnhbTyvDI4FkP7xKL1A3n7HGN/6o+IWHSG+SSGdAQCw/p GSGn5kz3e4MeRpFFD7Gij2KklSZo0XRMfiaTy5bKgsxL9uqlPHdYu0PHe06c2kiF1zhOZ06+BCFNH +kkCJGwD37LujJuWC4og==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hDWYJ-0006AJ-CS; Mon, 08 Apr 2019 15:51:19 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hDWNd-00073p-Kj for linux-arm-kernel@bombadil.infradead.org; Mon, 08 Apr 2019 15:40:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=/uO176xtjo11totmv66FARnKlUwDJDXQD+Nkn3ke3Ok=; b=AgXRyKCEY4y+nzPFpT5mSA4Rc TKSL97ZB9nck7PCUAYHsfC41DsLhInq6gnvxKBLtxjdG5zN5+x4wpbtlYGtmXa76s7kiYg1I8F6eq IVjTyGR+WQOUuiKt/Jxq3IklBm274+aubfThoroTJtQMxyBf5feXMsOUa9wFJLmnrs9+qFtnNY76f EE/Y6erQHC4sbLxA/OLgD7fhZqNjIMW48cPj0fEUKZU3/NdfhJwOHPTHXlHPF1dDvzo4WvSRC7o3S ucccGXrxf2Dv73IWzEhfIT9eiWV9V5DgcV4G0botNv0RtwYYQiI3wa4AW5Pbshm/iqu3W5cCWElws FgSzZsYOQ==; Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70] helo=foss.arm.com) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hDW7C-0007hr-Df for linux-arm-kernel@lists.infradead.org; Mon, 08 Apr 2019 15:23:19 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 9445215AB; Mon, 8 Apr 2019 08:23:14 -0700 (PDT) Received: from lakrids.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 157993F557; Mon, 8 Apr 2019 08:23:11 -0700 (PDT) Date: Mon, 8 Apr 2019 16:23:09 +0100 From: Mark Rutland To: Torsten Duwe , Ard Biesheuvel Subject: Re: [PATCH v8 2/5] arm64: replace -pg with CC_FLAGS_FTRACE in efi Makefiles Message-ID: <20190408152309.GJ6139@lakrids.cambridge.arm.com> References: <20190208150826.44EBC68DD2@newverein.lst.de> <20190208151011.0807668DD3@newverein.lst.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190208151011.0807668DD3@newverein.lst.de> User-Agent: Mutt/1.11.1+11 (2f07cb52) (2018-12-01) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190408_112318_566424_3883FCBD X-CRM114-Status: GOOD ( 17.22 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-efi@vger.kernel.org, Arnd Bergmann , Julien Thierry , Catalin Marinas , Will Deacon , linux-kernel@vger.kernel.org, Steven Rostedt , AKASHI Takahiro , Ingo Molnar , Josh Poimboeuf , Amit Daniel Kachhap , live-patching@vger.kernel.org, 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+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Feb 08, 2019 at 04:10:11PM +0100, Torsten Duwe wrote: > In preparation for arm64 supporting ftrace built on other compiler > options, let's have makefiles remove the $(CC_FLAGS_FTRACE) > flags, whatever these may be, rather than assuming '-pg'. > While at it, fix arm32 as well. > > There should be no functional change as a result of this patch. > > Signed-off-by: Torsten Duwe Ard, would you be happy if we were to take this via the arm64 tree? Assuming so, can we have your ack? Thanks, Mark. > > --- > drivers/firmware/efi/libstub/Makefile | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > --- a/drivers/firmware/efi/libstub/Makefile > +++ b/drivers/firmware/efi/libstub/Makefile > @@ -16,9 +16,9 @@ cflags-$(CONFIG_X86) += -m$(BITS) -D__K > > # arm64 uses the full KBUILD_CFLAGS so it's necessary to explicitly > # disable the stackleak plugin > -cflags-$(CONFIG_ARM64) := $(subst -pg,,$(KBUILD_CFLAGS)) -fpie \ > - $(DISABLE_STACKLEAK_PLUGIN) > -cflags-$(CONFIG_ARM) := $(subst -pg,,$(KBUILD_CFLAGS)) \ > +cflags-$(CONFIG_ARM64) := $(subst $(CC_FLAGS_FTRACE),,$(KBUILD_CFLAGS)) \ > + -fpie $(DISABLE_STACKLEAK_PLUGIN) > +cflags-$(CONFIG_ARM) := $(subst $(CC_FLAGS_FTRACE),,$(KBUILD_CFLAGS)) \ > -fno-builtin -fpic \ > $(call cc-option,-mno-single-pic-base) > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel