[PATCH 0/4] Simplify SMP system initialization

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Jul 28 11:18:00 UTC 2021


This patch set simplifies the per-CPU state handling during SMP system
initialization and shutdown.

Sebastian Huber (4):
  score: Remove processor event broadcast/receive
  score: Simplify SMP processor state handling
  score: Remove SMP message multicast/broadcast
  score: Move per-CPU jobs support

 cpukit/Makefile.am                            |   1 +
 cpukit/include/rtems/score/percpu.h           |  75 ++++++---
 cpukit/include/rtems/score/smpimpl.h          |  82 ++++++----
 .../cpu/aarch64/include/rtems/score/cpu.h     |  12 --
 .../score/cpu/arm/include/rtems/score/cpu.h   |  12 --
 .../score/cpu/i386/include/rtems/score/cpu.h  |  10 --
 .../cpu/no_cpu/include/rtems/score/cpu.h      |  29 ----
 .../cpu/powerpc/include/rtems/score/cpu.h     |  10 --
 .../score/cpu/riscv/include/rtems/score/cpu.h |  10 --
 .../score/cpu/sparc/include/rtems/score/cpu.h |  10 --
 .../cpu/x86_64/include/rtems/score/cpu.h      |  10 --
 cpukit/score/src/percpu.c                     | 153 +-----------------
 cpukit/score/src/percpujobs.c                 | 124 ++++++++++++++
 cpukit/score/src/percpustatewait.c            |  14 +-
 cpukit/score/src/smp.c                        | 153 ++++++++++++------
 cpukit/score/src/smpmulticastaction.c         | 107 +-----------
 cpukit/score/src/threadstartmultitasking.c    |   4 +-
 spec/build/cpukit/objsmp.yml                  |   4 +-
 testsuites/smptests/smpfatal01/init.c         |  61 +++++--
 testsuites/smptests/smpfatal01/smpfatal01.doc |   3 +-
 testsuites/smptests/smpfatal02/init.c         |  25 +--
 testsuites/smptests/smpfatal02/smpfatal02.doc |   3 +-
 testsuites/smptests/smpmulticast01/init.c     |   2 +-
 testsuites/smptests/smppsxsignal01/init.c     |   5 +-
 testsuites/smptests/smpsignal01/init.c        |   5 +-
 25 files changed, 420 insertions(+), 504 deletions(-)
 create mode 100644 cpukit/score/src/percpujobs.c

-- 
2.26.2



More information about the devel mailing list