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 00FE0C3DA7F for ; Mon, 5 Aug 2024 09:08:50 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.771863.1182290 (Exim 4.92) (envelope-from ) id 1sathX-0000lE-2f; Mon, 05 Aug 2024 09:08:23 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 771863.1182290; Mon, 05 Aug 2024 09:08:23 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sathW-0000l7-Uy; Mon, 05 Aug 2024 09:08:22 +0000 Received: by outflank-mailman (input) for mailman id 771863; Mon, 05 Aug 2024 09:08:21 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sathV-0000l1-Fh for xen-devel@lists.xenproject.org; Mon, 05 Aug 2024 09:08:21 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sathU-00043R-Hq; Mon, 05 Aug 2024 09:08:20 +0000 Received: from [15.248.2.233] (helo=[10.24.67.21]) by xenbits.xenproject.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1sathU-0007Nh-4l; Mon, 05 Aug 2024 09:08:20 +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=7LHqG+5cQRYyexYtSZaKbPnZjvCTOGvJ8WmVaGI+YWQ=; b=Vs0iIkAedtkyrJsi1IvCeAgZEM n1e86pQ8jqiOqiuqpEyWXP00bETMwBM/AiE7yaPlEyfqFiUUBLLvrWQCJcyRHIrX7kC1+FTgjrxGY HAk4WmPS1ycJ723M4TOrv07KmPufU9+CrwiTcWXCbLbAdde5cytw6PkGE5TnoAkYGDlw=; Message-ID: <309d42dc-e540-4fbe-a69e-2be6414deb70@xen.org> Date: Mon, 5 Aug 2024 10:08:17 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v7 1/9] xen/device-tree: Move Arm's setup.c bootinfo functions to common Content-Language: en-GB To: Oleksii Kurochko , xen-devel@lists.xenproject.org Cc: Shawn Anastasio , Andrew Cooper , Jan Beulich , Stefano Stabellini , Bertrand Marquis , Michal Orzel , Volodymyr Babchuk , "Daniel P. Smith" References: <102f8b60c55cdf2db5890b9fb1c2fb66e61c4a67.1721834549.git.oleksii.kurochko@gmail.com> From: Julien Grall In-Reply-To: <102f8b60c55cdf2db5890b9fb1c2fb66e61c4a67.1721834549.git.oleksii.kurochko@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi, On 24/07/2024 16:31, Oleksii Kurochko wrote: > Changes in V5: > - add xen/include/xen/bootfdt.h to MAINTAINERS file. > - drop message "Early device tree parsing and". > - After rebase on top of the current staging the following changes were done: > - init bootinfo variable in with BOOTINFO_INIT; > - update the code of dt_unreserved_regions(): > CONFIG_STATIC_SHM related changes and getting of reserved_mem > bootinfo_get_shmem() ?? > - update the code of meminfo_overlap_check(): > add check ( INVALID_PADDR == bank_start ) to if case. > - update the code of check_reserved_regions_overlap(): > CONFIG_STATIC_SHM related changes. > - struct bootinfo was updated ( CONFIG_STATIC_SHM changes ) > - add shared_meminfo ( because of CONFIG_STATIC_SHM ) > - struct struct membanks was update with __struct group so is > neeeded to be included in bootfdt.h > - move BOOTINFO_ACPI_INIT, BOOTINFO_SHMEM_INIT, BOOTINFO_INIT to generic bootfdt.h > - bootinfo_get_reserved_mem(), bootinfo_get_mem(), bootinfo_get_acpi(), > bootinfo_get_shmem() and bootinfo_get_shmem_extra() were moved to xen/bootfdt.h > - s/arm32/CONFIG_SEPARATE_XENHEAP/ I think this change deserve a comment in the commit message. [...] > --- /dev/null > +++ b/xen/common/device-tree/bootinfo.c > @@ -0,0 +1,459 @@ > +/* SPDX-License-Identifier: GPL-2.0-or-later */ > +/* > + * Derived from $xen/arch/arm/setup.c. I would suggest to mention the version of Xen this is derived from. Acked-by: Julien Grall -- Julien Grall