tests: kernel: smp: Test cpu affinity with custom ROM offset

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>
This commit is contained in:
Sudan Landge 2024-08-13 15:05:13 +01:00 committed by Anas Nashif
parent ac2de3fa7c
commit 67f3d0b923
1 changed files with 10 additions and 0 deletions

View File

@ -24,3 +24,13 @@ tests:
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