summaryrefslogtreecommitdiff
path: root/testsuites/smptests (follow)
AgeCommit message (Collapse)Author
2020-02-25config: Remove CONFIGURE_DISABLE_SMP_CONFIGURATIONSebastian Huber
The CONFIGURE_DISABLE_SMP_CONFIGURATION configuration option and rtems_configuration_is_smp_enabled() were added during the SMP support development cycle as a workaround to fix some testsuite failures in SMP configurations. All use cases were replaced with tests for specific conditions. The configuration option and test macro were undocumented. Close #3876.
2020-02-14smpschededf02: Improve readabilitySebastian Huber
2020-02-14smpfatal09: Fix test caseSebastian Huber
Update #3838.
2020-02-04bsps: Rework work area initializationSebastian Huber
The work area initialization was done by the BSP through bsp_work_area_initialize(). This approach predated the system initialization through the system initialization linker set. The workspace and C program heap were unconditionally initialized. The aim is to support RTEMS application configurations which do not need the workspace and C program heap. In these configurations, the workspace and C prgram heap should not get initialized. Change all bsp_work_area_initialize() to implement _Memory_Get() instead. Move the dirty memory, sbrk(), per-CPU data, workspace, and malloc() heap initialization into separate system initialization steps. This makes it also easier to test the individual initialization steps. This change adds a dependency to _Heap_Extend() to all BSPs. This dependency will be removed in a follow up change. Update #3838.
2020-01-28smptests/smpmulticast01: Fix test configurationSebastian Huber
Problem introduced by 77ac1519e863b7095f69c976353f7647c6f6f63b.
2019-12-19config: Improve EDF SMP scheduler configurationSebastian Huber
Use CONFIGURE_MAXIMUM_PROCESSORS to configure the EDF SMP scheduler context. This avoids hard to debug configuration errors resulting in memory corruptions. Close #3815.
2019-12-11rtems: Simplify semaphore configurationSebastian Huber
The MrsP semaphore implementation predates the addition of self-contained synchronization objects. At this time, the potential memory reduction was justified considering the more complex configuration and additional use of the workspace. With the availability of self-contained synchronization options, e.g. POSIX mutexes, this is no longer justified. Memory constrained applications should use the self-contained synchronization objects. Remove the CONFIGURE_MAXIMUM_MRSP_SEMAPHORES configuration option. This has only an impact on applications which use SMP and a large number of scheduler instances. Update #3833.
2019-12-05libtest: Change expected pass state stringSebastian Huber
Use separator character '_' for all test states.
2019-11-12tests: Remove superfluous SMPTESTS defineSebastian Huber
Update #3818.
2019-05-20score: Add _SMP_Unicast_action()Sebastian Huber
2019-05-20score: Add _SMP_Synchronize()Sebastian Huber
2019-05-20smpipi01: Use per-CPU jobs for IPI flood testSebastian Huber
2019-05-20smpipi01: Ensure IPI works on all processorsSebastian Huber
2019-05-20smpipi01: Use per-CPU jobs for pending IPI testSebastian Huber
2019-05-20score: Modify _Per_CPU_Perform_jobs()Sebastian Huber
Process only the jobs initially registered on the processing list. This makes it possible to add jobs for the current processor in a job handler. These jobs are processed with the next SMP_MESSAGE_PERFORM_JOBS message. The lock is only acquired and released once.
2019-05-20score: Add _Per_CPU_Add_job()Sebastian Huber
2019-05-20score: Simplify _SMP_Multicast_action()Sebastian Huber
Move resposibility to disable thread dispatching to the caller of _SMP_Multicast_action(). Using an interrupt disable for this purpose is questionable.
2019-05-20score: Add _SMP_Broadcast_action()Sebastian Huber
2019-05-20smptests: Move SMP broadcast action test caseSebastian Huber
2019-05-20smpmulticast01: Use T_TEST_CASE()Sebastian Huber
2019-04-12score: More robust _SMP_Multicast_action()Sebastian Huber
If the caller already disabled interrupts, then do not disable thread dispatching. Calling _SMP_Multicast_action() with interrupts disabled is a questionable use case.
2019-04-12score: Improve _SMP_Multicast_action()Sebastian Huber
Let it work during system initialization.
2019-04-12score: Rework SMP multicast actionSebastian Huber
Use a FIFO list of jobs per processor to carry out the SMP multicast action. Use a done indicator per job to reduce the bus traffic a bit.
2019-04-12score: Use processor mask in _SMP_Multicast_actionSebastian Huber
Processor_mask is the internal data type to deal with processor sets.
2019-04-09rtems: Add rtems_scheduler_get_processor_maximum()Sebastian Huber
Add rtems_scheduler_get_processor_maximum() as a replacement for rtems_get_processor_count(). The rtems_get_processor_count() is a bit orphaned. Adopt it by the Scheduler Manager. The count is also misleading, since the processor set may have gaps and the actual count of online processors may be less than the value returned by rtems_get_processor_count(). Update #3732.
2019-04-09rtems: Add rtems_scheduler_get_processor()Sebastian Huber
Add rtems_scheduler_get_processor() as a replacement for rtems_get_current_processor(). The rtems_get_current_processor() is a bit orphaned. Adopt it by the Scheduler Manager. This is in line with the glibc sched_getcpu() function. Deprecate rtems_get_current_processor(). Update #3731.
2019-02-07score: Fix plain priority thread queues (SMP)Sebastian Huber
We must add/remove the priority queue to the FIFO of priority queues.
2019-01-30build: Do not install test programsSebastian Huber
2019-01-09rtems: Allow to set ISR level 0 in SMP configSebastian Huber
Update #3000.
2018-12-18score: Fix per-CPU data allocationSebastian Huber
Allocate the per-CPU data for secondary processors directly from the heap areas before heap initialization and not via _Workspace_Allocate_aligned(). This avoids dependency on the workspace allocator. It fixes also a problem on some platforms (e.g. QorIQ) where at this early point in the system initialization the top of the RAM is used by low-level startup code on secondary processors (boot pages). Update #3507.
2018-12-04Spelling and grammar fixes in source code comments (GCI 2018)Marçal Comajoan Cara
2018-11-26Remove rtems_cache_*_processor_set() functionsSebastian Huber
The following rtems_cache_*_processor_set() cache manager API functions are exotic, complex, very hard to use correctly, not used in the RTEMS code base, and apparently unused by applications. Close #3622.
2018-10-29posix: Enable more smptests tests by defaultSebastian Huber
Update #2514.
2018-10-10build: Remove local.amSebastian Huber
2018-10-05tests: Use rtems_task_exit()Sebastian Huber
Update #3533.
2018-10-05score: Remove CPU_PROVIDES_IDLE_THREAD_BODYSebastian Huber
Remove the CPU_PROVIDES_IDLE_THREAD_BODY option to avoid unnecessary conditional compilation. Close #3539.
2018-09-20smp03: make printout match actual task nameDaniel Hellstrom
2018-09-10score: Add thread pin/unpin supportSebastian Huber
Add support to temporarily pin a thread to its current processor. This may be used to access per-processor data structures in critical sections with enabled thread dispatching, e.g. a pinned thread is allowed to block. Update #3508.
2018-09-03score: Fix EDF SMP schedulerSebastian Huber
Fix a special case: block a one-to-one scheduled thread while having a non-empty affine ready queue on the same processor.
2018-07-25bsps: bsp_start_on_secondary_processor()Sebastian Huber
Pass current processor control as first parameter in bsp_start_on_secondary_processor() and qoriq_start_thread() to make dependency more explicit.
2018-07-24smptests: Fix format warningsSebastian Huber
2018-07-18score: Fix _Scheduler_EDF_SMP_Set_affinity()Sebastian Huber
Commit 8744498752ad4f0eaf9fb5640c6a0e0f2dc92fda broke the _Scheduler_EDF_SMP_Set_affinity() implementation. We must test the overall affinity against the online processors.
2018-06-28riscv: Add dummy SMP supportSebastian Huber
Update #3433.
2018-05-02tests: Remove configure feature checksSebastian Huber
Update #3409.
2018-04-27smptests/smpschededf02: Add test caseSebastian Huber
2018-04-23smptests/smpschedaffinity02: Fix configurationSebastian Huber
2018-04-11configure: Add subdir-objects to all automake flags.Chris Johns
This option silences warning with automake-1.16.1 allowing us to upgrade to that version. This change has been tested with automake-1.12.6 and automake-1.16.1. It seems version 1.16.1 configures slower than 1.12.6 for the same source and BSP. The newer versions is 6 second slower. Close #3387.
2018-04-10testsuite/smptests: Merged nested Makefile.am files into one Makefile.amChris Johns
This change is part of the testsuite Makefile.am reorganization. Update #3382
2018-03-12config: Use new scheduler configuration definesSebastian Huber
Update #3325.
2018-03-07smptests: Fix obsolete FIXME comments/codeSebastian Huber