Re: [PATCH v10 6/6] arm64: kgdb: Implement kgdb_roundup_cpus() to enable pseudo-NMI roundup

From: Stephen Boyd
Date: Tue Aug 22 2023 - 19:50:08 EST


Quoting Douglas Anderson (2023-08-22 14:27:01)
> diff --git a/arch/arm64/kernel/smp.c b/arch/arm64/kernel/smp.c
> index c51d54019f5f..5ee6b69b4360 100644
> --- a/arch/arm64/kernel/smp.c
> +++ b/arch/arm64/kernel/smp.c
> @@ -75,10 +76,11 @@ enum ipi_msg_type {
> IPI_IRQ_WORK,
> NR_IPI,
> /*
> - * CPU_BACKTRACE is special and not included in NR_IPI
> + * CPU_BACKTRACE and KGDB_ROUNDUP are special and not included in NR_IPI
> * or tracable with trace_ipi_*

If this is going to be added to in the future then the comment could be
more generic to avoid further updates.

/*
* Any enum equal to NR_IPI or less than MAX_IPI is special and
* not included in NR_IPI ...
/