From: dmkhn@proton.me
To: Alejandro Vallejo <alejandro.garciavallejo@amd.com>
Cc: xen-devel@lists.xenproject.org,
Stefano Stabellini <sstabellini@kernel.org>,
Julien Grall <julien@xen.org>,
Bertrand Marquis <bertrand.marquis@arm.com>,
Michal Orzel <michal.orzel@amd.com>
Subject: Re: [PATCH] dom0less: Fix LLC coloring when mixing colored and non-colored domains
Date: Wed, 16 Jul 2025 18:58:42 +0000 [thread overview]
Message-ID: <aHf2Xdd1RYuHvJuZ@kraken> (raw)
In-Reply-To: <20250716153504.77542-1-alejandro.garciavallejo@amd.com>
On Wed, Jul 16, 2025 at 05:35:03PM +0200, Alejandro Vallejo wrote:
> llc_colors_str being outside the main loop makes domains without
> explicit coloring inherit the colors of the last colored domain parsed.
>
> Move it inside so that's no longer the case.
>
> Fixes: 5948dc16759c("xen/arm: add support for cache coloring...")
> Signed-off-by: Alejandro Vallejo <alejandro.garciavallejo@amd.com>
Reviewed-by: Denis Mukhin <dmukhin@ford.com>
> ---
> pipeline: https://gitlab.com/xen-project/people/agvallejo/xen/-/pipelines/1930276681
> ---
> xen/common/device-tree/dom0less-build.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/xen/common/device-tree/dom0less-build.c b/xen/common/device-tree/dom0less-build.c
> index 221b875a2f..87828d4d9d 100644
> --- a/xen/common/device-tree/dom0less-build.c
> +++ b/xen/common/device-tree/dom0less-build.c
> @@ -829,11 +829,11 @@ void __init create_domUs(void)
> bool iommu = false;
> const struct dt_device_node *cpupool_node,
> *chosen = dt_find_node_by_path("/chosen");
> - const char *llc_colors_str = NULL;
>
> BUG_ON(chosen == NULL);
> dt_for_each_child_node(chosen, node)
> {
> + const char *llc_colors_str = NULL;
> struct domain *d;
> struct xen_domctl_createdomain d_cfg = {0};
> unsigned int flags = 0U;
>
> base-commit: dff462313fe0bfa273c54ffc9bff71f054c365af
> --
> 2.43.0
>
>
next prev parent reply other threads:[~2025-07-16 18:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-16 15:35 [PATCH] dom0less: Fix LLC coloring when mixing colored and non-colored domains Alejandro Vallejo
2025-07-16 18:58 ` dmkhn [this message]
2025-07-17 1:06 ` Stefano Stabellini
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=aHf2Xdd1RYuHvJuZ@kraken \
--to=dmkhn@proton.me \
--cc=alejandro.garciavallejo@amd.com \
--cc=bertrand.marquis@arm.com \
--cc=julien@xen.org \
--cc=michal.orzel@amd.com \
--cc=sstabellini@kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.