RE: [PATCH v1 06/13] xen/arm: set up shared memory foreign mapping for borrower domain

2022-04-20 Thread Penny Zheng
Hi > -Original Message- > From: Julien Grall > Sent: Saturday, April 9, 2022 5:31 PM > To: Penny Zheng ; xen-devel@lists.xenproject.org > Cc: nd ; Stefano Stabellini ; Bertrand > Marquis ; Volodymyr Babchuk > > Subject: Re: [PATCH v1 06/13] xen/arm: set

RE: [PATCH v1 06/13] xen/arm: set up shared memory foreign mapping for borrower domain

2022-04-20 Thread Penny Zheng
Hi julien > -Original Message- > From: Julien Grall > Sent: Saturday, April 9, 2022 6:59 AM > To: Penny Zheng ; xen-devel@lists.xenproject.org > Cc: nd ; Stefano Stabellini ; Bertrand > Marquis ; Volodymyr Babchuk > > Subject: Re: [PATCH v1 06/13] xen/arm: set

Re: [PATCH v1 06/13] xen/arm: set up shared memory foreign mapping for borrower domain

2022-04-09 Thread Julien Grall
Hi, On 08/04/2022 23:59, Julien Grall wrote: On 11/03/2022 06:11, Penny Zheng wrote: From: Penny Zheng This commits introduces a new helper guest_physmap_add_shm to set up shared memory foreign mapping for borrower domain. Firstly it should get and take reference of statically shared

Re: [PATCH v1 06/13] xen/arm: set up shared memory foreign mapping for borrower domain

2022-04-08 Thread Stefano Stabellini
On Fri, 8 Apr 2022, Julien Grall wrote: > On 08/04/2022 23:18, Stefano Stabellini wrote: > > On Tue, 29 Mar 2022, Penny Zheng wrote: > > > Right now, the memory attribute of static shared memory is RW as default, > > > What if we add memory attribute setting in device tree configuration, > > >

Re: [PATCH v1 06/13] xen/arm: set up shared memory foreign mapping for borrower domain

2022-04-08 Thread Julien Grall
Hi Penny, On 11/03/2022 06:11, Penny Zheng wrote: From: Penny Zheng This commits introduces a new helper guest_physmap_add_shm to set up shared memory foreign mapping for borrower domain. Firstly it should get and take reference of statically shared pages from owner dom_shared. Then it will

Re: [PATCH v1 06/13] xen/arm: set up shared memory foreign mapping for borrower domain

2022-04-08 Thread Julien Grall
Hi Stefano, On 08/04/2022 23:18, Stefano Stabellini wrote: On Tue, 29 Mar 2022, Penny Zheng wrote: Right now, the memory attribute of static shared memory is RW as default, What if we add memory attribute setting in device tree configuration, sometimes, Users want to specify that borrower

RE: [PATCH v1 06/13] xen/arm: set up shared memory foreign mapping for borrower domain

2022-04-08 Thread Stefano Stabellini
gt; Cc: xen-devel@lists.xenproject.org; nd ; Stefano Stabellini > > ; Julien Grall ; Bertrand Marquis > > ; Volodymyr Babchuk > > > > Subject: Re: [PATCH v1 06/13] xen/arm: set up shared memory foreign > > mapping for borrower domain > > > > On Fri, 11 Mar 2

RE: [PATCH v1 06/13] xen/arm: set up shared memory foreign mapping for borrower domain

2022-03-28 Thread Penny Zheng
; Bertrand Marquis > ; Volodymyr Babchuk > > Subject: Re: [PATCH v1 06/13] xen/arm: set up shared memory foreign > mapping for borrower domain > > On Fri, 11 Mar 2022, Penny Zheng wrote: > > From: Penny Zheng > > > > This commits introduces a new helper guest_physm

Re: [PATCH v1 06/13] xen/arm: set up shared memory foreign mapping for borrower domain

2022-03-17 Thread Stefano Stabellini
On Fri, 11 Mar 2022, Penny Zheng wrote: > From: Penny Zheng > > This commits introduces a new helper guest_physmap_add_shm to set up shared > memory foreign mapping for borrower domain. > > Firstly it should get and take reference of statically shared pages from > owner dom_shared. Then it will

[PATCH v1 06/13] xen/arm: set up shared memory foreign mapping for borrower domain

2022-03-10 Thread Penny Zheng
From: Penny Zheng This commits introduces a new helper guest_physmap_add_shm to set up shared memory foreign mapping for borrower domain. Firstly it should get and take reference of statically shared pages from owner dom_shared. Then it will setup P2M foreign memory map of these statically