zephyr/tests/kernel/fatal/exception
Daniel Leung b70d44c94d tests: fatal/exception: pin stack before stack overflow test
For hardware stack overflow test, pin the whole stack if
demand paging is enabled and generic sections are not all present
at boot. The whole stack may not be in memory at the time of
test, which would result in double fault (exception being
handled + page fault). So make sure the stack is in physical
memory and mapped before doing any tests.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2021-08-26 21:16:22 -04:00
..
src tests: fatal/exception: pin stack before stack overflow test 2021-08-26 21:16:22 -04:00
CMakeLists.txt cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
prj_arm_fpu_sharing.conf
prj_armv8m_mpu_stack_guard.conf
prj.conf
protection_no_userspace.conf
README
sentinel.conf tests/kernel/fatal/exception: Remove ticked kernel from stack sentinel test 2021-01-04 20:40:55 -05:00
testcase.yaml tests: add fpu tag the tests which enable FPU and FPU_SHARING options 2021-06-22 08:45:41 -04:00

This test case verifies that kernel fatal error handling works correctly.

If a thread causes a CPU exception, and it is not in an ISR or "essential"
thread, the thread gets aborted and the rest of the system executes normally.