zephyr/tests/kernel
Andy Ross 015b4f7303 tests/kernel: Coherence: no shared data on stacks
A fairly common idiom in our test code is to put test-local data
structures onto the stack, even when they are to be used from another
thread.  But stacks are incoherent memory on some platforms, which
means that such things may not get a consistent view of memory between
threads.

Just make these things static.  A few of these spots were causing test
failures on intel_adsp_cavs15.  More were found by inspection while
hunting for mistakes.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2021-02-11 14:47:40 -05:00
..
common tests/kernel: Coherence: no shared data on stacks 2021-02-11 14:47:40 -05:00
condvar/condvar_api tests: kernel: add test for condition variables 2021-01-19 08:55:47 -05:00
context Revert "tests: context: disable if DEMAND_PAGING" 2021-02-02 21:57:43 -05:00
device tests: device: add two more error case testing 2021-01-15 12:18:16 -05:00
early_sleep
fatal logging: Revamp menuconfig 2021-01-26 06:15:42 -05:00
fifo tests/queue: Remove fifo/queue "poll" variant tests 2020-11-11 10:59:52 -05:00
fpu_sharing tests: enable and run many tests on RISC-V 2021-01-15 13:06:33 -05:00
gen_isr_table tests: kernel: gen_isr_table: Exclude stm32f103_mini board 2020-12-03 10:54:38 -06:00
interrupt
lifo tests/kernel: Coherence: no shared data on stacks 2021-02-11 14:47:40 -05:00
mbox tests/kernel: Coherence: no shared data on stacks 2021-02-11 14:47:40 -05:00
mem_heap test: kheap: add testcase 2021-01-18 23:19:33 -05:00
mem_protect tests: memory protect: add some error test cases 2021-02-05 08:29:44 -05:00
mem_slab test: mslab: improve coverage for mslab 2021-01-12 22:16:33 -05:00
mp tests: improve test case descriptions of arch layer interface 2020-10-30 15:55:42 +01:00
msgq/msgq_api tests/kernel: Coherence: no shared data on stacks 2021-02-11 14:47:40 -05:00
mutex tests: mutex: remove and refine some error test cases 2021-01-15 12:13:52 -05:00
obj_tracing
pending
pipe kernel: subsys: lib: drivers: Use k_heap instead of z_mem_pool wrappers 2020-12-07 21:50:14 -05:00
poll kernel: subsys: lib: drivers: Use k_heap instead of z_mem_pool wrappers 2020-12-07 21:50:14 -05:00
profiling/profiling_api tests: exclude nrf5340dk_nrf5340_cpunet when CONFIG_PM=y 2021-02-01 15:05:03 -05:00
queue tests/kernel: Coherence: no shared data on stacks 2021-02-11 14:47:40 -05:00
sched tests/sched/deadline: Fix precision rollover 2021-02-03 13:10:33 -05:00
semaphore/semaphore kernel: semaphore: Add some error case testing for semaphore 2021-01-18 22:10:09 -05:00
sleep
smp Tests: Minor change in description and group of SMP test cases 2020-11-03 11:04:50 +01:00
spinlock spinlock: validate: fix the dependency with MP_NUM_CPUS 2021-01-26 08:43:45 -05:00
stack/stack tests: stack: remove and refine some test cases 2021-01-15 11:18:40 -05:00
threads tests/kernel/thread_stack: Fix KERNEL_COHERENCE interactions 2021-02-11 14:47:40 -05:00
tickless tests: exclude nrf5340dk_nrf5340_cpunet when CONFIG_PM=y 2021-02-01 15:05:03 -05:00
timer tests: exclude nrf5340dk_nrf5340_cpunet when CONFIG_PM=y 2021-02-01 15:05:03 -05:00
workq test: workqueue: imporve coverage for workqueue 2021-01-04 16:25:40 +01:00
xip