[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [XEN][RFC PATCH v2 03/12] libfdt: Keep fdt functions after init for CONFIG_OVERLAY_DTB.


  • To: Vikram Garhwal <fnu.vikram@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Tue, 9 Nov 2021 12:10:01 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=KivgD9K6Tazs3NnxAybD6AncL3UalGVUoefztQLSq4E=; b=nI6dCaKBOcd5y4shyXdZw9+Jj4J/X3xt91+owASoYAkiuLfyHv61d9A21UX7+Z8kYA7F36IZxthTXihAiFL43Zct8ThYUYAfBnVXylInMxqQdsdTEqe7MOLPvumGs0u75SgIQMlfKI4rSt00rSOQiDNehsoWXJMF6FeiC8t1Gr3xD2zfdGC0/jEbds+/UYDelQCgPkdY8fjtD9rKg5tdMD3bI5GGgX8IuqFupEzba99pkMWuFz3Z783cslFb6nWVuCM72BVxBS3DmtVAzXQ9PGDYoHaBLwDq3YZSmgF/opt/yLewGtITsScvHPriJCPdBpEK1IQAImqyT0o/EiS40Q==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fNg6k+gCW0SGWvf0Sm2ul18/5fGAGA8Mj5UqNC47oIu8OmRp1tFJEssmnFGgZ6BVwYGdYUi2X32wnnE20VvpQrS3X2S9+15R1kvBAmWkNN1ajvdjNeB8mXdz/ypAscbONiqdpVjJytk4LTxxDjI3PJVrvs1tdZYe0S7LpEeHJ9YeBcxOhaTh9aWtW3vko6IAMzMkwadt1TLDG0Lv3JlvZPTvC8sWvM1UwqRq3o8vw1qB5WYduGVEObzN1CVy/lwzBxloIJc0TON5YpC3zGdlWjAinviuGL/WZoeDlH+YJWVmFszSvKjcGc9KQiHTCo7flb3PvpyWHcUb6v9m5mYiXg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: sstabellini@xxxxxxxxxx, julien@xxxxxxx, bertrand.marquis@xxxxxxx, volodymyr_babchuk@xxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 09 Nov 2021 11:10:26 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 09.11.2021 08:02, Vikram Garhwal wrote:
> This is done to access fdt library function which are required for adding 
> device
> tree overlay nodes for dynamic programming of nodes.
> 
> Signed-off-by: Vikram Garhwal <fnu.vikram@xxxxxxxxxx>
> ---
>  xen/common/libfdt/Makefile | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/xen/common/libfdt/Makefile b/xen/common/libfdt/Makefile
> index 6bd207c..f838f5f 100644
> --- a/xen/common/libfdt/Makefile
> +++ b/xen/common/libfdt/Makefile
> @@ -1,7 +1,10 @@
>  include Makefile.libfdt
>  
>  SECTIONS := text data $(SPECIAL_DATA_SECTIONS)
> +
> +ifneq ($(CONFIG_OVERLAY_DTB),y)
>  OBJCOPYFLAGS := $(foreach s,$(SECTIONS),--rename-section .$(s)=.init.$(s))
> +endif

I think you'd better suppress the objcopy step altogether in that case.

Jan




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.