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

RE: [PATCH 1/2] docs, xen/arm: Introduce reserved heap memory


  • To: Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • From: Henry Wang <Henry.Wang@xxxxxxx>
  • Date: Tue, 30 Aug 2022 01:02:14 +0000
  • Accept-language: zh-CN, en-US
  • Arc-authentication-results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com])
  • 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=2; 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=I6CKKyPn5Sb1MhmyJZO1J07I1ByK2ERPwPorgsNG1yw=; b=c5LUzdmwmhpTtBDatoayxLc/R91YXAYi6o/rNfnES9Q8o2hfy5/4pSwtX/MtADo/vp7BLOrnTc62I+Mm8NoZyTvzLgwZLFJNNlenOLkY9NXL7m25t0DdFNCLHrs1kR1Oar0TXD9qLJpgsve4eV8UYzv7bgqOs/E6UR6JNMsximvbnYEByU+CKLn8IfH4/5Uv36ro1lFHnOhyUXuXLIAA4Hz9aV6EWu6kPMLVV18D+2qOA/gkqhQasmzFyvYcUTsGPD0AqfrIw5NyTCzHMhyOJ3UywSCWbKJKN7Ff8m1njkZIXcy5LZETF/Tz62vPzhRnOQ+0ajHEHTBG+7sNnpAqNw==
  • 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=I6CKKyPn5Sb1MhmyJZO1J07I1ByK2ERPwPorgsNG1yw=; b=igA4Vp8xeHcLXtRet1lSJZeEQFVmzTpgQ/X7SwJHVPhyR7jW5uuaxFcEjwHaky6Cphe89no+XJRyGkOjvrk6I6ifvvtY+EZNmj5Z1ep5YtJ8r4lW6+BmpAzdsPuOqAEIl6Gt0HTPPio2lUobPi2Vdf9trmcu9RetUzoR9bGjqcfXCln1p31aNtKWygQTz4jBoXR6cblXTP6/fGkT6MBnwemrTLoDsj+g6BKy4nT06Q3qUdxWJuVCijWsACKso/P7VL/S3/nCH3cC3FOpoyEgt/tarWk07aUOhJ1h5qTp2xkYwBR7tLgpbvDen7hEluqV5B5i+hDyda1KamUZZfVNnA==
  • Arc-seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=XS2/9AvtbuF2xbqlu/fRMaT/MbMnIwxAc+7DOnB2fw6FNeJX1P3olYE/9SsIzdPwWoS1jTawkoHkRxWWZcKa81oGSYwltIzXGlbu88JqLN9+F4UaGuyhjLhp1/U2G2uU4Sopfl52uOfQzAdhL3mnXsj77xbhzbJo9VAh6wXAZxOwmHVUm2ZboAvznVyRWFlnWSv9dCF83pPd3XYxrcsrBTyCHuuhQF626giz30LhW3bBGLR51ll4b0Mh05V+XSLPyebdY2z1XDt3BvWd2PS752NjCB5Txyc7mAXwmno69Bm1KM6aY8DTZGD+Zri45DbjZsbO+5v5rpJkvKOsL8Rziw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LsfqMigOH4W1ji1OkhWPlpA+ln9EfuaMJKjFNBnJQpXQnjlWY1yO9EX9HGrmClvaH9UQn7jvDxQXNUy5pTfSIG+faQU2NQ7cILaIzd28VyK5cmUkP55coh27gPNG6WEr2HTEYYG3Nqg2pJsxsakrFcFy/QjRcpHJXMaKiP2Ch6CjaAMl1ZIorpW9q8Wcm8DLZRcaf2kgnr+oum9lcWF6Yxosl7p2/CSAMGrCEG2/lYv529cnsURbU+/26dG3HNH5rh4ckoD4NAzLwfBcVI+u8n8qhwNPV12wmqgPtNzdJPMbwWYjOJ+d0lvbsMDALEJmmYefPBN5pEzGF2TEp4L30A==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <Bertrand.Marquis@xxxxxxx>, Wei Chen <Wei.Chen@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Penny Zheng <Penny.Zheng@xxxxxxx>
  • Delivery-date: Tue, 30 Aug 2022 01:02:40 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Thread-index: AQHYt4ueuuTQX+2f5E69518db+C55q3GpJwAgAAEF1A=
  • Thread-topic: [PATCH 1/2] docs, xen/arm: Introduce reserved heap memory

Hi Stefano,

> -----Original Message-----
> From: Stefano Stabellini <sstabellini@xxxxxxxxxx>
> Subject: Re: [PATCH 1/2] docs, xen/arm: Introduce reserved heap memory
> 
> On Wed, 24 Aug 2022, Henry Wang wrote:
> > ---
> > The name of the device tree property was chosen because we want to
> > reuse as much as the device tree parsing helpers from the static
> > memory allocation feature, but we would like to hear the upstream
> > reviewers' opinion about if using "xen,static-heap" is better.
> > ---
> > +The dtb property should look like as follows:
> > +
> > +- property name
> > +
> > +    "xen,static-mem" (Should be used in the `chosen` node)
> > +
> > +- cells
> > +
> > +    Specify the start address and the length of the reserved heap memory.
> > +    The number of cells for the address and the size should be defined
> > +    using the properties `#xen,static-mem-address-cells` and
> > +    `#xen,static-mem-size-cells` respectively.
> 
> I would choose a different name for the property not to be confused with
> a domain's xen,static-mem property which is for a different purpose: the
> memory of the domain.

Sure, thank you for the input. I will correct these in v2.

> 
> ---
> 
> - xen,static-heap
> 
>     Property under the top-level "chosen" node. It specifies the address
>     and size of Xen reserved heap memory.
> 
> 
> - #xen,static-heap-address-cells and #xen,static-heap-size-cells
> 
>     Specify the number of cells used for the address and size of the
>     xen,static-heap property under "chosen".

Thanks for these!

Kind regards,
Henry



 


Rackspace

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