zephyr/tests/kernel/mp/prj.conf
Andy Ross 8fe7d9d6df tests/kernel/mp: Must enable KERNEL_COHERENCE explicitly
This is test assumes that shared static/global variables are coherent
between the CPUs.  That's true on incoherent platforms only when
CONFIG_KERNEL_COHERENCE=y.  Normally that gets turned on along with
SMP, but this is using the lower level mp API directly and didn't have
that.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2022-01-21 13:22:15 -05:00

7 lines
176 B
Plaintext

CONFIG_ZTEST=y
CONFIG_SMP=n
# Must have this on where available, otherwise the linker will place
# the shared variables in cached/incoherent memory.
CONFIG_KERNEL_COHERENCE=y