Re: [PATCH v4 02/11] xen/arm: add cache coloring initialization

2023-01-24 Thread Jan Beulich
On 23.01.2023 16:47, Carlo Nonato wrote: > +static unsigned int *alloc_colors(unsigned int num_colors) > +{ > +unsigned int *colors = xmalloc_array(unsigned int, num_colors); > + > +if ( !colors ) > +panic("Unable to allocate LLC colors\n"); Already for Dom0 creation I view this as

[PATCH v4 02/11] xen/arm: add cache coloring initialization

2023-01-23 Thread Carlo Nonato
This commit implements functions declared in the LLC coloring common header for arm64 and adds documentation. It also adds two command line options: a runtime switch for the cache coloring feature and the LLC way size parameter. The feature init function consists of an auto probing of the cache la