|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v7 7/9] xen/arm: create shared memory nodes in guest device tree
Hi, Replying to Penny and Stefano answer in the same e-mail. On 08/09/2022 04:21, Penny Zheng wrote: -----Original Message----- From: Stefano Stabellini <sstabellini@xxxxxxxxxx> Sent: Thursday, September 8, 2022 8:16 AM To: Julien Grall <julien@xxxxxxx> Cc: Penny Zheng <Penny.Zheng@xxxxxxx>; xen-devel@xxxxxxxxxxxxxxxxxxxx; Wei Chen <Wei.Chen@xxxxxxx>; Stefano Stabellini <sstabellini@xxxxxxxxxx>; Bertrand Marquis <Bertrand.Marquis@xxxxxxx>; Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx> Subject: Re: [PATCH v7 7/9] xen/arm: create shared memory nodes in guest device tree On Wed, 7 Sep 2022, Julien Grall wrote:On 06/09/2022 09:59, Penny Zheng wrote:We expose the shared memory to the domU using the "xen,shared-memory-v1"reserved-memory binding. See Documentation/devicetree/bindings/reserved-memory/xen,shared-memory. Thanks for the pointer :). Now, I remember what this was meant for. IMHO, "xen,offset" more fits in the xen dts? We configure it in borrower memory node, then later we shall only set up foreign memory map starting at the offset? Yes and Yes. Correct. The use-case is a bit of a corner case but it looks valid. If I had to do it now, I would at least mark "xen,offset" as "optional". I think we have two options here and I am happy with either one: 1) we add xen,offset = <0x0>;I will let v8 stay with this configuration, and a TODO for actual implementation. Agree. It sounds the best approach for now. Cheers, -- Julien Grall
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |