summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rtems: Allow initially locked MrsP semaphoresSebastian Huber2021-03-161-4/+10
| | | | | | Rejecting initially locked MrsP semaphores was due to a limitiation of the early limitiation of the MrsP protocol. This limitation no longer exists.
* rtems: Require RTEMS_PRIORITY for MrsP semaphoresSebastian Huber2021-03-163-7/+8
| | | | | | | | | MrsP semaphores are a generalization of the priority ceiling semaphores for SMP configurations. Priority ceiling semaphores are required to use the priority task wait queue discipline. Require this discipline also for MrsP semaphores. Close #4347.
* mrsp: Change error status for a nested seizeSebastian Huber2021-01-211-1/+1
| | | | | | | | Return STATUS_DEADLOCK (RTEMS_INCORRECT_STATE) to indicate a nested seize since this is a kind of deadlock. This status code is also used for other deadlocks. Update #4217.
* smptests/smpipi01: Fix sporadic test failureSebastian Huber2020-12-091-0/+7
|
* rtems: Improve rtems_interrupt_server_create()Sebastian Huber2020-11-241-2/+63
| | | | | | Also start interrupt server tasks on processors which do not have a scheduler. Applications may dynamically manage processors using rtems_scheduler_remove_processor() and rtems_scheduler_add_processor().
* smpmulticast01: Fix NULL pointer accessSebastian Huber2020-11-101-1/+1
|
* tests: Add and use <rtems/testopts.h>Sebastian Huber2020-10-011-1/+2
| | | | | Add the build option RTEMS_TEST_VERBOSITY to control the verbosity of test suites using the RTEMS Test Framework.
* irqs01/smpirqs01: New testsSebastian Huber2020-09-142-0/+210
| | | | Close #4034.
* libtest: Change T_step() and T_assert_step()Sebastian Huber2020-08-181-8/+8
| | | | | | | | | | | Normally, the expected test step must be a compile time constant. Allow variable expected test steps for the T_step() and T_assert_step(). This can be used for parameterized test loops with individual fixtures. Remove the ability to use custom failure messages due to some implementation constraints. Update #3199.
* smpschededf02: Document reset() functionSebastian Huber2020-08-041-1/+13
|
* libtest: Move <t.h> to <rtems/test.h>Sebastian Huber2020-07-231-1/+1
| | | | Update #3199.
* libtest: <rtems/test.h> to <rtems/test-info.h>Sebastian Huber2020-07-236-6/+6
| | | | | | | | Rename this header file to later move <t.h> to <rtems/test.h>. The main feature provided by <rtems/test-info.h> is the output of standard test information which is consumed by the RTEMS Tester. Update #3199.
* smpsignal01: Change state before sending the signalJan Sommer2020-06-111-1/+1
| | | | | | The signal handler of the consumer might start executing before rtems_signal_send of the producer returns. Therefore change the state to SIG_1_SENT before sending the signal.
* Canonicalize config.h includeSebastian Huber2020-04-1636-36/+36
| | | | | | | | Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
* config: Remove CONFIGURE_DISABLE_SMP_CONFIGURATIONSebastian Huber2020-02-251-2/+0
| | | | | | | | | | 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.
* smpschededf02: Improve readabilitySebastian Huber2020-02-141-66/+74
|
* smpfatal09: Fix test caseSebastian Huber2020-02-141-6/+0
| | | | Update #3838.
* bsps: Rework work area initializationSebastian Huber2020-02-041-4/+29
| | | | | | | | | | | | | | | | | | | | 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.
* smptests/smpmulticast01: Fix test configurationSebastian Huber2020-01-281-1/+1
| | | | Problem introduced by 77ac1519e863b7095f69c976353f7647c6f6f63b.
* config: Improve EDF SMP scheduler configurationSebastian Huber2019-12-195-7/+7
| | | | | | | | Use CONFIGURE_MAXIMUM_PROCESSORS to configure the EDF SMP scheduler context. This avoids hard to debug configuration errors resulting in memory corruptions. Close #3815.
* rtems: Simplify semaphore configurationSebastian Huber2019-12-113-3/+0
| | | | | | | | | | | | | | | 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.
* libtest: Change expected pass state stringSebastian Huber2019-12-055-5/+5
| | | | Use separator character '_' for all test states.
* tests: Remove superfluous SMPTESTS defineSebastian Huber2019-11-121-7/+7
| | | | Update #3818.
* score: Add _SMP_Unicast_action()Sebastian Huber2019-05-202-43/+151
|
* score: Add _SMP_Synchronize()Sebastian Huber2019-05-201-3/+4
|
* smpipi01: Use per-CPU jobs for IPI flood testSebastian Huber2019-05-201-9/+38
|
* smpipi01: Ensure IPI works on all processorsSebastian Huber2019-05-201-8/+21
|
* smpipi01: Use per-CPU jobs for pending IPI testSebastian Huber2019-05-201-15/+35
|
* score: Modify _Per_CPU_Perform_jobs()Sebastian Huber2019-05-201-0/+41
| | | | | | | | 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.
* score: Add _Per_CPU_Add_job()Sebastian Huber2019-05-201-0/+43
|
* score: Simplify _SMP_Multicast_action()Sebastian Huber2019-05-201-10/+4
| | | | | | Move resposibility to disable thread dispatching to the caller of _SMP_Multicast_action(). Using an interrupt disable for this purpose is questionable.
* score: Add _SMP_Broadcast_action()Sebastian Huber2019-05-201-8/+32
|
* smptests: Move SMP broadcast action test caseSebastian Huber2019-05-202-51/+79
|
* smpmulticast01: Use T_TEST_CASE()Sebastian Huber2019-05-201-22/+27
|
* score: More robust _SMP_Multicast_action()Sebastian Huber2019-04-122-7/+1
| | | | | | If the caller already disabled interrupts, then do not disable thread dispatching. Calling _SMP_Multicast_action() with interrupts disabled is a questionable use case.
* score: Improve _SMP_Multicast_action()Sebastian Huber2019-04-122-73/+127
| | | | Let it work during system initialization.
* score: Rework SMP multicast actionSebastian Huber2019-04-122-1/+7
| | | | | 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.
* score: Use processor mask in _SMP_Multicast_actionSebastian Huber2019-04-126-38/+386
| | | | Processor_mask is the internal data type to deal with processor sets.
* rtems: Add rtems_scheduler_get_processor_maximum()Sebastian Huber2019-04-0943-71/+86
| | | | | | | | | | | 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.
* rtems: Add rtems_scheduler_get_processor()Sebastian Huber2019-04-0931-115/+115
| | | | | | | | | | | 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.
* score: Fix plain priority thread queues (SMP)Sebastian Huber2019-02-071-0/+63
| | | | We must add/remove the priority queue to the FIFO of priority queues.
* build: Do not install test programsSebastian Huber2019-01-301-3/+1
|
* rtems: Allow to set ISR level 0 in SMP configSebastian Huber2019-01-091-1/+1
| | | | Update #3000.
* score: Fix per-CPU data allocationSebastian Huber2018-12-185-0/+117
| | | | | | | | | | | 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.
* Spelling and grammar fixes in source code comments (GCI 2018)Marçal Comajoan Cara2018-12-041-1/+1
|
* Remove rtems_cache_*_processor_set() functionsSebastian Huber2018-11-261-45/+7
| | | | | | | | 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.
* posix: Enable more smptests tests by defaultSebastian Huber2018-10-291-6/+0
| | | | Update #2514.
* build: Remove local.amSebastian Huber2018-10-101-1/+0
|
* tests: Use rtems_task_exit()Sebastian Huber2018-10-054-6/+4
| | | | Update #3533.
* score: Remove CPU_PROVIDES_IDLE_THREAD_BODYSebastian Huber2018-10-052-12/+0
| | | | | | | Remove the CPU_PROVIDES_IDLE_THREAD_BODY option to avoid unnecessary conditional compilation. Close #3539.