summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* smpcapture02: Add test of functionality to add custom entries to capture traceDaniel Cederman2015-02-116-0/+478
|
* smptests/smpmrsp01: Fix task delete race conditionSebastian Huber2015-01-141-2/+3
| | | | | | | | Do not supsend self while waiting for termination since the rtems_task_delete() may take place while the rtems_task_suspend() waits for the Giant lock preventing delivery of the inter-processor interrupt. The result is a suspended and terminated thread (this is a valid state, but leads in this case to a test failure).
* smptests/smpwakeafter01: Fix task countSebastian Huber2015-01-091-1/+1
|
* smptests/smpmrsp01: Update run indicator only onceSebastian Huber2015-01-091-1/+3
| | | | | On the Freescale T2080 the excessive concurrent write/read lead to a livelock condition.
* smp: Fix timeout for MrsP semaphoresSebastian Huber2014-12-182-32/+93
| | | | | | | | The previous timeout handling was flawed. In case a waiting thread helped out the owner could use the scheduler node indefinitely long. Update the resource tree in _MRSP_Timeout() to avoid this issue. Bug reported by Luca Bonato.
* Update bug report URLSebastian Huber2014-12-051-1/+1
|
* smptests/smpmrsp01: Use busy waitsSebastian Huber2014-11-271-18/+20
| | | | | Use busy waits instead of sleeps to avoid unnecessary switches to the idle thread.
* smp: Fix scheduler helping protocolSebastian Huber2014-11-272-32/+206
| | | | | | | Ensure that scheduler nodes in the SCHEDULER_HELP_ACTIVE_OWNER or SCHEDULER_HELP_ACTIVE_RIVAL helping state are always SCHEDULER_SMP_NODE_READY or SCHEDULER_SMP_NODE_SCHEDULED to ensure the MrsP protocol properties.
* smp09: Resolve missing prototype warning.Jennifer Averett2014-11-251-0/+8
|
* smp07: Resolve missing prototype warning.Jennifer Averett2014-11-251-1/+9
|
* smp05: Resolve missing prototype warning.Jennifer Averett2014-11-251-0/+9
|
* smp02: Resolve unused method warnings.Jennifer Averett2014-11-251-7/+1
|
* smp03: Remove set but not used warning.Jennifer Averett2014-11-251-0/+4
| | | | Added status validation.
* smpschedsem01: Remove unused variable warning.Jennifer Averett2014-11-251-1/+0
|
* smpschedaffinity02: Remove unused prototype.Jennifer Averett2014-11-251-1/+0
|
* smpcapture01: New test.Jennifer Averett2014-11-246-0/+389
|
* smp: Fix scheduler helping protocolLuca Bonato2014-11-242-0/+191
| | | | | | | | | | | | New test case for smptests/smpmrsp01. Fix _Scheduler_Block_node() in case the node is in the SCHEDULER_HELP_ACTIVE_RIVAL helping state. For example a rtems_task_suspend() on a task waiting for a MrsP semaphore. Fix _Scheduler_Unblock_node() in case the node is in the SCHEDULER_SMP_NODE_READY state. For example a rtems_task_resume() on a task owning or waiting for a MrsP semaphore.
* smpschedaffinity05: Change semaphore attributes.Jennifer Averett2014-11-201-6/+4
| | | | | Change semaphore attributes to resolve problem where semaphore is not released upon a context switch.
* smpschedaffinity04: Change semaphore attributes.Jennifer Averett2014-11-201-5/+3
| | | | | Change semaphore attributes to prevent semaphore from being locked and never released upon a context switch.
* smpschedaffinity02: Change semaphore attributes.Jennifer Averett2014-11-201-5/+4
| | | | | Change semaphore attributes to prevent semaphore from being locked and never released upon a context switch.
* smptests/smpfatal03: Wait for end of test msgSebastian Huber2014-10-241-0/+2
|
* tests/smptests: Normal use of test extensionSebastian Huber2014-10-242-4/+4
|
* tests/smptests: Use barriers in smpfatal0{12}Sebastian Huber2014-10-232-4/+18
| | | | | Call the test extension explicitly and wait for report output using a barrier. This avoids problems with an early shutdown of the system.
* smptests/smpload01: Report profiling only onceSebastian Huber2014-09-172-184/+0
| | | | Rely on test extension to report profiling.
* smptests/smpcache01: Remove invalidation of data cache lines from testDaniel Cederman2014-09-163-33/+33
| | | | | Invalidation of entire data cache might cause data written to the stack to get lost.
* smptests/smplock01: Update screen fileSebastian Huber2014-09-011-1/+1
|
* tests: Add documentationSebastian Huber2014-09-019-13/+75
|
* smptests/smpfatal08: Fix link errorSebastian Huber2014-09-011-0/+7
|
* smptests/smpcache01: Test the SMP cache managerDaniel Cederman2014-08-226-0/+342
| | | | Invokes SMP cache management routines under different scenarios.
* smpschedsem01: new test.Jennifer Averett2014-07-116-0/+134
| | | | | This test verifies priority is inherited from a high priority semaphore by a lower priority task.
* smpschedaffinity05: Add test for worst case migration for affintiy scheduler.Jennifer Averett2014-07-116-0/+295
| | | | | | This test uses a combination of priority and affinity to cause the tasks running on all 4 cores to change due to one task priority change.
* smpschedaffinity04: New test.Jennifer Averett2014-07-116-0/+229
| | | | | This test walks a secondary high prority task across all the cores.
* smpschedaffinity03: New test.Jennifer Averett2014-07-116-0/+142
| | | | This task walks the affinity of self across all the cores.
* smpschedaffinity02: New test.Jennifer Averett2014-07-116-0/+283
| | | | | This test checks setting the affinity of a secondary task on a two core system.
* smpschedaffinity01: New test.Jennifer Averett2014-07-116-0/+220
| | | | This test verifies that affinity is honored when set prior to task start.
* score: Fix scheduler helping implementationSebastian Huber2014-07-102-241/+255
| | | | | Do not extract the idle threads from the ready set so that there is always a thread available for comparison.
* smptests/smpmrsp01: Add and update test casesSebastian Huber2014-07-092-185/+720
|
* score: Need for help indicator for scheduler opsSebastian Huber2014-07-081-16/+387
| | | | | | | | | | | | | Return a thread in need for help for the following scheduler operations - unblock, - change priority, and - yield. A thread in need for help is a thread that encounters a scheduler state change from scheduled to ready or a thread that cannot be scheduled in an unblock operation. Such a thread can ask threads which depend on resources owned by this thread for help.
* score: Rename *_Node_get() to *_Thread_get_node()Sebastian Huber2014-07-081-1/+1
| | | | | | This emphasizes that the scheduler node of a thread is returned and this is not a function working with scheduler nodes like the other *_Node_*() functions.
* smptests/smpfatal08: Support RTEMS_PARAVIRTSebastian Huber2014-06-301-1/+2
|
* smptests/smpmigration02: PR2183: Add test caseSebastian Huber2014-06-241-11/+138
|
* score: Fix thread deletion on SMPSebastian Huber2014-06-232-13/+193
| | | | | | Close the thread object in _Thread_Make_zombie() so that all blocking operations that use _Thread_Get() in the corresponding release directive can find a terminating thread and can complete the operation.
* score: Collect scheduler related fields in TCBSebastian Huber2014-06-231-2/+3
| | | | | Add Thread_Scheduler_control to collect scheduler related fields of the TCB.
* smptests/smpwakeafter01: New testSebastian Huber2014-06-186-0/+230
|
* smptests: Avoid use of uninitialized dataSebastian Huber2014-06-132-0/+4
|
* smptests/smpscheduler03: Test all SMP schedulersSebastian Huber2014-06-122-4/+135
|
* smptest/smpfatal03: Update due to API changesSebastian Huber2014-06-101-1/+1
|
* smptests/smpthreadlife01: Fix for debug enabledChristian Mauderer2014-06-031-4/+4
|
* smptests/smpmrsp01: Fix scheduler idsChristian Mauderer2014-06-031-1/+9
|
* score: Use Resource Handler for MrsP semaphoresSebastian Huber2014-06-031-0/+288
| | | | | This enables proper resource dependency tracking and as a side-effect deadlock detection.