* [dovetail][PATCH] arm64: dovetail: Multiplex IPI_KGDB_ROUNDUP via SGI0
@ 2026-11-15 14:14 Jan Kiszka
2026-11-18 9:07 ` Philippe Gerum
0 siblings, 1 reply; 2+ messages in thread
From: Jan Kiszka @ 2026-11-15 14:14 UTC (permalink / raw)
To: Philippe Gerum, Xenomai, Florian Bezdeka
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
--
2.47.3
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [dovetail][PATCH] arm64: dovetail: Multiplex IPI_KGDB_ROUNDUP via SGI0
2026-11-15 14:14 [dovetail][PATCH] arm64: dovetail: Multiplex IPI_KGDB_ROUNDUP via SGI0 Jan Kiszka
@ 2026-11-18 9:07 ` Philippe Gerum
0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2026-11-18 9:07 UTC (permalink / raw)
To: Jan Kiszka; +Cc: Xenomai, Florian Bezdeka
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-18 9:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.