summaryrefslogtreecommitdiffstats
path: root/testsuites/smptests/smpcache01 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Canonicalize config.h includeSebastian Huber2020-04-161-1/+1
| | | | | | | | Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
* smptests: Move SMP broadcast action test caseSebastian Huber2019-05-201-40/+1
|
* score: More robust _SMP_Multicast_action()Sebastian Huber2019-04-121-4/+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: Rework SMP multicast actionSebastian Huber2019-04-121-1/+4
| | | | | 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-121-38/+20
| | | | Processor_mask is the internal data type to deal with processor sets.
* rtems: Add rtems_scheduler_get_processor_maximum()Sebastian Huber2019-04-091-6/+11
| | | | | | | | | | | 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-091-6/+6
| | | | | | | | | | | 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.
* 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.
* testsuite/smptests: Merged nested Makefile.am files into one Makefile.amChris Johns2018-04-101-19/+0
| | | | | | This change is part of the testsuite Makefile.am reorganization. Update #3382
* tests: Use simple console driverSebastian Huber2017-11-061-1/+1
| | | | | Update #3170. Update #3199.
* tests: Remove TEST_INITSebastian Huber2017-10-281-2/+0
| | | | | | | | The TEST_EXTERN is a used only by the system.h style tests and they use CONFIGURE_INIT appropriately. Update #3170. Update #3199.
* testsuite: Use printk for all test output where possible.Chris Johns2017-10-231-0/+2
| | | | | | | | | | - 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.
* smpcache01: Fix test to run on QorIQ T4240Sebastian Huber2017-04-051-31/+70
|
* Rename CONFIGURE_SMP_MAXIMUM_PROCESSORSSebastian Huber2017-02-141-1/+1
| | | | | | | Rename CONFIGURE_SMP_MAXIMUM_PROCESSORS to CONFIGURE_MAXIMUM_PROCESSORS since the SMP part is superfluous. Update #2894.
* Remove CONFIGURE_SMP_APPLICATIONSebastian Huber2017-02-021-2/+0
| | | | | | Enable the SMP support if CONFIGURE_SMP_MAXIMUM_PROCESSORS > 1. Update #2893.
* score: Rename _ISR_Disable_without_giant()Sebastian Huber2016-05-201-2/+2
| | | | | | | | | Rename _ISR_Disable_without_giant() into _ISR_Local_disable(). Rename _ISR_Enable_without_giant() into _ISR_Local_enable(). This is a preparation to remove the Giant lock. Update #2555.
* testsuites: Avoid Giant lockSebastian Huber2016-05-201-9/+8
| | | | | | | | | Replace _Thread_Disable_dispatch() with _Thread_Dispatch_disable(). Replace _Thread_Enable_dispatch() with _Thread_Dispatch_enable(). This is a preparation to remove the Giant lock. Update #2555.
* smptests/smpcache01: RestructureSebastian Huber2015-05-152-109/+105
| | | | Restructure to avoid large maximum thread dispatch disabled times.
* 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
|
* smptests: Do not use Giant directlySebastian Huber2015-03-041-4/+4
| | | | | This ensures that thread dispatching is disabled. A Giant acquire/release pair must take place in the same processor.
* 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/smpcache01: Test the SMP cache managerDaniel Cederman2014-08-224-0/+340
Invokes SMP cache management routines under different scenarios.