zephyr/subsys
Andy Ross adc901aa6a subsys/ztest: Make 1cpu tests run on CPU 0 specifically
Some hardware has "interesting" configuration like asymmetric default
interrupt masking (the intel_adsp devices in particular, but x86's
IO-APIC driver has tripped over this in the past too) that needs
special treatment if you want to run something on "core 1"
specifically, and 1cpu test cases pretty much by definition are going
to have been written without SMP details in mind.  Switch the logic
around a tiny bit such that these test cases always run on CPU ID zero
explicitly.

Actually in practice this was ALMOST guaranteed to be true already,
because test setup and happens serially, having been started on the
main thread, which starts on CPU 0 by definition.  Then the test
teardown aborts all the spawned threads that might have been running
on CPUs 1+, so those reach idle, and the next test case starts
syncronously on the same thread (and thus CPU) where it started.  But
nonetheless that wasn't actually enforced, and we've found at least
one simulation environment where timing conspires to break things.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2022-03-08 16:26:26 -05:00
..
bluetooth Bluetooth: Mesh: Extended advertiser should build without relay 2022-03-08 12:32:46 +02:00
canbus canbus: isotp: ensure consecutive frames are sent in FIFO order 2022-02-21 19:37:35 -05:00
console
cpp cpp: remove @return doc for void functions 2022-01-12 16:02:16 -05:00
debug debug: thread_analyzer: Use bigger stack in certain configurations 2022-02-22 14:44:11 +01:00
demand_paging
dfu
disk
emul
fb samples: use chosen property to get default display controller 2021-12-10 12:47:30 +01:00
fs modules: littlefs: move CMake glue code from littlefs repo into Zephyr 2022-03-02 15:34:11 +01:00
ipc ipc_service: Start the wq only once 2022-03-07 10:52:51 +01:00
jwt
logging logging: Add prompt to LOG2_ALWAYS_RUNTIME option 2022-03-08 12:36:28 +01:00
lorawan
mgmt mgmt/mcumgr/lib: Fix taskstat thread name processing 2022-03-07 10:53:20 +01:00
modbus all: Deprecate UTIL_LISTIFY and replace with LISTIFY 2022-03-08 11:03:30 +01:00
net openthread: net: implementing of otPlatRadioSetChannelMaxTransmitPower 2022-03-08 09:21:48 -06:00
pm all: Deprecate UTIL_LISTIFY and replace with LISTIFY 2022-03-08 11:03:30 +01:00
portability portability: cmsis: use correct type for atomics 2021-11-15 09:59:01 -05:00
random random: remove @return doc for void functions 2022-01-12 16:02:16 -05:00
settings settings: use nvs_mount 2022-03-01 12:46:34 +01:00
shell ring_buffer: make finish methods final 2022-02-28 10:52:41 +01:00
stats
storage storage/flash_map: Use larger type for alignment 2021-12-30 16:32:02 -05:00
task_wdt task_wdt: fix overflow in current_ticks making wdt get stuck 2021-11-22 20:22:11 -05:00
testsuite subsys/ztest: Make 1cpu tests run on CPU 0 specifically 2022-03-08 16:26:26 -05:00
timing
tracing tracing_user: Add ISR nest level parameter 2022-01-21 14:38:35 -05:00
usb all: Deprecate UTIL_LISTIFY and replace with LISTIFY 2022-03-08 11:03:30 +01:00
CMakeLists.txt
Kconfig