summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* score: Fix default set affinitySebastian Huber2017-07-071-3/+4
| | | | | | | | The set of online processors must be a subset of the thread processor affinity for the schedulers without arbitrary processor affinity support to avoid problems in case of processor addition and removal. Update #3059.
* score: Introduce _SMP_Get_online_processors()Sebastian Huber2017-07-071-2/+2
| | | | Update #3059.
* score: Use processor mask for set affinitySebastian Huber2017-07-072-2/+2
| | | | Update #3059.
* score: Move processor affinity to Thread_ControlSebastian Huber2017-07-073-7/+16
| | | | Update #3059.
* score: Use <sys/bitset.h> for Processor_maskSebastian Huber2017-07-061-2/+2
| | | | | | | | Implement the Processor_mask via <sys/bitset.h>. Provide _Processor_mask_To_uint32_t() to enable its use in device specific routines, e.g. interrupt affinity register in an interrupt controller. Update #3059.
* smptests/smpschededf01: New testSebastian Huber2017-06-296-0/+215
| | | | Update #3056.
* score: Add SMP EDF schedulerSebastian Huber2017-06-297-0/+90
| | | | Update #3056.
* smptests: Split smpscheduler03Sebastian Huber2017-06-2915-659/+761
| | | | | | Split smpscheduler03 to run the tests with only one processor. Update #3056.
* Fix CPU_COPY() usageSebastian Huber2017-06-072-4/+4
| | | | | | | | The original CPU_COPY() support of Newlib <sys/cpuset.h> had the parameters in the wrong order. This is fixed in Newlib since 2017-05-22. Update #3023.
* smpcache01: Fix test to run on QorIQ T4240Sebastian Huber2017-04-051-31/+70
|
* testsuite: Add a common test configuration. Fix configure.ac and Makefile.am ↵Chris Johns2017-04-042-53/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | errors. - Add a top level test configuration file for test states that are common to all BSPs. This saves adding a test configuration (tcfg) file for every BSP. - Add the test states 'user-input' and 'benchmark'. This lets 'rtems-test' stop the test rather than waiting for a timeout or letting a benchmark run without the user asking for it to run. - Implement rtems-test-check in Python to make it faster. The shell script had grown to a point it was noticably slowing the build down. - Fix the configure.ac and Makefile.am files for a number of the test directories. The files are difficiult to keep in sync with the number of tests and mistakes can happen such as tests being left out of the build. The test fsrofs01 is an example. Also a there was a mix of SUBDIRS and _SUBDIRS being used and only _SUBDIRS should be used. - Fix the test fsrofs01 so it compiles. Closes #2963.
* Rename CONFIGURE_SMP_MAXIMUM_PROCESSORSSebastian Huber2017-02-1446-54/+54
| | | | | | | Rename CONFIGURE_SMP_MAXIMUM_PROCESSORS to CONFIGURE_MAXIMUM_PROCESSORS since the SMP part is superfluous. Update #2894.
* smptests: Fix warningsSebastian Huber2017-02-034-28/+27
|
* score: Improve scheduler helping protocolSebastian Huber2017-02-031-20/+6
| | | | | | | | | | | Only register ask for help requests in the scheduler unblock and yield operations. The actual ask for help operation is carried out during _Thread_Do_dispatch() on a processor related to the thread. This yields a better separation of scheduler instances. A thread of one scheduler instance should not be forced to carry out too much work for threads on other scheduler instances. Update #2556.
* Remove CONFIGURE_SMP_APPLICATIONSebastian Huber2017-02-0247-89/+2
| | | | | | Enable the SMP support if CONFIGURE_SMP_MAXIMUM_PROCESSORS > 1. Update #2893.
* smptests/smpsignal01: Check signal ISR levelSebastian Huber2017-01-242-7/+68
| | | | Close #2751.
* Remove obsolete __RTEMS_HAVE_SYS_CPUSET_H__Joel Sherrill2017-01-112-16/+0
|
* Rename is_internal to always_set_to_falseSebastian Huber2016-12-127-14/+14
| | | | Update #2825.
* smplock01: Fix plot scriptsSebastian Huber2016-12-072-2/+4
|
* smplock01: Fix fairness plot scriptSebastian Huber2016-12-051-1/+1
|
* smpthreadlife01: Fix due to robust thread dispatchSebastian Huber2016-12-021-13/+19
| | | | Update #2811.
* score: Initialize thread queue context earlySebastian Huber2016-12-021-1/+2
| | | | | | | | Initialize thread queue context early preferably outside the critical section. Remove implicit _Thread_queue_Context_initialize() from _Thread_Wait_acquire().
* score: Fix thread queue context initializationSebastian Huber2016-11-281-1/+1
| | | | | Initialize the thread queue context with invalid data in debug configurations to catch missing set up steps.
* smptests/smpfatal03: Use timer to provoke errorSebastian Huber2016-11-231-31/+21
| | | | | | Avoid use of internal _Thread_Dispatch_disable() function. Update #2825.
* score: Robust thread dispatchSebastian Huber2016-11-236-0/+105
| | | | | | | | | | | | On SMP configurations, it is a fatal error to call blocking operating system with interrupts disabled, since this prevents delivery of inter-processor interrupts. This could lead to executing threads which are not allowed to execute resulting in undefined behaviour. The ARM Cortex-M port has a similar problem, since the interrupt state is not a part of the thread context. Update #2811.
* smptests/smplock01: Test TAS and TTAS locksSebastian Huber2016-11-234-1560/+2508
| | | | Cache align locks in the context.
* smptests/smpscheduler02: Fix task initializationSebastian Huber2016-11-231-2/+2
| | | | Set scheduler before the task start.
* score: Restrict task interrupt level to 0 on SMPSebastian Huber2016-11-181-1/+17
| | | | Update #2811.
* powerpc: Add _CPU_Get_current_per_CPU_control()Sebastian Huber2016-11-101-460/+460
| | | | | | | | Add _CPU_Get_current_per_CPU_control() on SMP configurations. Use SPRG0 for the current per-CPU control. This reduces the code size by three instructions and is slightly faster. Update #2805.
* rtems: Add scheduler processor add/removeSebastian Huber2016-11-107-0/+467
| | | | Update #2797.
* score: Simplify _Scheduler_Get_by_id()Sebastian Huber2016-11-091-4/+7
| | | | | | | | | | Avoid dead code in non-SMP configurations. Return scheduler identifier independent of the current processor count of the scheduler via rtems_scheduler_ident(), since this value may change during run-time. Check the processor count in _Scheduler_Set() under scheduler lock protection. Update #2797.
* score: Inline some SMP lock operations by defaultSebastian Huber2016-11-091-468/+468
| | | | | | | | | The SMP ticket lock release turned out to be suitable for inlining, e.g. a hand full of instructions, no branches. The changes in the screen files do not reflect the changes due to this commit. However, they are now up to date. Obtained on a T4240 running at 1.5GHz using GCC 7.0.0 20161108..
* score: Relax _Scheduler_Set() restrictionsSebastian Huber2016-11-031-18/+42
| | | | | | No longer unconditionally prevent scheduler changes if the thread owns resources. Prevent a scheduler change only in case other threads wait for the resource.
* smptests/smplock01: Update screen fileSebastian Huber2016-11-032-1555/+1555
|
* score: Simplify yield and unblock scheduler opsSebastian Huber2016-11-021-22/+18
| | | | Update #2556.
* score: Introduce Thread_Scheduler_control::homeSebastian Huber2016-11-021-4/+4
| | | | | | | | Replace Thread_Scheduler_control::control and Thread_Scheduler_control::own_control with new Thread_Scheduler_control::home. Update #2556.
* score: Second part of new MrsP implementationSebastian Huber2016-11-021-5/+0
| | | | Update #2556.
* score: Simplify update priority scheduler opSebastian Huber2016-11-021-11/+5
| | | | Remove unused return status.
* score: First part of new MrsP implementationSebastian Huber2016-11-027-55/+206
| | | | Update #2556.
* score: Yield support for new SMP helping protocolSebastian Huber2016-11-021-0/+52
| | | | Update #2556.
* score: Add new SMP scheduler helping protocolSebastian Huber2016-11-021-2/+191
| | | | Update #2556.
* score: Pass scheduler node to unblock operationSebastian Huber2016-11-021-3/+10
| | | | | | Changed for consistency with other scheduler operations. Update #2556.
* score: Pass scheduler node to block operationSebastian Huber2016-11-021-3/+6
| | | | | | Changed for consistency with other scheduler operations. Update #2556.
* score: Pass scheduler node to yield operationSebastian Huber2016-11-021-3/+10
| | | | | | Changed for consistency with other scheduler operations. Update #2556.
* score: Pass scheduler node to update priority opSebastian Huber2016-11-021-12/+22
| | | | | | | This enables to call this scheduler operation for all scheduler nodes available to a thread. Update #2556.
* smptests/smplock01: Use test supportSebastian Huber2016-10-313-533/+2189
| | | | Convert output to XML.
* smpschedaffinity05: Fix configurationSebastian Huber2016-10-121-0/+2
|
* score: Scheduler node awareness for thread queuesSebastian Huber2016-09-211-24/+349
| | | | | | | | Maintain the priority of a thread for each scheduler instance via the thread queue enqueue, extract, priority actions and surrender operations. This replaces the primitive priority boosting. Update #2556.
* rtems: Add rtems_task_get_priority()Sebastian Huber2016-09-211-0/+16
| | | | | Update #2556. Update #2784.
* smptests/smpmutex01: Use test case functionsSebastian Huber2016-09-211-2/+24
|