summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* smptests/smpscheduler02: Reduce required CPU countSebastian Huber2015-06-031-41/+50
|
* smptests/smpmrsp01: Reduce required CPU countSebastian Huber2015-06-031-8/+13
|
* smptests/smpscheduler03: Use proper lockSebastian Huber2015-06-031-9/+9
|
* smptests/smpscheduler03: RestructureSebastian Huber2015-05-191-41/+42
| | | | Restructure to avoid large maximum thread dispatch disabled times.
* score: Rework _Thread_Change_priority()Sebastian Huber2015-05-191-19/+43
| | | | | | | | | | | | | Move the writes to Thread_Control::current_priority and Thread_Control::real_priority into _Thread_Change_priority() under the protection of the thread lock. Add a filter function to _Thread_Change_priority() to enable specialized variants. Avoid race conditions during a thread priority restore with the new Thread_Control::priority_restore_hint for an important average case optimizations used by priority inheritance mutexes. Update #2273.
* smptests/smpcache01: RestructureSebastian Huber2015-05-152-109/+105
| | | | Restructure to avoid large maximum thread dispatch disabled times.
* score: Fix scheduler helping protocolSebastian Huber2015-05-112-250/+478
| | | | | | Account for priority changes of threads executing in a foreign partition. Exchange idle threads in case a victim node uses an idle thread and the new scheduled node needs an idle thread.
* smptests/smpcache01: Enable interrupts before waiting for other CPUsDaniel Cederman2015-04-221-2/+2
| | | | | Otherwise there is a risk that a CPU misses a cache manager message from another CPU and the test hangs.
* score: Refactor SMP cache manager supportSebastian Huber2015-04-201-17/+6
|
* smpmigration01: Delete timing dependent assertSebastian Huber2015-03-251-3/+6
| | | | | | The cycles per runner depends too heavily on the hardware timing making the assert unreliable. Delete runner tasks before we print out the status.
* smptests/smpfatal08: Workaround for QorIQ BSPsSebastian Huber2015-03-241-0/+8
|
* testsupport: Add worker setup handlerSebastian Huber2015-03-171-11/+24
| | | | Add rtems_test_parallel_get_task_id().
* testsupport: Add cascade option to parallel testAlexander Krutwig2015-03-061-30/+60
|
* tests: Refactor parallel test executionAlexander Krutwig2015-03-051-147/+140
|
* smptests/smpcapture01: Avoid livelock conditionSebastian Huber2015-03-042-41/+54
|
* smptests: Do not use Giant directlySebastian Huber2015-03-042-6/+6
| | | | | This ensures that thread dispatching is disabled. A Giant acquire/release pair must take place in the same processor.
* score: Make <rtems/score/atomic.h> availableSebastian Huber2015-02-192-207/+0
| | | | | | | | Make <rtems/score/atomic.h> available for all RTEMS configurations. Use inline functions instead of macros. Use ISR disable/enable on uni-processor configurations to ensure atomicity. Update #2273.
* score: Add _CPU_SMP_Prepare_start_multitasking()Sebastian Huber2015-02-171-7/+5
| | | | Update #2268.
* 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.