From: Dario Faggioli <email@example.com>
To: Jan Beulich <firstname.lastname@example.org>,
Cc: "Andrew Cooper" <email@example.com>,
"Wei Liu" <firstname.lastname@example.org>, "Roger Pau Monné" <email@example.com>,
"George Dunlap" <firstname.lastname@example.org>
Subject: Re: [PATCH v2] firmware/shim: UNSUPPORTED=n
Date: Thu, 27 May 2021 08:49:40 +0200 [thread overview]
Message-ID: <email@example.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3204 bytes --]
On Wed, 2021-05-26 at 09:37 +0200, Jan Beulich wrote:
> We shouldn't default to include any unsupported code in the shim. Mark
> the setting as off, replacing the ARGO specification. This points out
> anomalies with the scheduler configuration: Unsupported schedulers
> better don't default to Y in release builds (like is already the case
> for ARINC653). Without at least the SCHED_NULL adjustments, the shim
> would suddenly build with RTDS as its default scheduler.
> As a result, the SCHED_NULL setting can also be dropped from defconfig.
> Clearly with the shim defaulting to it, SCHED_NULL must be supported at
> least there.
> Signed-off-by: Jan Beulich <firstname.lastname@example.org>
> Acked-by: Roger Pau Monné <email@example.com>
Reviewed-by: Dario Faggioli <firstname.lastname@example.org>
> v2: Also drop SCHED_NULL setting from defconfig. Make SCHED_NULL the
> default when PV_SHIM_EXCLUSIVE.
> I'm certainly open to consider alterations on the sched/Kconfig
> adjustments, but _something_ needs to be done there. In particular I
> was puzzled to find the NULL scheduler marked unsupported. Clearly with
> the shim defaulting to it, it must be supported at least there.
I think null both should and can be supported. There's an outstanding
bug , which we may want to finally fix before declaring it as such.
More important IMO, we should add an OSSTest test for it.
The latter may be tricky, as the hypervisor configuration of such test
needs to be host specific. In fact, we need to know how many CPUs we
have on the host, and configure Xen to give only a subset of them to
dom0 (or offline a few, after boot), as well as avoid running on 1 (and
problably also 2) CPUs hosts... or we won't be able to start guests
and/or do local migration jobs.
I can try to put something together, but I don't currently have an
OSSTest development environment up and running any longer, so it may
take a couple of iterations...
> --- a/xen/common/sched/Kconfig
> +++ b/xen/common/sched/Kconfig
> @@ -16,7 +16,7 @@ config SCHED_CREDIT2
> config SCHED_RTDS
> bool "RTDS scheduler support (UNSUPPORTED)" if UNSUPPORTED
> - default y
> + default DEBUG
> The RTDS scheduler is a soft and firm real-time scheduler for
> multicore, targeted for embedded, automotive, graphics and
This is fine for me, for now.
That being said, if remember correctly, it should have all the features
that we said we wanted to it to have for declaring supported... Is
anyone of the embedded/safety/automotive/edge users and downstreams
interested interested on helping making RTDS first class citizen? And,
if yes, what's the path toward that?
Thanks and Regards
Dario Faggioli, Ph.D
Virtualization Software Engineer
SUSE Labs, SUSE https://www.suse.com/
<<This happens because _I_ choose it to happen!>> (Raistlin Majere)
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2021-05-27 6:50 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-30 14:39 [PATCH 0/3] firmware/shim: build adjustments Jan Beulich
2021-04-30 14:43 ` [PATCH 1/3] firmware/shim: update linkfarm exclusions Jan Beulich
2021-05-25 14:12 ` Roger Pau Monné
2021-04-30 14:44 ` [PATCH 2/3] firmware/shim: drop XEN_CONFIG_EXPERT uses Jan Beulich
2021-05-25 14:14 ` Roger Pau Monné
2021-05-25 15:14 ` Jan Beulich
2021-04-30 14:45 ` [PATCH 3/3] firmware/shim: UNSUPPORTED=n Jan Beulich
2021-05-25 14:39 ` Roger Pau Monné
2021-05-25 15:21 ` Jan Beulich
2021-05-25 15:51 ` Roger Pau Monné
2021-05-25 15:54 ` Jan Beulich
2021-05-25 11:10 ` Ping: [PATCH 0/3] firmware/shim: build adjustments Jan Beulich
2021-05-26 7:37 ` [PATCH v2] firmware/shim: UNSUPPORTED=n Jan Beulich
2021-05-26 8:27 ` Roger Pau Monné
2021-05-26 8:31 ` Jan Beulich
2021-05-27 6:49 ` Dario Faggioli [this message]
2021-06-02 11:57 ` Ian Jackson
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:
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
* 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).