zephyr/tests/kernel/msgq
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
..
msgq_api cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
msgq_usage tests/msgq_usage: Correct memory usage for cache-incoherent platforms 2021-10-06 17:40:53 -04:00