Re: [PATCH v5 03/13] xen/arm: add Dom0 cache coloring support

2024-01-08 Thread Carlo Nonato
On Mon, Jan 8, 2024 at 12:44 PM Julien Grall wrote: > > > > On 08/01/2024 11:04, Carlo Nonato wrote: > > Hi Julien, > > > > On Mon, Jan 8, 2024 at 11:25 AM Julien Grall wrote: > >> > >> Hi Carlo, > >> > >> On 08/01/2024 10:06, Carlo Nonato wrote: > One of the reason is at least in the dom0le

Re: [PATCH v5 03/13] xen/arm: add Dom0 cache coloring support

2024-01-08 Thread Julien Grall
On 08/01/2024 11:04, Carlo Nonato wrote: Hi Julien, On Mon, Jan 8, 2024 at 11:25 AM Julien Grall wrote: Hi Carlo, On 08/01/2024 10:06, Carlo Nonato wrote: One of the reason is at least in the dom0less case, you will override the value afterwards. In that case I need to allocate the arr

Re: [PATCH v5 03/13] xen/arm: add Dom0 cache coloring support

2024-01-08 Thread Carlo Nonato
Hi Julien, On Mon, Jan 8, 2024 at 11:25 AM Julien Grall wrote: > > Hi Carlo, > > On 08/01/2024 10:06, Carlo Nonato wrote: > >> One of the reason is at least in the dom0less case, you will override > >> the value afterwards. > > > > In that case I need to allocate the array before parsing the stri

Re: [PATCH v5 03/13] xen/arm: add Dom0 cache coloring support

2024-01-08 Thread Julien Grall
Hi Carlo, On 08/01/2024 10:06, Carlo Nonato wrote: One of the reason is at least in the dom0less case, you will override the value afterwards. In that case I need to allocate the array before parsing the string. I allocate a full array then the string is parsed and the actual size is found at

Re: [PATCH v5 03/13] xen/arm: add Dom0 cache coloring support

2024-01-08 Thread Carlo Nonato
Hi Julien, On Fri, Jan 5, 2024 at 6:50 PM Julien Grall wrote: > > > > On 05/01/2024 16:52, Carlo Nonato wrote: > > Hi Julien, > > > > On Thu, Jan 4, 2024 at 8:54 PM Julien Grall wrote: > >> > >> Hi Carlo, > >> > >> On 02/01/2024 09:51, Carlo Nonato wrote: > >>> This commit allows the user to set

Re: [PATCH v5 03/13] xen/arm: add Dom0 cache coloring support

2024-01-05 Thread Julien Grall
On 05/01/2024 16:52, Carlo Nonato wrote: Hi Julien, On Thu, Jan 4, 2024 at 8:54 PM Julien Grall wrote: Hi Carlo, On 02/01/2024 09:51, Carlo Nonato wrote: This commit allows the user to set the cache coloring configuration for Dom0 via a command line parameter. Since cache coloring and st

Re: [PATCH v5 03/13] xen/arm: add Dom0 cache coloring support

2024-01-05 Thread Carlo Nonato
Hi Julien, On Thu, Jan 4, 2024 at 8:54 PM Julien Grall wrote: > > Hi Carlo, > > On 02/01/2024 09:51, Carlo Nonato wrote: > > This commit allows the user to set the cache coloring configuration for > > Dom0 via a command line parameter. > > Since cache coloring and static memory are incompatible,

Re: [PATCH v5 03/13] xen/arm: add Dom0 cache coloring support

2024-01-04 Thread Julien Grall
Hi Carlo, On 02/01/2024 09:51, Carlo Nonato wrote: This commit allows the user to set the cache coloring configuration for Dom0 via a command line parameter. Since cache coloring and static memory are incompatible, direct mapping Dom0 isn't possible when coloring is enabled. A common configurat

[PATCH v5 03/13] xen/arm: add Dom0 cache coloring support

2024-01-02 Thread Carlo Nonato
This commit allows the user to set the cache coloring configuration for Dom0 via a command line parameter. Since cache coloring and static memory are incompatible, direct mapping Dom0 isn't possible when coloring is enabled. A common configuration syntax for cache colors is also introduced. Based