From: Julien Grall <julien@xen.org>
To: Carlo Nonato <carlo.nonato@minervasys.tech>,
xen-devel@lists.xenproject.org
Cc: andrew.cooper3@citrix.com, george.dunlap@citrix.com,
jbeulich@suse.com, stefano.stabellini@amd.com, wl@xen.org,
marco.solieri@unimore.it, andrea.bastoni@minervasys.tech,
lucmiccio@gmail.com
Subject: Re: [PATCH 00/12] Arm cache coloring
Date: Sat, 10 Sep 2022 16:12:14 +0100 [thread overview]
Message-ID: <ec492136-53c2-8cdb-ad01-b3b232d3bc85@xen.org> (raw)
In-Reply-To: <20220826125111.152261-1-carlo.nonato@minervasys.tech>
Hi Carlo,
On 26/08/2022 13:50, Carlo Nonato wrote:
> Shared caches in multi-core CPU architectures represent a problem for
> predictability of memory access latency. This jeopardizes applicability
> of many Arm platform in real-time critical and mixed-criticality
> scenarios. We introduce support for cache partitioning with page
> coloring, a transparent software technique that enables isolation
> between domains and Xen, and thus avoids cache interference.
>
> When creating a domain, a simple syntax (e.g. `0-3` or `4-11`) allows
> the user to define assignments of cache partitions ids, called colors,
> where assigning different colors guarantees no mutual eviction on cache
> will ever happen. This instructs the Xen memory allocator to provide
> the i-th color assignee only with pages that maps to color i, i.e. that
> are indexed in the i-th cache partition.
>
> The proposed implementation supports the dom0less feature.
> The solution has been tested in several scenarios, including Xilinx Zynq
> MPSoCs.
>
> Overview of implementation and commits structure
> ------------------------------------------------
>
> - [1-3] Coloring initialization, cache layout auto-probing and coloring
> data for domains are added.
> - [4-5] xl and Device Tree support for coloring is addedd.
> - [6-7] A new page allocator for domain memory that implement the cache
> coloring mechanism is introduced.
> - [8-12] Coloring support is added for Xen .text region.
>
> Changes in v2
> -------------
>
> Lot of things changed between the two versions, mainly I tried to follow
> all the comments left by the maintainers after the previous version review.
> Here is a brief list of the major points (even if, imho, it's easier to
> repeat all the review process):
The series doesn't build on Arm64 without cache coloring. Please make
sure to compile and check that Xen still boot on system after your
series with cache coloring disabled.
Cheers,
--
Julien Grall
next prev parent reply other threads:[~2022-09-10 15:12 UTC|newest]
Thread overview: 60+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-26 12:50 [PATCH 00/12] Arm cache coloring Carlo Nonato
2022-08-26 12:51 ` [PATCH 01/12] xen/arm: add cache coloring initialization Carlo Nonato
2022-09-26 6:20 ` Wei Chen
2022-09-26 7:42 ` Jan Beulich
2022-09-27 14:31 ` Carlo Nonato
2022-10-21 17:14 ` Julien Grall
2022-08-26 12:51 ` [PATCH 02/12] xen/arm: add cache coloring initialization for domains Carlo Nonato
2022-09-26 6:39 ` Wei Chen
2022-09-27 14:31 ` Carlo Nonato
2022-10-21 17:25 ` Julien Grall
2022-10-21 18:02 ` Julien Grall
2022-10-25 10:53 ` Carlo Nonato
2022-10-25 11:15 ` Julien Grall
2022-10-25 11:51 ` Andrea Bastoni
2022-11-07 13:44 ` Carlo Nonato
2022-11-07 18:24 ` Julien Grall
2023-01-26 12:05 ` Jan Beulich
2023-01-26 12:07 ` Jan Beulich
2022-10-21 18:04 ` Julien Grall
2022-08-26 12:51 ` [PATCH 03/12] xen/arm: dump cache colors in domain info debug-key Carlo Nonato
2022-08-26 12:51 ` [PATCH 04/12] tools/xl: add support for cache coloring configuration Carlo Nonato
2022-10-21 18:09 ` Julien Grall
2022-08-26 12:51 ` [PATCH 05/12] xen/arm: add support for cache coloring configuration via device-tree Carlo Nonato
2022-08-26 12:51 ` [PATCH 06/12] xen/common: add cache coloring allocator for domains Carlo Nonato
2022-09-15 13:13 ` Jan Beulich
2022-09-16 16:05 ` Carlo Nonato
2022-09-19 6:26 ` Jan Beulich
2022-09-19 22:42 ` Stefano Stabellini
2022-09-20 7:54 ` Jan Beulich
2022-10-13 9:47 ` Carlo Nonato
2022-10-13 10:44 ` Jan Beulich
2022-10-17 7:06 ` Michal Orzel
2022-10-17 8:44 ` Julien Grall
2022-10-17 9:16 ` Michal Orzel
2022-08-26 12:51 ` [PATCH 07/12] xen/common: add colored heap info debug-key Carlo Nonato
2022-08-26 14:13 ` Jan Beulich
2022-08-26 16:04 ` Carlo Nonato
2022-08-26 12:51 ` [PATCH 08/12] Revert "xen/arm: setup: Add Xen as boot module before printing all boot modules" Carlo Nonato
2022-09-10 14:01 ` Julien Grall
2022-09-12 13:54 ` Carlo Nonato
2022-10-21 16:52 ` Julien Grall
2022-08-26 12:51 ` [PATCH 09/12] Revert "xen/arm: mm: Initialize page-tables earlier" Carlo Nonato
2022-09-10 14:28 ` Julien Grall
2022-09-12 13:59 ` Carlo Nonato
2022-08-26 12:51 ` [PATCH 10/12] Revert "xen/arm: Remove unused BOOT_RELOC_VIRT_START" Carlo Nonato
2022-08-26 12:51 ` [PATCH 11/12] xen/arm: add Xen cache colors command line parameter Carlo Nonato
2022-08-26 12:51 ` [PATCH 12/12] xen/arm: add cache coloring support for Xen Carlo Nonato
2022-09-10 15:22 ` Julien Grall
2022-09-10 15:23 ` Julien Grall
2022-09-15 13:25 ` Jan Beulich
2022-09-16 16:07 ` Carlo Nonato
2022-09-19 8:38 ` Jan Beulich
2022-09-27 14:31 ` Carlo Nonato
2022-09-27 15:28 ` Jan Beulich
2022-09-10 15:12 ` Julien Grall [this message]
2022-09-12 13:24 ` [PATCH 00/12] Arm cache coloring Carlo Nonato
2022-09-15 13:29 ` Jan Beulich
2022-09-15 14:52 ` Marco Solieri
2022-09-15 18:15 ` Stefano Stabellini
2022-10-22 15:13 ` Julien Grall
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ec492136-53c2-8cdb-ad01-b3b232d3bc85@xen.org \
--to=julien@xen.org \
--cc=andrea.bastoni@minervasys.tech \
--cc=andrew.cooper3@citrix.com \
--cc=carlo.nonato@minervasys.tech \
--cc=george.dunlap@citrix.com \
--cc=jbeulich@suse.com \
--cc=lucmiccio@gmail.com \
--cc=marco.solieri@unimore.it \
--cc=stefano.stabellini@amd.com \
--cc=wl@xen.org \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).