zephyr/tests/kernel/threads
Andy Ross 95bcba5946 tests/kernel/thread_stack: Fix KERNEL_COHERENCE interactions
Thread stack memory on coherence platforms needs to be linked into a
special section (so it can be cached).

Also, the test_idle_stack case just can't work with coherence.  It's
measuring the CPU's idle stack's unused data, which was initialized at
boot from CPU0, and not necessarily the CPU on which the test is
running.  In practice on intel_adsp_cavs15, our CPU has stale zeroes
in the cache for its unused stack area (presumably from a firmware
memory clear at boot or something?).  Making this work would require a
cache invalidate on all CPUs at boot time before the idle threads
start, we can't do it here in the test because we don't know where the
idle stack pointer is.

Too much work for an esoteric stack size test, basically.  Just
disable on these platforms.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2021-02-11 14:47:40 -05:00
..
dynamic_thread tests: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
no-multithreading boards: Add BT510 support 2020-08-14 12:58:03 -05:00
thread_apis tests: thread: refine the thread abort test case 2021-01-24 14:18:00 -05:00
thread_error_case tests: kernel: Add some testcases for thread 2021-01-24 14:13:29 -05:00
thread_init ztest: remove ztest_mem_domain 2020-08-26 20:35:02 -04:00
thread_stack tests/kernel/thread_stack: Fix KERNEL_COHERENCE interactions 2021-02-11 14:47:40 -05:00
tls tests: threads/tls: add more thread variables 2021-02-07 23:28:43 -05:00