summaryrefslogtreecommitdiff
path: root/testsuites/smptests/smpcache01 (follow)
AgeCommit message (Collapse)Author
2020-04-16Canonicalize config.h includeSebastian Huber
Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
2019-05-20smptests: Move SMP broadcast action test caseSebastian Huber
2019-04-12score: More robust _SMP_Multicast_action()Sebastian Huber
If the caller already disabled interrupts, then do not disable thread dispatching. Calling _SMP_Multicast_action() with interrupts disabled is a questionable use case.
2019-04-12score: Rework SMP multicast actionSebastian Huber
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.
2019-04-12score: Use processor mask in _SMP_Multicast_actionSebastian Huber
Processor_mask is the internal data type to deal with processor sets.
2019-04-09rtems: Add rtems_scheduler_get_processor_maximum()Sebastian Huber
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.
2019-04-09rtems: Add rtems_scheduler_get_processor()Sebastian Huber
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.
2018-11-26Remove rtems_cache_*_processor_set() functionsSebastian Huber
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.
2018-04-10testsuite/smptests: Merged nested Makefile.am files into one Makefile.amChris Johns
This change is part of the testsuite Makefile.am reorganization. Update #3382
2017-11-06tests: Use simple console driverSebastian Huber
Update #3170. Update #3199.
2017-10-28tests: Remove TEST_INITSebastian Huber
The TEST_EXTERN is a used only by the system.h style tests and they use CONFIGURE_INIT appropriately. Update #3170. Update #3199.
2017-10-23testsuite: Use printk for all test output where possible.Chris Johns
- 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.
2017-04-05smpcache01: Fix test to run on QorIQ T4240Sebastian Huber
2017-02-14Rename CONFIGURE_SMP_MAXIMUM_PROCESSORSSebastian Huber
Rename CONFIGURE_SMP_MAXIMUM_PROCESSORS to CONFIGURE_MAXIMUM_PROCESSORS since the SMP part is superfluous. Update #2894.
2017-02-02Remove CONFIGURE_SMP_APPLICATIONSebastian Huber
Enable the SMP support if CONFIGURE_SMP_MAXIMUM_PROCESSORS > 1. Update #2893.
2016-05-20score: Rename _ISR_Disable_without_giant()Sebastian Huber
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.
2016-05-20testsuites: Avoid Giant lockSebastian Huber
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.
2015-05-15smptests/smpcache01: RestructureSebastian Huber
Restructure to avoid large maximum thread dispatch disabled times.
2015-04-22smptests/smpcache01: Enable interrupts before waiting for other CPUsDaniel Cederman
Otherwise there is a risk that a CPU misses a cache manager message from another CPU and the test hangs.
2015-04-20score: Refactor SMP cache manager supportSebastian Huber
2015-03-04smptests: Do not use Giant directlySebastian Huber
This ensures that thread dispatching is disabled. A Giant acquire/release pair must take place in the same processor.
2014-09-16smptests/smpcache01: Remove invalidation of data cache lines from testDaniel Cederman
Invalidation of entire data cache might cause data written to the stack to get lost.
2014-08-22smptests/smpcache01: Test the SMP cache managerDaniel Cederman
Invokes SMP cache management routines under different scenarios.