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=-18.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 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 DDD71C4338F for ; Tue, 24 Aug 2021 12:50:48 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (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 9A9CC6127B for ; Tue, 24 Aug 2021 12:50:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 9A9CC6127B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=xen.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.171329.312638 (Exim 4.92) (envelope-from ) id 1mIVt0-0003HV-FU; Tue, 24 Aug 2021 12:50:38 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 171329.312638; Tue, 24 Aug 2021 12:50:38 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mIVt0-0003HO-Bv; Tue, 24 Aug 2021 12:50:38 +0000 Received: by outflank-mailman (input) for mailman id 171329; Tue, 24 Aug 2021 12:50:36 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mIVsy-0003HG-Es for xen-devel@lists.xenproject.org; Tue, 24 Aug 2021 12:50:36 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1mIVsx-0003Mz-JX; Tue, 24 Aug 2021 12:50:35 +0000 Received: from [54.239.6.177] (helo=a483e7b01a66.ant.amazon.com) by xenbits.xenproject.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mIVsx-0006I6-DQ; Tue, 24 Aug 2021 12:50:35 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xen.org; s=20200302mail; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:Cc:To:Subject; bh=2U7+iYwnj3IT4UlKYJURHPyIhaZA3etDjq8bwgj6zxs=; b=wksSXqFZcQnc6wqazl/3RbWrTF CBI4ha+SraQyozozbBwoqvMNEH/LPce4BBj6Tm64jiG9J6EmB1bTwsMz4F0OxCEN9DMatinm5XXnx 2uAD6LhPSwP6h5TYY8whzMJckj6bGE8JTY4RG9zD5/ZLzyAQkAO6AGLzVNYXDEIYYM0Y=; Subject: Re: [XEN PATCH v7 10/51] build,arm: move LDFLAGS change to arch.mk To: Anthony PERARD , xen-devel@lists.xenproject.org Cc: Stefano Stabellini , Volodymyr Babchuk References: <20210824105038.1257926-1-anthony.perard@citrix.com> <20210824105038.1257926-11-anthony.perard@citrix.com> From: Julien Grall Message-ID: Date: Tue, 24 Aug 2021 13:50:33 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20210824105038.1257926-11-anthony.perard@citrix.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Hi Anthony, Can you explain why this is moved? Cheers, On 24/08/2021 11:49, Anthony PERARD wrote: > Signed-off-by: Anthony PERARD > --- > xen/arch/arm/Makefile | 8 -------- > xen/arch/arm/arch.mk | 8 ++++++++ > 2 files changed, 8 insertions(+), 8 deletions(-) > > diff --git a/xen/arch/arm/Makefile b/xen/arch/arm/Makefile > index 0edd9dee6f49..3d0af8ebc93c 100644 > --- a/xen/arch/arm/Makefile > +++ b/xen/arch/arm/Makefile > @@ -104,14 +104,6 @@ prelink.o: $(ALL_OBJS) $(ALL_LIBS) FORCE > $(call if_changed,ld) > endif > > -ifeq ($(CONFIG_ARM64_ERRATUM_843419),y) > - ifeq ($(call ld-option, --fix-cortex-a53-843419),n) > - $(warning ld does not support --fix-cortex-a53-843419; xen may be susceptible to erratum) > - else > - XEN_LDFLAGS += --fix-cortex-a53-843419 > - endif > -endif > - > targets += prelink.o > > $(TARGET)-syms: prelink.o xen.lds > diff --git a/xen/arch/arm/arch.mk b/xen/arch/arm/arch.mk > index 11caec86ba14..6a2982059486 100644 > --- a/xen/arch/arm/arch.mk > +++ b/xen/arch/arm/arch.mk > @@ -17,3 +17,11 @@ $(call cc-option-add,CFLAGS-$(CONFIG_ARM_64),CC,-mno-outline-atomics) > ifneq ($(filter command line environment,$(origin CONFIG_EARLY_PRINTK)),) > $(error You must use 'make menuconfig' to enable/disable early printk now) > endif > + > +ifeq ($(CONFIG_ARM64_ERRATUM_843419),y) > + ifeq ($(call ld-option, --fix-cortex-a53-843419),n) > + $(warning ld does not support --fix-cortex-a53-843419; xen may be susceptible to erratum) > + else > + LDFLAGS += --fix-cortex-a53-843419 > + endif > +endif > -- Julien Grall