xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Julien Grall <julien@xen.org>
To: Mykola Kvach <xakep.amatop@gmail.com>,
	Carlo Nonato <carlo.nonato@minervasys.tech>,
	xen-devel@lists.xenproject.org
Cc: andrea.bastoni@minervasys.tech, marco.solieri@minervasys.tech,
	"Andrew Cooper" <andrew.cooper3@citrix.com>,
	"Anthony PERARD" <anthony.perard@vates.tech>,
	"Michal Orzel" <michal.orzel@amd.com>,
	"Jan Beulich" <jbeulich@suse.com>,
	"Roger Pau Monné" <roger.pau@citrix.com>,
	"Stefano Stabellini" <sstabellini@kernel.org>
Subject: Re: [PATCH v13 01/12] xen/common: add cache coloring common code
Date: Mon, 10 Nov 2025 23:02:26 +0000	[thread overview]
Message-ID: <241eaaf3-069c-4dc8-8161-45a9563dbc77@xen.org> (raw)
In-Reply-To: <0b5f19ea-6e33-4658-a165-f0af1cffbd03@gmail.com>

Hi Mykola,

On 07/11/2025 08:27, Mykola Kvach wrote:
>> +void __init llc_coloring_init(void)
>> +{
>> +    unsigned int way_size;
>> +
>> +    llc_coloring_enabled = (opt_llc_coloring >= 1);
>> +    if ( (opt_llc_coloring != 0) && llc_size && llc_nr_ways )
>> +    {
>> +        llc_coloring_enabled = true;
>> +        way_size = llc_size / llc_nr_ways;
>> +    }
>> +    else if ( !llc_coloring_enabled )
>> +        return;
>> +    else
>> +    {
>> +        way_size = get_llc_way_size();
>> +        if ( !way_size )
>> +            panic("LLC probing failed and 'llc-size' or 'llc-nr-ways' 
>> missing\n");
> 
> As far as I can see, this error means that we did not detect a suitable 
> LLC/unified cache.
> Maybe it would be better to make that explicit in the panic message.

I am rather confused why there are reviews on the series that was merged 
nearly a year ago. If you have comments that needs to be addressed, then 
it would be best to either send a new series or start a new thread (if 
there are bugs which needs discussion).

Cheers,

-- 
Julien Grall



  reply	other threads:[~2025-11-10 23:02 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-17 17:06 [PATCH v13 00/12] Arm cache coloring Carlo Nonato
2024-12-17 17:06 ` [PATCH v13 01/12] xen/common: add cache coloring common code Carlo Nonato
2025-11-07  8:27   ` Mykola Kvach
2025-11-10 23:02     ` Julien Grall [this message]
2024-12-17 17:06 ` [PATCH v13 02/12] xen/arm: add initial support for LLC coloring on arm64 Carlo Nonato
2025-11-07  8:27   ` Mykola Kvach
2024-12-17 17:06 ` [PATCH v13 03/12] xen/arm: permit non direct-mapped Dom0 construction Carlo Nonato
2024-12-17 17:06 ` [PATCH v13 04/12] xen/arm: add Dom0 cache coloring support Carlo Nonato
2025-11-07  8:26   ` Mykola Kvach
2024-12-17 17:06 ` [PATCH v13 05/12] xen: extend domctl interface for cache coloring Carlo Nonato
2024-12-17 17:06 ` [PATCH v13 06/12] tools: add support for cache coloring configuration Carlo Nonato
2024-12-17 17:06 ` [PATCH v13 07/12] xen/arm: add support for cache coloring configuration via device-tree Carlo Nonato
2025-11-07  8:26   ` Mykola Kvach
2024-12-17 17:06 ` [PATCH v13 08/12] xen/page_alloc: introduce preserved page flags macro Carlo Nonato
2024-12-17 17:06 ` [PATCH v13 09/12] xen: add cache coloring allocator for domains Carlo Nonato
2024-12-17 17:06 ` [PATCH v13 10/12] xen/arm: add Xen cache colors command line parameter Carlo Nonato
2024-12-17 17:06 ` [PATCH v13 11/12] xen/arm: make consider_modules() available for xen relocation Carlo Nonato
2024-12-17 17:06 ` [PATCH v13 12/12] xen/arm: add cache coloring support for Xen image Carlo Nonato
2024-12-18 10:23   ` Michal Orzel
2024-12-20  7:34 ` [PATCH v13 00/12] Arm cache coloring Michal Orzel
2024-12-20  8:43   ` Carlo Nonato

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=241eaaf3-069c-4dc8-8161-45a9563dbc77@xen.org \
    --to=julien@xen.org \
    --cc=andrea.bastoni@minervasys.tech \
    --cc=andrew.cooper3@citrix.com \
    --cc=anthony.perard@vates.tech \
    --cc=carlo.nonato@minervasys.tech \
    --cc=jbeulich@suse.com \
    --cc=marco.solieri@minervasys.tech \
    --cc=michal.orzel@amd.com \
    --cc=roger.pau@citrix.com \
    --cc=sstabellini@kernel.org \
    --cc=xakep.amatop@gmail.com \
    --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).