zephyr/tests/kernel/mem_protect/userspace
Carlo Caione 807991e15f AArch64: Do not use CONFIG_GEN_PRIV_STACKS
We are setting CONFIG_GEN_PRIV_STACKS when AArch64 actually uses a
statically allocated privileged stack.

This error was not captured by the tests because we only verify whether
a read/write to a privileged stack is failing, but it can fail for a lot
of reasons including when the pointer to the privileged stack is not
initialized at all, like in this case.

With this patch we deselect CONFIG_GEN_PRIV_STACKS and we fix the
mem_protect/userspace test to correctly probe the privileged stack.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2021-03-25 07:23:19 -04:00
..
src AArch64: Do not use CONFIG_GEN_PRIV_STACKS 2021-03-25 07:23:19 -04:00
CMakeLists.txt tests: make find_package(Zephyr...) REQUIRED 2020-05-29 10:47:25 +02:00
prj.conf tests: userspace: Do not assign promptless THREAD_USERSPACE_LOCAL_DATA 2020-01-13 19:04:27 +01:00
testcase.yaml tests: remove nrf5340 PDK boards from test .yml files 2021-02-15 07:59:43 -05:00