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 A3903C3DA47 for ; Thu, 11 Jul 2024 09:00:47 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.757200.1165973 (Exim 4.92) (envelope-from ) id 1sRpfL-0003w4-2p; Thu, 11 Jul 2024 09:00:39 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 757200.1165973; Thu, 11 Jul 2024 09:00:39 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sRpfL-0003vx-09; Thu, 11 Jul 2024 09:00:39 +0000 Received: by outflank-mailman (input) for mailman id 757200; Thu, 11 Jul 2024 09:00:37 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sRpfJ-0003vn-Pl for xen-devel@lists.xenproject.org; Thu, 11 Jul 2024 09:00:37 +0000 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [2a00:1450:4864:20::62d]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 09e9f3a6-3f64-11ef-bbfb-fd08da9f4363; Thu, 11 Jul 2024 11:00:36 +0200 (CEST) Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-a77baa87743so72723266b.3 for ; Thu, 11 Jul 2024 02:00:36 -0700 (PDT) Received: from [192.168.219.191] ([94.75.70.14]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a780a6e380asm239140866b.90.2024.07.11.02.00.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jul 2024 02:00:35 -0700 (PDT) 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" X-Inumbo-ID: 09e9f3a6-3f64-11ef-bbfb-fd08da9f4363 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720688436; x=1721293236; darn=lists.xenproject.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=Zjv8MyfEPC/3Yp6c9wk9PiIfmL7uJ9UdtJiDGVezEVg=; b=O7ueJsMDiZP5KhsNnj/wCSvs+EJ6VUQEyOlnLdJDkiPHsuGSNKqvWaHi1VZ0p3zzxO cGZ71J5A7hnnnDzusw258AGPsc+wqMJvw7D4t/g2HL1iGUelPRSMUkLRPv0UsRB7Xvud 2tS6i9qVwATDBhvfQI6mJ3I2+M/71+lR3p+xrKOHae20+3cVlWiOE60gfdN5vvd6/dcF 5Mub8CI/5eTUG6UzeOWE0Qd7G8+/BW+SzdPUYq+uV962H3gBfXNfxikhv8GZqqfhj8zz 4KHAsHmAHbi++OGNmTZ2ATD25v9yeo6kWpWdw5YVmIY74FT2oTx9Wv9OkcEJMnMwsc7R mDcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720688436; x=1721293236; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Zjv8MyfEPC/3Yp6c9wk9PiIfmL7uJ9UdtJiDGVezEVg=; b=dSzgHofpHdDqSaf2v5D+wi4+pOp/LXkt6KrF7il2PWtruhm6nX3PwtMQlVqHlhjZoU Ev+1KhrQ5MEBpeoNYl+sNjoxPOw9vHleWdkbqddQz1sUH4Yw9ReRN6uHq8NnLgbxYp91 yRz87huEQPsVhd2XHaJ8t7fDknb1ozpXGGOdvlSFjcqRN8NeNni/BmI77Zv39RYb5mPi 8x9t8bW4muYqUagOk1xWZZ9f1ANKegQRhezOtTTkMuzGbS+30YZjflWXP6dHzTRMh4l3 w0b1W+f+3rEF6dT110RD7SN7yb3pWZPYIAO8krVM9azj3vskr6gcx31syux6LUuXdEoI SuHg== X-Forwarded-Encrypted: i=1; AJvYcCVjggytBmpliQRf0PB2UzhUdspS/oJksscE66mgkdJj66BVBqJjWvjrCl5LkyUG+GnTciHOf9pBzwQmL0GfQ7KzxM+CGy/tYpSMpXRf3Xs= X-Gm-Message-State: AOJu0YzEbIAsKKyrp7SF4ICYRemPhJXliZzW5xb+Dw6mSlS5+3QEmkqh WnagkvBXfodkjwAbuhTW4cPcnnCgLJI7vnt9efNpeA+ytooj/h3K X-Google-Smtp-Source: AGHT+IF+qXioeAKz5ysB61QBRGdaVlunsLZpmhOJgEf3WIqQMAo0x7BlSpj9mT9oqo+NLdJT2qjKvA== X-Received: by 2002:a17:907:94c5:b0:a77:b01b:f949 with SMTP id a640c23a62f3a-a780b6fee77mr761132466b.35.1720688436130; Thu, 11 Jul 2024 02:00:36 -0700 (PDT) Message-ID: Subject: Re: [PATCH v1 1/5] xen/device-tree: Move Arm's setup.c bootinfo functions to common From: Oleksii To: Jan Beulich Cc: Shawn Anastasio , Andrew Cooper , Julien Grall , Stefano Stabellini , Bertrand Marquis , Michal Orzel , Volodymyr Babchuk , "Daniel P. Smith" , xen-devel@lists.xenproject.org Date: Thu, 11 Jul 2024 11:00:35 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.2 (3.52.2-1.fc40app2) MIME-Version: 1.0 On Wed, 2024-07-10 at 12:23 +0200, Jan Beulich wrote: > On 03.07.2024 12:42, Oleksii Kurochko wrote: > > From: Shawn Anastasio > >=20 > > Arm's setup.c contains a collection of functions for parsing memory > > map > > and other boot information from a device tree. Since these routines > > are > > generally useful on any architecture that supports device tree > > booting, > > move them into xen/common/device-tree. > >=20 > > Suggested-by: Julien Grall > > Signed-off-by: Shawn Anastasio > > Signed-off-by: Oleksii Kurochko > > --- > > Changes in V5: > > =C2=A0- add xen/include/xen/bootfdt.h to MAINTAINERS file. > > =C2=A0- drop message "Early device tree parsing and". > > =C2=A0- After rebase on top of the current staging the following change= s > > were done: > > =C2=A0=C2=A0 - init bootinfo variable in with > > BOOTINFO_INIT; > > =C2=A0=C2=A0 - update the code of dt_unreserved_regions(): > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 CONFIG_STATIC_SHM related changes = and getting of > > reserved_mem > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 bootinfo_get_shmem() ?? > > =C2=A0=C2=A0 - update the code of meminfo_overlap_check(): > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 add check ( INVALID_PADDR =3D=3D b= ank_start ) to if case. > > =C2=A0=C2=A0 - update the code of check_reserved_regions_overlap(): > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 CONFIG_STATIC_SHM related changes. > > =C2=A0=C2=A0 - struct bootinfo was updated ( CONFIG_STATIC_SHM changes = ) > > =C2=A0=C2=A0 - add shared_meminfo ( because of CONFIG_STATIC_SHM ) > > =C2=A0=C2=A0 - struct struct membanks was update with __struct group so > > is > > =C2=A0=C2=A0=C2=A0=C2=A0 neeeded to be included in bootfdt.h > > =C2=A0=C2=A0 - move BOOTINFO_ACPI_INIT, BOOTINFO_SHMEM_INIT, BOOTINFO_I= NIT to > > generic bootfdt.h > > =C2=A0=C2=A0 - bootinfo_get_reserved_mem(), bootinfo_get_mem(), > > bootinfo_get_acpi(), > > =C2=A0=C2=A0=C2=A0=C2=A0 bootinfo_get_shmem() and bootinfo_get_shmem_ex= tra() were moved > > to xen/bootfdt.h > > =C2=A0- s/arm32/CONFIG_SEPARATE_XENHEAP/ > > =C2=A0- add inclusion of because there are function in > > which > > =C2=A0=C2=A0 are using container_of(). >=20 > Just to mention it: This is confusing. The series is tagged "v1". I > understand > you took Shawn's work, which had already undergone revisions. But > then imo you > want to at least clarify how your v1 relates to his v4 or v5, i.e. > then making > clear to the reader whether all of the changes above were actually > done by you > on top of an earlier v4, or whether you took the earlier v5 verbatim. That is why I wrote "Changes in v5" to show that these changes were done on top of v4 version of Shawn's series, so what is mentioned in v5 here it is what was done by me. I'll reword that and probably I shouldn't drop "Changes in v4,3,2,1" from Shawn's patch. ~ Oleksii