[PATCH 02/12] xen/arm: add cache coloring initialization for domains

2022-08-26 Thread Carlo Nonato
This commit adds array pointers to domains as well as to the hypercall and configuration structure employed in domain creation. The latter is used both by the toolstack and by Xen itself to pass configuration data to the domain creation function, so the XEN_GUEST_HANDLE macro must be adopted to be

Re: [PATCH 02/12] xen/arm: add cache coloring initialization for domains

2022-09-25 Thread Wei Chen
On 2022/8/26 20:51, Carlo Nonato wrote: This commit adds array pointers to domains as well as to the hypercall and configuration structure employed in domain creation. The latter is used both by the toolstack and by Xen itself to pass configuration data to the domain creation function, so the

Re: [PATCH 02/12] xen/arm: add cache coloring initialization for domains

2022-09-27 Thread Carlo Nonato
Hi Wei, On Mon, Sep 26, 2022 at 8:39 AM Wei Chen wrote: > On 2022/8/26 20:51, Carlo Nonato wrote: > > +int domain_coloring_init(struct domain *d, > > + const struct xen_arch_domainconfig *config) > > +{ > > +if ( is_domain_direct_mapped(d) ) > > +{ > > +pri

Re: [PATCH 02/12] xen/arm: add cache coloring initialization for domains

2022-10-21 Thread Julien Grall
On 26/09/2022 07:39, Wei Chen wrote: On 2022/8/26 20:51, Carlo Nonato wrote: This commit adds array pointers to domains as well as to the hypercall and configuration structure employed in domain creation. The latter is used both by the toolstack and by Xen itself to pass configuration dat

Re: [PATCH 02/12] xen/arm: add cache coloring initialization for domains

2022-10-21 Thread Julien Grall
Hi Carlo, On 26/08/2022 13:51, Carlo Nonato wrote: This commit adds array pointers to domains as well as to the hypercall and configuration structure employed in domain creation. The latter is used both by the toolstack and by Xen itself to pass configuration data to the domain creation function

Re: [PATCH 02/12] xen/arm: add cache coloring initialization for domains

2022-10-21 Thread Julien Grall
Hi, On 26/08/2022 13:51, Carlo Nonato wrote: #endif /* !__ASM_ARM_COLORING_H__ */ diff --git a/xen/arch/arm/include/asm/domain.h b/xen/arch/arm/include/asm/domain.h index 26a8348eed..291f7c375d 100644 --- a/xen/arch/arm/include/asm/domain.h +++ b/xen/arch/arm/include/asm/domain.h @@ -58,6 +58

Re: [PATCH 02/12] xen/arm: add cache coloring initialization for domains

2023-01-26 Thread Jan Beulich
On 21.10.2022 20:02, Julien Grall wrote: > On 26/08/2022 13:51, Carlo Nonato wrote: >> This commit adds array pointers to domains as well as to the hypercall >> and configuration structure employed in domain creation. The latter is used >> both by the toolstack and by Xen itself to pass configurati

Re: [PATCH 02/12] xen/arm: add cache coloring initialization for domains

2023-01-26 Thread Jan Beulich
On 21.10.2022 20:02, Julien Grall wrote: > On 26/08/2022 13:51, Carlo Nonato wrote: >> @@ -335,6 +337,12 @@ struct xen_arch_domainconfig { >>* >>*/ >> uint32_t clock_frequency; >> +/* IN */ >> +uint8_t from_guest; > > There is an implicit padding here and ... >> +

Re: [PATCH 02/12] xen/arm: add cache coloring initialization for domains

2022-10-25 Thread Carlo Nonato
Hi Julien, On Fri, Oct 21, 2022 at 8:02 PM Julien Grall wrote: > > Hi Carlo, > > On 26/08/2022 13:51, Carlo Nonato wrote: > > This commit adds array pointers to domains as well as to the hypercall > > and configuration structure employed in domain creation. The latter is used > > both by the tool

Re: [PATCH 02/12] xen/arm: add cache coloring initialization for domains

2022-10-25 Thread Julien Grall
On 25/10/2022 11:53, Carlo Nonato wrote: Hi Julien, On Fri, Oct 21, 2022 at 8:02 PM Julien Grall wrote: Hi Carlo, On 26/08/2022 13:51, Carlo Nonato wrote: This commit adds array pointers to domains as well as to the hypercall and configuration structure employed in domain creation. The l

Re: [PATCH 02/12] xen/arm: add cache coloring initialization for domains

2022-10-25 Thread Andrea Bastoni
Hi Julien, On 25/10/2022 13:15, Julien Grall wrote: On 25/10/2022 11:53, Carlo Nonato wrote: Hi Julien, On Fri, Oct 21, 2022 at 8:02 PM Julien Grall wrote: Hi Carlo, On 26/08/2022 13:51, Carlo Nonato wrote: This commit adds array pointers to domains as well as to the hypercall and confi

Re: [PATCH 02/12] xen/arm: add cache coloring initialization for domains

2022-11-07 Thread Carlo Nonato
Hi Julien, On Tue, Oct 25, 2022 at 1:15 PM Julien Grall wrote: > On 25/10/2022 11:53, Carlo Nonato wrote: > > Hi Julien, > > > > On Fri, Oct 21, 2022 at 8:02 PM Julien Grall wrote: > >> > >> Hi Carlo, > >> > >> On 26/08/2022 13:51, Carlo Nonato wrote: > >>> This commit adds array pointers to dom

Re: [PATCH 02/12] xen/arm: add cache coloring initialization for domains

2022-11-07 Thread Julien Grall
On 07/11/2022 13:44, Carlo Nonato wrote: Hi Julien, Hi Carlo, On Tue, Oct 25, 2022 at 1:15 PM Julien Grall wrote: On 25/10/2022 11:53, Carlo Nonato wrote: Hi Julien, On Fri, Oct 21, 2022 at 8:02 PM Julien Grall wrote: Hi Carlo, On 26/08/2022 13:51, Carlo Nonato wrote: This commit