Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 6D45BC433F5 for ; Mon, 14 Mar 2022 19:24:50 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.290440.492557 (Exim 4.92) (envelope-from ) id 1nTqJ4-0002w8-Go; Mon, 14 Mar 2022 19:24:38 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 290440.492557; Mon, 14 Mar 2022 19:24: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 1nTqJ4-0002w1-Du; Mon, 14 Mar 2022 19:24:38 +0000 Received: by outflank-mailman (input) for mailman id 290440; Mon, 14 Mar 2022 19:24:37 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nTqJ2-0002vn-Ul for xen-devel@lists.xenproject.org; Mon, 14 Mar 2022 19:24:36 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nTqJ2-0003Ba-B4; Mon, 14 Mar 2022 19:24:36 +0000 Received: from 54-240-197-227.amazon.com ([54.240.197.227] helo=[10.95.108.113]) by xenbits.xenproject.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nTqJ2-0005Qx-4n; Mon, 14 Mar 2022 19:24:36 +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:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID; bh=8gtPwiqOeQZnseOV29wmVeGpt4i/hWpcXBGZOXmEd6c=; b=SdVsxZdxIEfRZRCO6Pj+c/ypHY pEQPIxxiTE+rWhhDMUU0dIW1tOdkvnyCa0y7OV3/bi9jaKBy6Jyzio1tEM0VPMj+n+mQufOFZtpiz 1avqCkw7alVrTVU8FCnAmb1MuS6lpzil6OCYqjVzcPKCRsOQodTBGiKbC5Euy7GoSA0o=; Message-ID: Date: Mon, 14 Mar 2022 19:24:33 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH 24/36] xen/arm: enable consider_modules for coloring To: Marco Solieri , xen-devel@lists.xenproject.org Cc: Andrew Cooper , George Dunlap , Jan Beulich , Stefano Stabellini , Wei Liu , Marco Solieri , Andrea Bastoni , Luca Miccio References: <20220304174701.1453977-1-marco.solieri@minervasys.tech> <20220304174701.1453977-25-marco.solieri@minervasys.tech> From: Julien Grall In-Reply-To: <20220304174701.1453977-25-marco.solieri@minervasys.tech> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi, On 04/03/2022 17:46, Marco Solieri wrote: > From: Luca Miccio > > In order to relocate Xen the function get_xen_paddr will be used in the > following patches. The method has "consider_modules" as a prerequisite > so it has to be enabled both for ARM32 and coloring. > > Signed-off-by: Luca Miccio > --- > xen/arch/arm/setup.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c > index f39c62ea70..0bfe12da57 100644 > --- a/xen/arch/arm/setup.c > +++ b/xen/arch/arm/setup.c > @@ -442,7 +442,7 @@ static void * __init relocate_fdt(paddr_t dtb_paddr, size_t dtb_size) > return fdt; > } > > -#ifdef CONFIG_ARM_32 > +#if defined (CONFIG_ARM_32) || (CONFIG_COLORING) Please fold this change in the first use of consider_modules(). Cheers, -- Julien Grall