Re: [PATCH v8 01/13] xen/common: add cache coloring common code

2024-05-06 Thread Carlo Nonato
Hi Jan, On Mon, May 6, 2024 at 1:54 PM Jan Beulich wrote: > > On 02.05.2024 18:55, Carlo Nonato wrote: > > --- a/xen/common/Kconfig > > +++ b/xen/common/Kconfig > > @@ -71,6 +71,9 @@ config HAS_IOPORTS > > config HAS_KEXEC > > bool > > > > +config HAS_LLC_COLORING > > + bool > > + > >

Re: [PATCH v8 01/13] xen/common: add cache coloring common code

2024-05-06 Thread Jan Beulich
On 02.05.2024 18:55, Carlo Nonato wrote: > --- a/xen/common/Kconfig > +++ b/xen/common/Kconfig > @@ -71,6 +71,9 @@ config HAS_IOPORTS > config HAS_KEXEC > bool > > +config HAS_LLC_COLORING > + bool > + > config HAS_PIRQ > bool > > @@ -513,4 +516,23 @@ config TRACEBUFFER >

[PATCH v8 01/13] xen/common: add cache coloring common code

2024-05-02 Thread Carlo Nonato
Last Level Cache (LLC) coloring allows to partition the cache in smaller chunks called cache colors. Since not all architectures can actually implement it, add a HAS_LLC_COLORING Kconfig option. MAX_LLC_COLORS_ORDER Kconfig option has a range maximum of 10 (2^10 = 1024) because that's the number o