What is the changed? CPU affinity test for SMP cores will now cover a change in ROM offset. How is it changed? Add a new testcase section with ROM offset set to something other than the default 0. Why is it change? There is no test to cover the issue reported in #76182 and the cpu affinity test is the closest to test the issue. Adding a new testcase will makes sure there is no breaking change in the future. Signed-off-by: Sudan Landge <sudan.landge@arm.com>
37 lines
842 B
YAML
37 lines
842 B
YAML
common:
|
|
timeout: 120
|
|
tests:
|
|
kernel.multiprocessing.smp:
|
|
tags:
|
|
- kernel
|
|
- smp
|
|
ignore_faults: true
|
|
filter: (CONFIG_MP_MAX_NUM_CPUS > 1)
|
|
kernel.multiprocessing.smp.minimallibc:
|
|
tags:
|
|
- kernel
|
|
- smp
|
|
- libc
|
|
ignore_faults: true
|
|
filter: (CONFIG_MP_MAX_NUM_CPUS > 1) and CONFIG_MINIMAL_LIBC_SUPPORTED
|
|
extra_configs:
|
|
- CONFIG_MINIMAL_LIBC=y
|
|
kernel.multiprocessing.smp.affinity:
|
|
tags:
|
|
- kernel
|
|
- smp
|
|
ignore_faults: true
|
|
filter: (CONFIG_MP_MAX_NUM_CPUS > 1)
|
|
extra_configs:
|
|
- CONFIG_SCHED_CPU_MASK=y
|
|
|
|
kernel.multiprocessing.smp.affinity.custom_rom_offset:
|
|
tags:
|
|
- kernel
|
|
- smp
|
|
ignore_faults: true
|
|
filter: (CONFIG_MP_MAX_NUM_CPUS > 1)
|
|
extra_configs:
|
|
- CONFIG_SCHED_CPU_MASK=y
|
|
- CONFIG_ROM_START_OFFSET=0x80
|