zephyr/tests/kernel/msgq/msgq_usage
Andy Ross 13d3036e37 tests/msgq_usage: Correct memory usage for cache-incoherent platforms
When CONFIG_KERNEL_COHERENCE=y (e.g on the various intel_adsp
platforms under SMP) it's not legal to share stack memory between
CPUs, because the stack is cached, and the L1 cache is incoherent.
The kernel will automatically detect the mistake when the memory
contains a kernel object (spinlock, IPC object, etc...).  But here the
test was just passing async buffers into the msgq layer, and nothing
watches that.

The fix is simple: make them static.

Fixes #35857

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2021-10-06 17:40:53 -04:00
..
src tests/msgq_usage: Correct memory usage for cache-incoherent platforms 2021-10-06 17:40:53 -04:00
CMakeLists.txt
prj.conf
testcase.yaml tests: added kernel tests for arm arch with linker script generator 2021-08-30 08:54:23 -04:00