zephyr/tests
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
..
application_development/gen_inc_file cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
arch tests: arm64: add GICv3 ITS test suite 2021-09-28 19:45:29 -04:00
benchmarks tests: benchmarks: latency_measure: fix potential div by zero 2021-09-08 10:28:58 -04:00
bluetooth tests: Bluetooth: mesh: Remove explicit disable of CSA#2 2021-10-06 11:36:12 -05:00
boards cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
crypto cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
drivers tests: drivers: spi loopback running on stm32u585 disco kit 2021-10-05 19:23:37 -04:00
kernel tests/msgq_usage: Correct memory usage for cache-incoherent platforms 2021-10-06 17:40:53 -04:00
lib lib: smf: Add State Machine Framework 2021-10-04 20:33:11 -04:00
misc cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
net tests: net: dns_sd, mdns: support service type enumeration 2021-10-01 20:11:50 -04:00
posix tests: posix: common: clock: remove poorly conditioned tests 2021-09-09 21:20:27 -04:00
subsys tests: logging: remove definition of SYS_CLOCK_HW_CYCLES_PER_SEC 2021-10-06 19:25:41 +02:00
unit lib/os/cbprintf_nano.c: avoid sign extension on unsigned formats 2021-09-02 19:37:06 -04:00
ztest tests: ztests: error_hook: Fix for Armv8R aarch64 2021-09-28 20:06:06 -04:00