From: Oleksii Kurochko <oleksii.kurochko@gmail.com>
To: Mykola Kvach <mykola_kvach@epam.com>, xen-devel@lists.xenproject.org
Cc: Stefano Stabellini <sstabellini@kernel.org>,
Julien Grall <julien@xen.org>,
Bertrand Marquis <bertrand.marquis@arm.com>,
Michal Orzel <michal.orzel@amd.com>,
Volodymyr Babchuk <Volodymyr_Babchuk@epam.com>
Subject: Re: [PATCH for-4.22] xen/arm: propagate secondary GIC initialization failures
Date: Mon, 13 Jul 2026 09:43:17 +0200 [thread overview]
Message-ID: <70f92a54-9d1d-44e6-bdb4-e446cb8fca89@gmail.com> (raw)
In-Reply-To: <9fd0d0eacf061cc2a32f440e3438c084fa9ca79c.1783678619.git.mykola_kvach@epam.com>
On 7/10/26 12:20 PM, Mykola Kvach wrote:
> The GICv3 secondary_init() callback can fail while discovering or
> waking a Redistributor, enabling LPIs, or setting up an ITS collection.
> gic_init_secondary_cpu() currently discards that status. start_secondary()
> then marks the CPU online even though its per-CPU GIC interface may be
> unusable.
>
> Return the callback status through the common GIC layer. Have
> start_secondary() report the failure and stop the affected CPU before it
> is added to cpu_online_map.
>
> Fixes: bc183a0235e0 ("xen/arm: Add support for GIC v3")
> Signed-off-by: Mykola Kvach <mykola_kvach@epam.com>
> ---
This doesn't look release-critical. IIUC, the issue only occurs if
`gic_hw_ops->secondary_init()` fails, which itself appears to require an
abnormal condition (e.g. invalid DT data or a failure while initializing
the GIC Redistributor/LPI/ITS state). On correctly configured systems,
this path should never be taken. We've also been living with this
behavior for a long time, so unless the maintainers feel strongly that
it should go in now, I think we could postpone this patch until the 4.22
release.
Thanks.
~ Oleksii
next prev parent reply other threads:[~2026-07-13 7:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-10 10:20 [PATCH for-4.22] xen/arm: propagate secondary GIC initialization failures Mykola Kvach
2026-07-13 7:43 ` Oleksii Kurochko [this message]
2026-07-22 11:04 ` Orzel, Michal
2026-07-31 7:49 ` Orzel, Michal
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=70f92a54-9d1d-44e6-bdb4-e446cb8fca89@gmail.com \
--to=oleksii.kurochko@gmail.com \
--cc=Volodymyr_Babchuk@epam.com \
--cc=bertrand.marquis@arm.com \
--cc=julien@xen.org \
--cc=michal.orzel@amd.com \
--cc=mykola_kvach@epam.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox