[PATCH v3] smpfatal08: halt secondary processors if necessary

Gedare Bloom gedare at rtems.org
Tue Apr 13 18:42:28 UTC 2021


ok to push, thanks

On Tue, Apr 13, 2021 at 11:48 AM Jiri Gaisler <jiri at gaisler.se> wrote:
>
> > Just one nit, I think we still want to keep
> > -  (void) cpu_self;
> > because the variable is unused. This suppresses unused variable warnings.
> I never understood why it was there, but now I know ... :-)
>
> smpfatal08 fails on systems where all cpus are started by the
> boot-loader and thereby clobber the test output. This patch stops the
> secondary cpus with a call to _CPU_Thread_Idle_body(). Tested on RISC-V
> and SPARC.
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel


More information about the devel mailing list