zephyr/tests/kernel
Andrzej Głąbek 4d511cfb6a tests: timer_api: Decrease tick rate for nRF RTC timer
The default tick rate for the nRF RTC timer is 32768 Hz, so one tick
is ~30 us. This turns out to be too little for the following loop
executed in user mode on the Network core in nRF5340:
```
	do {
		t0 = k_uptime_ticks();
		rem_ticks = k_timer_remaining_ticks(&remain_timer);
		t1 = k_uptime_ticks();
	} while (t0 != t1);
```
The time between the two calls to `k_uptime_tick()` is there always
above 30 us, so the loop never ends.

This patch decreases the tick rate for all nRF platforms because on
other nRf SoCs the time mentioned above is also close to 30 us and
apparently changes in code completely unrelated to this test affect
execution time of system calls in the above loop - the test started
to fail after commit 0014dd05f0 that
changes fdtable was merged and if `fdtable.c` is for example just
temporarily excluded from the build, the test passes.

The root cause of the problem seems to be related to user space
handling and this should to be investigated further. This patch
is applied only to allow this test to pass for the time being.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2023-06-12 14:04:56 -04:00
..
cache tests: improve filtering and use integration_platforms 2023-05-24 07:50:50 -04:00
common tests/kernel/common: Add an explicit test using the minimal C library 2023-05-27 06:23:31 -04:00
condvar/condvar_api samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
context test: Change loop calibration count initialization 2023-06-02 17:43:59 -04:00
device samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
early_sleep tests: remove linker_generator sub tests from kernel 2023-06-02 04:47:06 -04:00
events tests: remove linker_generator sub tests from kernel 2023-06-02 04:47:06 -04:00
fatal tests: kernel: add qemu_riscv to no-multithreading tests 2023-05-12 09:56:40 +02:00
fifo tests: remove linker_generator sub tests from kernel 2023-06-02 04:47:06 -04:00
fpu_sharing test: kernel: fpu_sharing: Fix text exception by increasing the stack size 2023-05-30 10:14:55 +02:00
gen_isr_table riscv: Rename Kconfig symbol to *_PRIVILEGED 2023-06-09 11:46:29 -04:00
interrupt tests: remove linker_generator sub tests from kernel 2023-06-02 04:47:06 -04:00
lifo tests: remove linker_generator sub tests from kernel 2023-06-02 04:47:06 -04:00
mbox tests: remove linker_generator sub tests from kernel 2023-06-02 04:47:06 -04:00
mem_heap tests: remove linker_generator sub tests from kernel 2023-06-02 04:47:06 -04:00
mem_protect tests: userspace: Support mimxrtXXX_evk_cm33 2023-06-01 19:02:58 -04:00
mem_slab tests: remove linker_generator sub tests from kernel 2023-06-02 04:47:06 -04:00
mp tests: remove linker_generator sub tests from kernel 2023-06-02 04:47:06 -04:00
msgq tests: remove linker_generator sub tests from kernel 2023-06-02 04:47:06 -04:00
mutex tests: sys_mutex: cleanup test metadata 2023-05-25 04:44:11 -04:00
obj_tracking tests: kernel: Add events to object tracking 2023-02-02 20:21:12 +09:00
pending
pipe samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
poll samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
profiling/profiling_api samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
queue samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
sched tests: remove linker_generator sub tests from kernel 2023-06-02 04:47:06 -04:00
semaphore samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
sleep samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
smp tests: remove linker_generator sub tests from kernel 2023-06-02 04:47:06 -04:00
smp_boot_delay samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
spinlock samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
stack/stack samples, tests: convert string-based twister lists to YAML lists 2023-05-10 09:52:37 +02:00
threads tests: improve filtering and use integration_platforms 2023-05-24 07:50:50 -04:00
tickless/tickless_concept pm: rt5xx: Enable OS Timer as wakeup source 2023-05-16 18:19:35 +02:00
timer tests: timer_api: Decrease tick rate for nRF RTC timer 2023-06-12 14:04:56 -04:00
usage/thread_runtime_stats tests: kernel: usage: Relax timing requirements for RISCV 2023-05-27 06:26:13 -04:00
workq tests: remove linker_generator sub tests from kernel 2023-06-02 04:47:06 -04:00
xip tests: remove linker_generator sub tests from kernel 2023-06-02 04:47:06 -04:00