From: Philippe Gerum <rpm@xenomai.org>
To: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Xenomai <xenomai@lists.linux.dev>,
Florian Bezdeka <florian.bezdeka@siemens.com>
Subject: Re: [dovetail][PATCH] arm64: dovetail: Multiplex IPI_KGDB_ROUNDUP via SGI0
Date: Wed, 18 Nov 2026 10:07:57 +0100 [thread overview]
Message-ID: <87y0aqeccy.fsf@xenomai.org> (raw)
In-Reply-To: <1690feb7-cb3c-4e1a-9b35-0a564dc3ee9d@siemens.com> (Jan Kiszka's message of "Sun, 15 Nov 2026 15:14:31 +0100")
Jan Kiszka <jan.kiszka@siemens.com> writes:
> From: Jan Kiszka <jan.kiszka@siemens.com>
>
> We still model KGDB as inband service, thus have to multiplex its IPI
> accordingly as well.
>
> Reported-by: opencode:Opus-5.5
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
> arch/arm64/kernel/smp.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm64/kernel/smp.c b/arch/arm64/kernel/smp.c
> index ceb9840c35eec..be6b428e91e48 100644
> --- a/arch/arm64/kernel/smp.c
> +++ b/arch/arm64/kernel/smp.c
> @@ -987,6 +987,7 @@ void arch_trigger_cpumask_backtrace(const cpumask_t *mask, int exclude_cpu)
> void kgdb_roundup_cpus(void)
> {
> int this_cpu = raw_smp_processor_id();
> + struct ipi_index ipi;
> int cpu;
>
> for_each_online_cpu(cpu) {
> @@ -994,7 +995,8 @@ void kgdb_roundup_cpus(void)
> if (cpu == this_cpu)
> continue;
>
> - __ipi_send_single(get_ipi_desc(cpu, IPI_KGDB_ROUNDUP), cpu);
> + ipi = mkipi_inband(IPI_KGDB_ROUNDUP, cpumask_of(cpu));
> + __ipi_send_single(get_ipi_desc(cpu, ipi.sgi), cpu);
> }
> }
> #endif
Merged, thanks.
--
Philippe.
prev parent reply other threads:[~2026-11-18 9:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-15 14:14 [dovetail][PATCH] arm64: dovetail: Multiplex IPI_KGDB_ROUNDUP via SGI0 Jan Kiszka
2026-11-18 9:07 ` Philippe Gerum [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=87y0aqeccy.fsf@xenomai.org \
--to=rpm@xenomai.org \
--cc=florian.bezdeka@siemens.com \
--cc=jan.kiszka@siemens.com \
--cc=xenomai@lists.linux.dev \
/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.