zephyr/tests/kernel
Tomasz Moń c55266a925 tests: kernel: timer_behavior: Decrease tick rate for nRF
Nordic targets use 24-bit RTC peripheral for system clock. Nordic system
clock timeout implementation relies on RTC CC (capture compare) when
the timeout is in future. Nordic system clock driver allows setting
alarm only to 3 or more counts from current counter value due to silicon
limitation (to ensure that CC event triggers before counter overflow).

RTC CC limitation does not have much impact on normal applications where
there is no need to schedule such short timeouts, but is problematic in
a timer test that expects being able to repeatedly schedule timeouts on
subsequent ticks.

Reduce system tick rate to 8192 on nRF targets to allow setting CC to
the very next tick. With system tick rate being 4 times less than the
hardware tick rate, it is always possible to schedule timeout to happen
in the next tick because ticks are 4 counts apart, i.e. current timer
value + 3 never runs past the next tick.

Fixes: #54211

Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
2023-04-05 08:30:15 +02:00
..
cache tests: cache: Add cache test 2022-12-01 13:40:56 -05:00
common util: Replace all POSIX arch busy_waits with Z_SPIN_DELAY 2023-03-04 22:14:04 +01:00
condvar/condvar_api yamllint: fix all yamllint truthy errors 2023-01-04 01:16:45 +09:00
context util: Replace all POSIX arch busy_waits with Z_SPIN_DELAY 2023-03-04 22:14:04 +01:00
device tests: Remove references to deleted board "beaglev_starlight_jh7100". 2023-03-31 07:13:24 -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: print FAILED when wrong faults caught 2023-02-21 18:06:44 -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 tests: mem_protect/syscalls: print FAILED when faulting 2023-03-27 20:13:22 -04: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 tests: kernel: print FAILED when wrong faults caught 2023-02-21 18:06:44 -05:00
poll tests: use ignore_fault field instead of tags 2022-11-25 06:38:05 -05:00
profiling/profiling_api tests: mark testcases with pm where CONFIG_PM=y is forced 2023-04-04 13:34:45 +02:00
queue tests: use ignore_fault field instead of tags 2022-11-25 06:38:05 -05:00
sched util: Replace all POSIX arch busy_waits with Z_SPIN_DELAY 2023-03-04 22:14:04 +01:00
semaphore tests: use ignore_fault field instead of tags 2022-11-25 06:38:05 -05:00
sleep util: Replace all POSIX arch busy_waits with Z_SPIN_DELAY 2023-03-04 22:14:04 +01:00
smp tests/kernel/smp: Limit 'stress' tests based on factor 2023-03-30 09:44:00 -04: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 samples and tests: Add REQUIRED to Zephyr find_package call 2023-03-02 09:58:27 +01:00
tickless/tickless_concept tests: mark testcases with pm where CONFIG_PM=y is forced 2023-04-04 13:34:45 +02:00
timer tests: kernel: timer_behavior: Decrease tick rate for nRF 2023-04-05 08:30:15 +02:00
usage/thread_runtime_stats renode: Add Renode overlays for selected tests 2023-01-25 14:02:29 -08:00
workq util: Replace all POSIX arch busy_waits with Z_SPIN_DELAY 2023-03-04 22:14:04 +01:00
xip tests: kernel: cleanup test meta-data 2022-11-04 22:13:54 -04:00