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

Re: [PATCH] arm/docs: Clarify legacy DT bindings on UEFI


  • To: Julien Grall <julien@xxxxxxx>
  • From: Luca Fancellu <luca.fancellu@xxxxxxx>
  • Date: Wed, 13 Oct 2021 15:50:22 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.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=xwcp5+e+B8k35c/ETyIx9NvW5bJ/wHOu5HUy3PMic94=; b=kwBcse/qsjN3aiXtXMp/nvOswKVZrXrg8G5toKic7OAlR8nY3k4hHxoMYAlFukfdI8h41+VLU+I2GRSf3DFRra6fsVQiFToHZsP54ufbcKUEs4G3VNPKeJjSM+tD/EejoFRIXwrJjcz6E9qDsTzAKOXe5/fnuX+rIFdJox7zQmP08AZU1LmdiMLJMpppyfYh8j1abRp9gRgfYqlWwQ0V8RbHRSXmMCUxqlFd41BFAa8kymePNakWTiDdBOH3ZWX0CjBTlCtI9QJlk8nKqWjPyr7Y1p5lVrbU7p3k734nLutK7EvWZg3xJPOeJBWwg6dXv5ZoVleGMM0iKVxu2HFkLg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fim+ZR+Q3Ci1YWurGQpKapEikkMdtbTPkVakNdb7/s3aZY53dJ8j5wVpx7rANvLQN3RkrHRUHgIahE41koz97+peaGVnoggw8XdvftYSjCS185ldT3Ahx/ZZ/7Xr1dqBSioieus05fRTD3h0e5xiq6wgCcTcxXJJLmT7X1jb7N5KNRPXrR/Pc0IubWtEL57wgWe8Tx0/bTzv/QFJ+9uvunnwNaJsav6LMmTGJhXOrKPdW7yt8h8YO64yPvsgMwwdV2UaWf0di/nXa5hJUtoZEKrzuIT6Mob90zGY58gvlGRP8FewkFBnRkblcoChx7nHwVwuorv1bVFGzunSiiWgjw==
  • Authentication-results-original: xen.org; dkim=none (message not signed) header.d=none;xen.org; dmarc=none action=none header.from=arm.com;
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx, Bertrand Marquis <bertrand.marquis@xxxxxxx>, wei.chen@xxxxxxx, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
  • Delivery-date: Wed, 13 Oct 2021 14:50:52 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: xen.org; dkim=none (message not signed) header.d=none;xen.org; dmarc=none action=none header.from=arm.com;


> On 13 Oct 2021, at 15:30, Julien Grall <julien@xxxxxxx> wrote:
> 
> Hi Luca,
> 
> On 13/10/2021 15:06, Luca Fancellu wrote:
>>> On 13 Oct 2021, at 14:27, Julien Grall <julien@xxxxxxx> wrote:
>>> 
>>> Hi Luca,
>>> 
>>> On 13/10/2021 13:19, Luca Fancellu wrote:
>>>> Legacy compatible strings for dom0 modules are not
>>>> supported when booting using UEFI, the documentation
>>>> doesn't mention that.
>>> 
>>> Can you add a summary in the commit message why we consider the legacy 
>>> binding is not supported?
>> Yes what about:
>> Since the introduction of UEFI boot for Xen, the legacy
>> compatible strings were not supported and the stub code
>> was checking only the presence of “multiboot,module” to
>> require the Xen UEFI configuration file or not.
>> The documentation was not updated to specify that behavior.
>> Add a phrase to docs/misc/arm/device-tree/booting.txt
>> to clarify it.
> 
> Sounds good to me. You can add my ack on it:
> 
> Acked-by: Julien Grall <jgrall@xxxxxxxxxx>
> 
> Would you be able to respin the patch with the two changes?

Yes I will, thank you.

Cheers,
Luca

> 
>>> 
>>>> Add a phrase to docs/misc/arm/device-tree/booting.txt
>>>> to clarify it.
>>>> Signed-off-by: Luca Fancellu <luca.fancellu@xxxxxxx>
>>>> ---
>>>>  docs/misc/arm/device-tree/booting.txt | 2 ++
>>>>  1 file changed, 2 insertions(+)
>>>> diff --git a/docs/misc/arm/device-tree/booting.txt 
>>>> b/docs/misc/arm/device-tree/booting.txt
>>>> index c6a775f4e8..017c0f13eb 100644
>>>> --- a/docs/misc/arm/device-tree/booting.txt
>>>> +++ b/docs/misc/arm/device-tree/booting.txt
>>>> @@ -51,6 +51,8 @@ Each node contains the following properties:
>>>>    Xen 4.4 supported a different set of legacy compatible strings
>>>>    which remain supported such that systems supporting both 4.4
>>>>    and later can use a single DTB.
>>>> +  However when booting Xen using UEFI and Device Tree, the legacy
>>> 
>>> NIT: I would drop "and Device Tree" because this feels a bit redundant as 
>>> this compatible can only be used in the Device-Tree.
>> I will drop it
>>> 
>>>> +  compatible strings are not supported.
>>>>            - "xen,multiboot-module" equivalent to "multiboot,module"
>>>>    - "xen,linux-zimage"     equivalent to "multiboot,kernel"
>>> 
>>> Cheers,
>>> 
>>> -- 
>>> Julien Grall
> 
> Cheers,
> 
> -- 
> Julien Grall




 


Rackspace

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