summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* riscv: Add dummy SMP supportSebastian Huber2018-06-281-1/+2
| | | | Update #3433.
* tests: Remove configure feature checksSebastian Huber2018-05-023-50/+1
| | | | Update #3409.
* smptests/smpschededf02: Add test caseSebastian Huber2018-04-271-3/+8
|
* smptests/smpschedaffinity02: Fix configurationSebastian Huber2018-04-231-0/+2
|
* configure: Add subdir-objects to all automake flags.Chris Johns2018-04-111-1/+1
| | | | | | | | | | | 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.
* testsuite/smptests: Merged nested Makefile.am files into one Makefile.amChris Johns2018-04-1057-1191/+691
| | | | | | This change is part of the testsuite Makefile.am reorganization. Update #3382
* config: Use new scheduler configuration definesSebastian Huber2018-03-1217-304/+304
| | | | Update #3325.
* smptests: Fix obsolete FIXME comments/codeSebastian Huber2018-03-072-4/+2
|
* smptests/smpopenmp01: New testSebastian Huber2018-02-027-0/+510
|
* smpschededf01: Use rtems_test_busy_cpu_usage()Sebastian Huber2018-02-021-11/+5
| | | | | The rtems_test_busy() is not accurate enough and may lead to sporadic test failures.
* smpschedaffinity04: Fix configurationSebastian Huber2018-02-021-0/+2
|
* smpcapture01: Fix configurationSebastian Huber2018-02-021-0/+2
|
* Remove make preinstallChris Johns2018-01-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A speciality of the RTEMS build system was the make preinstall step. It copied header files from arbitrary locations into the build tree. The header files were included via the -Bsome/build/tree/path GCC command line option. This has at least seven problems: * The make preinstall step itself needs time and disk space. * Errors in header files show up in the build tree copy. This makes it hard for editors to open the right file to fix the error. * There is no clear relationship between source and build tree header files. This makes an audit of the build process difficult. * The visibility of all header files in the build tree makes it difficult to enforce API barriers. For example it is discouraged to use BSP-specifics in the cpukit. * An introduction of a new build system is difficult. * Include paths specified by the -B option are system headers. This may suppress warnings. * The parallel build had sporadic failures on some hosts. This patch removes the make preinstall step. All installed header files are moved to dedicated include directories in the source tree. Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc, etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g. erc32, imx, qoriq, etc. The new cpukit include directories are: * cpukit/include * cpukit/score/cpu/@RTEMS_CPU@/include * cpukit/libnetworking The new BSP include directories are: * bsps/include * bsps/@RTEMS_CPU@/include * bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include There are build tree include directories for generated files. The include directory order favours the most general header file, e.g. it is not possible to override general header files via the include path order. The "bootstrap -p" option was removed. The new "bootstrap -H" option should be used to regenerate the "headers.am" files. Update #3254.
* smptests: Fix configurationSebastian Huber2018-01-222-0/+2
| | | | Update #2843.
* smp03: Use floating-point tasksSebastian Huber2018-01-192-3/+2
| | | | This test uses sprintf().
* smp03: Use floating-point taskSebastian Huber2018-01-191-2/+1
| | | | This test uses sprintf().
* smpaffinity01: Use floating-point taskSebastian Huber2018-01-191-0/+1
| | | | This test uses sprintf().
* smp08: Use floating-point taskSebastian Huber2018-01-191-0/+1
| | | | This test uses sprintf().
* smpmigration01: Enable floating-point outputSebastian Huber2018-01-191-0/+1
|
* smpunsupported01: Add missing error check for rtems_task_modeJoel Sherrill2017-12-062-1/+13
| | | | | | Update test documentation to include more cases. Updates #3000.
* score: Optimize scheduler priority updatesSebastian Huber2017-11-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thread priority changes may append or prepend the thread to its priority group on the scheduler ready queue. Previously, a separate priority value and a prepend-it flag in the scheduler node were used to propagate a priority change to the scheduler. Now, use an append-it bit in the priority control and reduce the plain priority value to 63 bits. This change leads to a significant code size reduction (about 25%) of the SMP schedulers. The negligible increase of the standard priority scheduler is due to some additional shift operations (SCHEDULER_PRIORITY_MAP() and SCHEDULER_PRIORITY_UNMAP()). Before: text filename 136 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulersimpleblock.o 464 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulersimplechangepriority.o 24 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulersimple.o 108 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulersimpleschedule.o 292 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulersimpleunblock.o 264 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulersimpleyield.o text filename 280 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulerpriorityblock.o 488 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulerprioritychangepriority.o 200 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulerpriority.o 164 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulerpriorityschedule.o 328 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulerpriorityunblock.o 200 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulerpriorityyield.o text filename 24112 arm-rtems5/c/imx7/cpukit/score/src/libscore_a-scheduleredfsmp.o text filename 37204 sparc-rtems5/c/gr740/cpukit/score/src/libscore_a-scheduleredfsmp.o text filename 42236 powerpc-rtems5/c/qoriq_e6500_32/cpukit/score/src/libscore_a-scheduleredfsmp.o After: text filename 136 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulersimpleblock.o 272 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulersimplechangepriority.o 24 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulersimple.o 108 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulersimpleschedule.o 292 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulersimpleunblock.o 264 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulersimpleyield.o text filename 280 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulerpriorityblock.o 488 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulerprioritychangepriority.o 208 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulerpriority.o 164 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulerpriorityschedule.o 332 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulerpriorityunblock.o 200 sparc-rtems5/c/erc32/cpukit/score/src/libscore_a-schedulerpriorityyield.o text filename 18860 arm-rtems5/c/imx7/cpukit/score/src/libscore_a-scheduleredfsmp.o text filename 28520 sparc-rtems5/c/gr740/cpukit/score/src/libscore_a-scheduleredfsmp.o text filename 32664 powerpc-rtems5/c/qoriq_e6500_32/cpukit/score/src/libscore_a-scheduleredfsmp.o
* score: Fix priority ceiling updatesSebastian Huber2017-11-161-2/+56
| | | | | | | | | | | | We must not clear the priority updates in _Thread_queue_Extract_locked() since this function is used by the priority ceiling surrender operations after the ceiling priority handover from the previous owner to the new owner. This is especially important in SMP configurations. Move the _Thread_queue_Context_clear_priority_updates() invocation to the callers. Close #3237.
* score: Fix _Thread_queue_Flush_critical()Sebastian Huber2017-11-161-33/+70
| | | | | | | | | The thread queue extract operations performed by the _Thread_queue_Flush_critical() may result in a priority change of the thread queue owner. Carry out the scheduler priority update operation. This is especially important in SMP configurations. Close #3236.
* tests: Use <tmacros.h> in all testsSebastian Huber2017-11-062-4/+4
| | | | | Update #3170. Update #3199.
* tests: Use simple console driverSebastian Huber2017-11-0654-54/+54
| | | | | Update #3170. Update #3199.
* smpscheduler02: Avoid sporadic test failuresSebastian Huber2017-11-031-0/+4
|
* tests: Delete obsolete TESTS_USE_PRINTFSebastian Huber2017-11-021-1/+0
| | | | | Update #3170. Update #3199.
* smppsxaffinity02: Fix thread attribute usageSebastian Huber2017-11-021-0/+4
| | | | | | | | | The pthread_getattr_np() returns now the stack address and size. Do not use this stack for the new threads. Update #2514. Update #3145. Update #3168.
* tests: Remove TEST_INITSebastian Huber2017-10-2851-102/+0
| | | | | | | | The TEST_EXTERN is a used only by the system.h style tests and they use CONFIGURE_INIT appropriately. Update #3170. Update #3199.
* tests: Remove obsolete TESTS_USE_PRINTKSebastian Huber2017-10-289-9/+0
| | | | | Update #3170. Update #3199.
* tests: Use rtems_test_printerSebastian Huber2017-10-281-5/+2
| | | | | Update #3170. Update #3199.
* smptests: Fix format warningsSebastian Huber2017-10-262-3/+3
|
* smptests: Remove duplicate Makefile targetsSebastian Huber2017-10-251-2/+0
| | | | Close #3187.
* testsuite: Fix buildSebastian Huber2017-10-231-0/+2
| | | | Updates #3170.
* testsuite: Use printk for all test output where possible.Chris Johns2017-10-2350-0/+100
| | | | | | | | | | - Remove the printf support leaving the direct printk support configured with TESTS_USE_PRINTK and all other output goes via a buffered vsniprintf call to printk. - Control the test's single init for functions and global data with TEST_INIT and not CONFIGURE_INIT. They are now separate. Updates #3170.
* smpaffinity01: Fix test caseSebastian Huber2017-10-112-10/+10
| | | | Update #2514.
* posix: Validate affinity sets by the schedulerSebastian Huber2017-10-112-7/+7
| | | | Update #2514.
* posix: Simplify POSIX_API_ControlSebastian Huber2017-10-092-31/+38
| | | | | | | | | | | | | | | | | | | | | | | | Return stack area via pthread_getattr_np(). Simplify * pthread_attr_setaffinity_np(), and * pthread_attr_getaffinity_np() and let the scheduler do the more sophisticated error checks. Make * pthread_setaffinity_np(), * pthread_getaffinity_np(), * pthread_attr_setaffinity_np(), and * pthread_attr_getaffinity_np() available in all configurations. Update #2514. Close #3145. Close #3168.
* posix: Implement self-contained POSIX mutexSebastian Huber2017-10-051-1/+0
| | | | | | | | POSIX mutexes are now available in all configurations and no longer depend on --enable-posix. Update #2514. Update #3112.
* Include missing <limits.h>Sebastian Huber2017-08-251-0/+1
| | | | Update #2132.
* smptests: Fix format specifierSebastian Huber2017-08-222-3/+3
| | | | Update #3082.
* smptests/smpscheduler02: Remove invalid assertSebastian Huber2017-07-191-3/+1
| | | | Update #3059.
* smptests/smpscheduler01: Use right schedulerSebastian Huber2017-07-191-0/+3
| | | | Update #3063.
* tests: Use floating point taskSebastian Huber2017-07-191-0/+1
| | | | | | | These tests directly or indirectly use fprintf(), etc. which may use the floating point unit. Update #3076.
* tests: Use floating point taskSebastian Huber2017-07-181-0/+2
| | | | | | | These tests directly or indirectly use fprintf(), etc. which may use the floating point unit. Update #3076.
* rtems: Add rtems_scheduler_ident_by_processor_setSebastian Huber2017-07-111-0/+11
| | | | Update #3070.
* rtems: Add rtems_scheduler_ident_by_processor()Sebastian Huber2017-07-111-0/+6
| | | | Update #3069.
* score: Fix set schedulerSebastian Huber2017-07-101-6/+10
| | | | | | | Ensure that the thread processor affinity fits the new scheduler instance. Update #3059.
* score: Add simple affinity support to EDF SMPSebastian Huber2017-07-1012-2/+614
| | | | Update #3059.
* smptests/smpstrongapa01: SimplifySebastian Huber2017-07-071-3/+3
| | | | Update #3059.