Re: [PATCH v1 02/13] xen/arm: introduce a special domain DOMID_SHARED

2022-04-19 Thread Jan Beulich
On 15.04.2022 11:52, Penny Zheng wrote: >> From: Jan Beulich >> Sent: Friday, March 18, 2022 4:53 PM >> >> On 11.03.2022 07:11, Penny Zheng wrote: >>> --- a/xen/arch/arm/setup.c >>> +++ b/xen/arch/arm/setup.c >>> @@ -855,6 +855,20 @@ static bool __init is_dom0less_mode(void) >>> return (

Re: [PATCH v1 02/13] xen/arm: introduce a special domain DOMID_SHARED

2022-04-15 Thread Julien Grall
Hi, On Fri, 15 Apr 2022 at 22:19, Stefano Stabellini wrote: > On Fri, 15 Apr 2022, Penny Zheng wrote: > > > Hi Stefano, > > > > > > On 21/03/2022 20:03, Stefano Stabellini wrote: > > > > On Mon, 21 Mar 2022, Jan Beulich wrote: > > > >> On 18.03.2022 22:50, Stefano Stabellini wrote: > > > >>> On

Re: [PATCH v1 02/13] xen/arm: introduce a special domain DOMID_SHARED

2022-04-15 Thread Julien Grall
Hi Penny, Sorry for the formatting. On Fri, 15 Apr 2022 at 09:53, Penny Zheng wrote: > Hi jan > > > - > > > +#ifdef CONFIG_STATIC_SHM > > > +static void __init setup_shared_domain(void) { > > > +/* > > > + * Initialise our DOMID_SHARED domain. > > > + * This domain owns

RE: [PATCH v1 02/13] xen/arm: introduce a special domain DOMID_SHARED

2022-04-15 Thread Stefano Stabellini
On Fri, 15 Apr 2022, Penny Zheng wrote: > > Hi Stefano, > > > > On 21/03/2022 20:03, Stefano Stabellini wrote: > > > On Mon, 21 Mar 2022, Jan Beulich wrote: > > >> On 18.03.2022 22:50, Stefano Stabellini wrote: > > >>> On Fri, 18 Mar 2022, Jan Beulich wrote: > > On 11.03.2022 07:11, Penny

RE: [PATCH v1 02/13] xen/arm: introduce a special domain DOMID_SHARED

2022-04-15 Thread Penny Zheng
Dunlap ; > Wei Liu ; xen-devel@lists.xenproject.org > Subject: Re: [PATCH v1 02/13] xen/arm: introduce a special domain > DOMID_SHARED > > On 11.03.2022 07:11, Penny Zheng wrote: > > In case to own statically shared pages when owner domain is not > > explicitly defined, this commits

RE: [PATCH v1 02/13] xen/arm: introduce a special domain DOMID_SHARED

2022-04-15 Thread Penny Zheng
Dunlap ; > Wei Liu ; xen-devel@lists.xenproject.org > Subject: Re: [PATCH v1 02/13] xen/arm: introduce a special domain > DOMID_SHARED > > Hi Stefano, > > On 21/03/2022 20:03, Stefano Stabellini wrote: > > On Mon, 21 Mar 2022, Jan Beulich wrote: > >> On 18.03.20

Re: [PATCH v1 02/13] xen/arm: introduce a special domain DOMID_SHARED

2022-04-09 Thread Julien Grall
Hi Stefano, On 21/03/2022 20:03, Stefano Stabellini wrote: On Mon, 21 Mar 2022, Jan Beulich wrote: On 18.03.2022 22:50, Stefano Stabellini wrote: On Fri, 18 Mar 2022, Jan Beulich wrote: On 11.03.2022 07:11, Penny Zheng wrote: In case to own statically shared pages when owner domain is not

Re: [PATCH v1 02/13] xen/arm: introduce a special domain DOMID_SHARED

2022-03-21 Thread Stefano Stabellini
On Mon, 21 Mar 2022, Jan Beulich wrote: > On 18.03.2022 22:50, Stefano Stabellini wrote: > > On Fri, 18 Mar 2022, Jan Beulich wrote: > >> On 11.03.2022 07:11, Penny Zheng wrote: > >>> In case to own statically shared pages when owner domain is not > >>> explicitly defined, this commits propose a

Re: [PATCH v1 02/13] xen/arm: introduce a special domain DOMID_SHARED

2022-03-21 Thread Jan Beulich
On 18.03.2022 22:50, Stefano Stabellini wrote: > On Fri, 18 Mar 2022, Jan Beulich wrote: >> On 11.03.2022 07:11, Penny Zheng wrote: >>> In case to own statically shared pages when owner domain is not >>> explicitly defined, this commits propose a special domain DOMID_SHARED, >>> and we assign it

Re: [PATCH v1 02/13] xen/arm: introduce a special domain DOMID_SHARED

2022-03-18 Thread Stefano Stabellini
On Fri, 18 Mar 2022, Jan Beulich wrote: > Further (there's no particularly good place to mention this) I'm > afraid I don't view "shared" as a good name: It's not the domain > which is shared, but it's the domain to hold shared memory. To be honest I thought the same thing when reading this patch

RE: [PATCH v1 02/13] xen/arm: introduce a special domain DOMID_SHARED

2022-03-18 Thread Stefano Stabellini
On Fri, 18 Mar 2022, Penny Zheng wrote: > > On Fri, 11 Mar 2022, Penny Zheng wrote: > > > From: Penny Zheng > > > > > > In case to own statically shared pages when owner domain is not > > > explicitly defined, this commits propose a special domain > > > DOMID_SHARED, and we assign it 0x7FF5, as

Re: [PATCH v1 02/13] xen/arm: introduce a special domain DOMID_SHARED

2022-03-18 Thread Stefano Stabellini
On Fri, 18 Mar 2022, Jan Beulich wrote: > On 11.03.2022 07:11, Penny Zheng wrote: > > In case to own statically shared pages when owner domain is not > > explicitly defined, this commits propose a special domain DOMID_SHARED, > > and we assign it 0x7FF5, as one of the system domains. > > > >

Re: [PATCH v1 02/13] xen/arm: introduce a special domain DOMID_SHARED

2022-03-18 Thread Jan Beulich
On 11.03.2022 07:11, Penny Zheng wrote: > In case to own statically shared pages when owner domain is not > explicitly defined, this commits propose a special domain DOMID_SHARED, > and we assign it 0x7FF5, as one of the system domains. > > Statically shared memory reuses the same way of

RE: [PATCH v1 02/13] xen/arm: introduce a special domain DOMID_SHARED

2022-03-18 Thread Penny Zheng
ew Cooper > ; George Dunlap ; > Jan Beulich ; Wei Liu > Subject: Re: [PATCH v1 02/13] xen/arm: introduce a special domain > DOMID_SHARED > > On Fri, 11 Mar 2022, Penny Zheng wrote: > > From: Penny Zheng > > > > In case to own statically shared pages when o

Re: [PATCH v1 02/13] xen/arm: introduce a special domain DOMID_SHARED

2022-03-17 Thread Stefano Stabellini
On Fri, 11 Mar 2022, Penny Zheng wrote: > From: Penny Zheng > > In case to own statically shared pages when owner domain is not > explicitly defined, this commits propose a special domain DOMID_SHARED, > and we assign it 0x7FF5, as one of the system domains. > > Statically shared memory reuses

[PATCH v1 02/13] xen/arm: introduce a special domain DOMID_SHARED

2022-03-10 Thread Penny Zheng
From: Penny Zheng In case to own statically shared pages when owner domain is not explicitly defined, this commits propose a special domain DOMID_SHARED, and we assign it 0x7FF5, as one of the system domains. Statically shared memory reuses the same way of initialization with static memory,