zephyr/tests/kernel
Andrew Boie e09a0255da kernel: sychronize irq_offload() access
Entering irq_offload() on multiple CPUs can cause
difficult to debug/reproduce crashes. Demote irq_offload()
to non-inline (it never needed to be inline anyway) and
wrap the arch call in a semaphore.

Some tests which were unnecessarily killing threads
have been fixed; these threads exit by themselves anyway
and we won't leave the semaphore dangling.

The definition of z_arch_irq_offload() moved to
arch_interface.h as it only gets called by kernel C code.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2019-11-08 15:16:43 -08:00
..
common kernel/sys_clock.h: Deprecate and convert uses of old conversions 2019-11-08 11:08:58 +01:00
context kernel/sys_clock.h: Deprecate and convert uses of old conversions 2019-11-08 11:08:58 +01:00
critical tests: updated names for the kernel tests 2019-10-22 22:55:35 -04:00
device x86: consolidate x86_64 architecture, SoC and boards 2019-10-25 17:57:55 -04:00
early_sleep kernel/sys_clock.h: Deprecate and convert uses of old conversions 2019-11-08 11:08:58 +01:00
fatal headers: Refactor kernel and arch headers. 2019-11-06 16:07:32 -08:00
fifo kernel/sys_clock.h: Deprecate and convert uses of old conversions 2019-11-08 11:08:58 +01:00
fp_sharing kernel: rename z_arch_ to arch_ 2019-11-07 15:21:46 -08:00
gen_isr_table kernel: rename z_arch_ to arch_ 2019-11-07 15:21:46 -08:00
interrupt kernel: rename z_arch_ to arch_ 2019-11-07 15:21:46 -08:00
lifo kernel/sys_clock.h: Deprecate and convert uses of old conversions 2019-11-08 11:08:58 +01:00
mbox tests: new updated names for the kernel tests 2019-10-24 06:25:53 -04:00
mem_heap/mheap_api_concept malloc: make sure returned memory is properly aligned 2019-07-03 14:17:29 -07:00
mem_pool headers: Refactor kernel and arch headers. 2019-11-06 16:07:32 -08:00
mem_protect kernel: sychronize irq_offload() access 2019-11-08 15:16:43 -08:00
mem_slab tests: new updated names for the kernel tests 2019-10-24 06:25:53 -04:00
mp kernel: rename z_arch_ to arch_ 2019-11-07 15:21:46 -08:00
msgq/msgq_api coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
mutex coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
obj_tracing coccinelle: standardize kernel API timeout arguments 2019-10-03 11:55:44 -07:00
pending tests: updated names for the kernel tests 2019-10-22 22:55:35 -04:00
pipe tests: new updated names for the kernel tests 2019-10-24 06:25:53 -04:00
poll coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
profiling/profiling_api tests: Never disable SMP 2019-09-26 16:54:06 -04:00
queue coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
sched kernel/sys_clock.h: Deprecate and convert uses of old conversions 2019-11-08 11:08:58 +01:00
semaphore kernel: sychronize irq_offload() access 2019-11-08 15:16:43 -08:00
sleep kernel/sys_clock.h: Deprecate and convert uses of old conversions 2019-11-08 11:08:58 +01:00
smp kernel: rename z_arch_ to arch_ 2019-11-07 15:21:46 -08:00
spinlock kernel: rename z_arch_ to arch_ 2019-11-07 15:21:46 -08:00
stack coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
threads headers: Refactor kernel and arch headers. 2019-11-06 16:07:32 -08:00
tickless kernel/sys_clock.h: Deprecate and convert uses of old conversions 2019-11-08 11:08:58 +01:00
timer kernel/sys_clock.h: Deprecate and convert uses of old conversions 2019-11-08 11:08:58 +01:00
workq kernel/sys_clock.h: Deprecate and convert uses of old conversions 2019-11-08 11:08:58 +01:00
xip x86: fix XIP SOC support and defaults 2019-09-11 21:11:38 -04:00