On 28.06.21 08:26, Hongzhan Chen wrote: > If there is no CPU restriction on the bootargs, smokey cpu_affinity > test would be skipped reporting with "no kernel support" for those > without non-RT cpu. > > Signed-off-by: Hongzhan Chen <[email protected]> > > diff --git a/tests/jobs/xenomai-ipc227e.yml b/tests/jobs/xenomai-ipc227e.yml > index a5a181c..209c5d4 100644 > --- a/tests/jobs/xenomai-ipc227e.yml > +++ b/tests/jobs/xenomai-ipc227e.yml > @@ -72,3 +72,5 @@ actions: > from: inline > path: inline/xenomai-test-suite.yaml > name: xenomai-test-suite > +context: > + extra_kernel_args: xenomai.supported_cpus=7 > diff --git a/tests/jobs/xenomai-qemu-amd64.yml > b/tests/jobs/xenomai-qemu-amd64.yml > index c335292..e42f6ec 100644 > --- a/tests/jobs/xenomai-qemu-amd64.yml > +++ b/tests/jobs/xenomai-qemu-amd64.yml > @@ -46,7 +46,7 @@ actions: > to: tmpfs > images: > kernel: > - image_arg: -kernel {kernel} -append "root=/dev/sdb > console=ttyS0,115200 console=tty0" > + image_arg: -kernel {kernel} -append "root=/dev/sdb > console=ttyS0,115200 console=tty0 xenomai.supported_cpus=1"
We should use 4 cores in QEMU instances, like in the start-qemu script, and then 0x7 as mask here as well. Quirin, I suppose you limited all qemu instances to 2 cores because of the host having only 2, right? Jan -- Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux
