1common:
2  tags:
3    - kernel
4    - security
5  min_ram: 32
6  integration_platforms:
7    - qemu_x86
8    - qemu_x86/atom/nommu
9    - qemu_x86_64
10    - qemu_cortex_a53
11    - qemu_cortex_a53/qemu_cortex_a53/smp
12    - qemu_cortex_m3
13    - qemu_riscv32
14    - qemu_riscv32e
15    - qemu_riscv64
16    - qemu_riscv64/qemu_virt_riscv64/smp
17
18# Permutations of (pool | alloc | user)
19tests:
20  kernel.threads.dynamic_thread.stack.no_pool.no_alloc.no_user:
21    extra_configs:
22      # 000
23      - CONFIG_DYNAMIC_THREAD_POOL_SIZE=0
24      - CONFIG_DYNAMIC_THREAD_ALLOC=n
25      - CONFIG_USERSPACE=n
26  kernel.threads.dynamic_thread.stack.no_pool.no_alloc.user:
27    tags: userspace
28    extra_configs:
29      # 001
30      - CONFIG_DYNAMIC_THREAD_POOL_SIZE=0
31      - CONFIG_DYNAMIC_THREAD_ALLOC=n
32      - CONFIG_USERSPACE=y
33  kernel.threads.dynamic_thread.stack.no_pool.alloc.no_user:
34    extra_configs:
35      # 010
36      - CONFIG_DYNAMIC_THREAD_POOL_SIZE=0
37      - CONFIG_DYNAMIC_THREAD_ALLOC=y
38      - CONFIG_DYNAMIC_THREAD_PREFER_ALLOC=y
39      - CONFIG_USERSPACE=n
40  kernel.threads.dynamic_thread.stack.no_pool.alloc.user:
41    tags: userspace
42    extra_configs:
43      # 011
44      - CONFIG_DYNAMIC_THREAD_POOL_SIZE=0
45      - CONFIG_DYNAMIC_THREAD_ALLOC=y
46      - CONFIG_DYNAMIC_THREAD_PREFER_ALLOC=y
47      - CONFIG_USERSPACE=y
48  kernel.threads.dynamic_thread.stack.pool.no_alloc.no_user:
49    extra_configs:
50      # 100
51      - CONFIG_DYNAMIC_THREAD_POOL_SIZE=2
52      - CONFIG_DYNAMIC_THREAD_ALLOC=n
53      - CONFIG_USERSPACE=n
54  kernel.threads.dynamic_thread.stack.pool.no_alloc.user:
55    tags: userspace
56    extra_configs:
57      # 101
58      - CONFIG_DYNAMIC_THREAD_POOL_SIZE=2
59      - CONFIG_DYNAMIC_THREAD_ALLOC=n
60      - CONFIG_USERSPACE=y
61  kernel.threads.dynamic_thread.stack.pool.alloc.no_user:
62    extra_configs:
63      # 110
64      - CONFIG_DYNAMIC_THREAD_PREFER_ALLOC=y
65      - CONFIG_DYNAMIC_THREAD_POOL_SIZE=2
66      - CONFIG_DYNAMIC_THREAD_ALLOC=y
67      - CONFIG_USERSPACE=n
68  kernel.threads.dynamic_thread.stack.pool.alloc.user:
69    tags: userspace
70    extra_configs:
71      # 111
72      - CONFIG_DYNAMIC_THREAD_PREFER_ALLOC=y
73      - CONFIG_DYNAMIC_THREAD_POOL_SIZE=2
74      - CONFIG_DYNAMIC_THREAD_ALLOC=y
75      - CONFIG_USERSPACE=y
76