zephyr/tests/kernel
Kumar Gala 1c8f1cd590 tests: kernel: interrupt: workaround qemu_x86 interrupt issue
qemu_x86 seems to take an extra instruction after the sti instruction
(irq_unlock) happens before it posts the interrupts.  This can issues
if the instruction after the sti ends up reading the state that is
suppose to be updated by the ISR handler.

We see this behavior when building with LLVM.  To workaround this issue
we add an arch_nop() to provide an extra instruction to allow the
interrupts to post.

Opened zephyrproject-rtos/sdk-ng#629 to track qemu issue.

Signed-off-by: Kumar Gala <kumar.gala@intel.com>
2023-02-21 16:17:20 -05:00
..
cache tests: cache: Add cache test 2022-12-01 13:40:56 -05:00
common ARC: MWDT add TLS support 2022-11-29 09:48:23 +01:00
condvar/condvar_api yamllint: fix all yamllint truthy errors 2023-01-04 01:16:45 +09:00
context tests: kernel: Provide more stack space for context test 2023-01-26 10:04:33 +00:00
device ztest: improve some tests 2022-09-09 07:05:38 -04:00
early_sleep tests: kernel: cleanup test meta-data 2022-11-04 22:13:54 -04:00
events yamllint: fix all yamllint truthy errors 2023-01-04 01:16:45 +09:00
fatal tests: kernel: cpu_exception: Make expected reason code generic. 2023-02-02 18:35:01 -05:00
fifo tests: kernel: fifo_timeout: Do not print status messages during tests 2022-12-05 13:38:16 +01:00
fpu_sharing tests: Fix floating point test variants on x86 w/LLVM 2023-02-21 08:25:38 -05:00
gen_isr_table tests: kernel: cleanup test meta-data 2022-11-04 22:13:54 -04:00
interrupt tests: kernel: interrupt: workaround qemu_x86 interrupt issue 2023-02-21 16:17:20 -05:00
lifo tests: kernel: cleanup test meta-data 2022-11-04 22:13:54 -04:00
mbox tests: kernel: cleanup test meta-data 2022-11-04 22:13:54 -04:00
mem_heap boards: mps2_an521: clean up memory map 2023-02-19 20:55:47 -05:00
mem_protect riscv: pmp: provision for implementations with partial PMP support 2023-02-20 10:57:11 +01:00
mem_slab tests/samples: use integration_plaforms in more tests/samples 2022-11-29 16:03:23 +01:00
mp tests: kernel: cleanup test meta-data 2022-11-04 22:13:54 -04:00
msgq tests: kernel: cleanup test meta-data 2022-11-04 22:13:54 -04:00
mutex tests: use ignore_fault field instead of tags 2022-11-25 06:38:05 -05:00
obj_tracking tests: kernel: Add events to object tracking 2023-02-02 20:21:12 +09:00
pending tests: move to using CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
pipe yamllint: indentation: fix files in tests/ 2023-01-04 14:23:53 +01:00
poll tests: use ignore_fault field instead of tags 2022-11-25 06:38:05 -05:00
profiling/profiling_api test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
queue tests: use ignore_fault field instead of tags 2022-11-25 06:38:05 -05:00
sched renode: Add Renode overlays for selected tests 2023-01-25 14:02:29 -08:00
semaphore tests: use ignore_fault field instead of tags 2022-11-25 06:38:05 -05:00
sleep tests: move to using CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
smp tests: smp: fix fatal on smp test case 2023-01-17 21:51:26 +00:00
smp_boot_delay tests/samples: use integration_plaforms in more tests/samples 2022-11-29 16:03:23 +01:00
spinlock tests: spin lock timeout test spin time 2022-12-14 13:44:36 -06:00
stack/stack tests: use ignore_fault field instead of tags 2022-11-25 06:38:05 -05:00
threads yamllint: fix all yamllint line-length errors 2023-01-04 01:16:45 +09:00
tickless/tickless_concept tests: move to using CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
timer tests: kernel: timer_behavior: improve the timer_jitter_drift output 2023-02-19 20:34:37 -05:00
usage/thread_runtime_stats renode: Add Renode overlays for selected tests 2023-01-25 14:02:29 -08:00
workq yamllint: indentation: fix files in tests/ 2023-01-04 14:23:53 +01:00
xip tests: kernel: cleanup test meta-data 2022-11-04 22:13:54 -04:00