All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Anthony PERARD" <anthony.perard@vates.tech>
To: "Jan Beulich" <jbeulich@suse.com>
Cc: "Orzel, Michal" <michal.orzel@amd.com>,
	"Doug Goldstein" <cardoe@cardoe.com>,
	"Stefano Stabellini" <sstabellini@kernel.org>,
	"Luca Fancellu" <luca.fancellu@arm.com>,
	xen-devel@lists.xenproject.org,
	"Andrew Cooper" <andrew.cooper3@citrix.com>,
	"Julien Grall" <julien@xen.org>,
	"Roger Pau Monné" <roger.pau@citrix.com>
Subject: Re: [PATCH] automation: Add Arm64 MPU build job
Date: Thu, 03 Apr 2025 13:50:36 +0000	[thread overview]
Message-ID: <Z-6SKIEk3wjheg1j@l14> (raw)
In-Reply-To: <921c6250-9485-4d66-a568-15045ecc17bb@suse.com>

On Thu, Apr 03, 2025 at 12:00:39PM +0200, Jan Beulich wrote:
> On 03.04.2025 11:35, Orzel, Michal wrote:
> > A different question (also to other people who knows this stuff).
> > MPU requires to specify Xen start address using CONFIG_XEN_START_ADDRESS that is
> > set to invalid default value to catch user attention. Provided that randconfig
> > can select UNSUPPORTED and MPU, we should somehow set CONFIG_XEN_START_ADDRESS
> > to e.g. 0 to be able to build successfully. Is this where we need to add
> > EXTRA_FIXED_RANDCONFIG to existing arm64 and arm32 randconfig jobs?
> 
> In principle some override like this will be needed, I think, yet that undermines
> the randomness of the build. From what I can tell the sole constraint on
> XEN_START_ADDRESS is that it needs to be page aligned (for whatever reason; I
> didn't think there was the concept of "pages" without an MMU [1]). Arbitrary
> values satisfying this constraint ought to be selectable by random configurations.
> Which would then - hopefully - also trigger the case where XEN_START_ADDRESS is
> e.g. so large that Xen can't fit in the remaining address space anymore. Plus
> perhaps any other constraints presently not enforced.
> 
> How to deal with all of this, i.e. how to leave as much flexibility as possible
> to randconfig, I simply don't know. Extending the Cc list in the hope for someone
> to provide some insight.

It doesn't looks like kconfig have support for randomizing hex values.
So you'll have to provide a value for XEN_START_ADDRESS that actually
respect the contrain written in prose, since the default doesn't.

Ah, the prompt of that config value is way to long and contain
explanation that ought to be in the help message instead. So I guess the
default value is the choose default value option, so probably fine for
randconfig.

Cheers,

-- 

Anthony Perard | Vates XCP-ng Developer

XCP-ng & Xen Orchestra - Vates solutions

web: https://vates.tech


      reply	other threads:[~2025-04-03 13:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-03  8:19 [PATCH] automation: Add Arm64 MPU build job Michal Orzel
2025-04-03  8:43 ` Jan Beulich
2025-04-03  8:44   ` Orzel, Michal
2025-04-03  8:58     ` Jan Beulich
2025-04-03  9:17       ` Orzel, Michal
2025-04-03  9:28         ` Jan Beulich
2025-04-03  9:35           ` Orzel, Michal
2025-04-03 10:00             ` Jan Beulich
2025-04-03 13:50               ` Anthony PERARD [this message]

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=Z-6SKIEk3wjheg1j@l14 \
    --to=anthony.perard@vates.tech \
    --cc=andrew.cooper3@citrix.com \
    --cc=cardoe@cardoe.com \
    --cc=jbeulich@suse.com \
    --cc=julien@xen.org \
    --cc=luca.fancellu@arm.com \
    --cc=michal.orzel@amd.com \
    --cc=roger.pau@citrix.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.