From: Chinmay Rath <rathc@linux.ibm.com>
To: thuth@redhat.com
Cc: npiggin@gmail.com, harshpb@linux.ibm.com, lvivier@redhat.com,
linuxppc-dev@lists.ozlabs.org, kvm@vger.kernel.org,
andrew.jones@linux.dev, sbhat@linux.ibm.com,
Chinmay Rath <rathc@linux.ibm.com>
Subject: [kvm-unit-tests PATCH 4/6] powerpc: gitlab CI update
Date: Wed, 8 Jul 2026 16:21:20 +0530 [thread overview]
Message-ID: <20260708105122.1177210-5-rathc@linux.ibm.com> (raw)
In-Reply-To: <20260708105122.1177210-1-rathc@linux.ibm.com>
From: Nicholas Piggin <npiggin@gmail.com>
Adds a few additional tests that are known to work in CI.
To control overhead, ppc64be is used to test 64k page size, ppc64le is
used to test 4k page size.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Chinmay Rath <rathc@linux.ibm.com>
---
.gitlab-ci.yml | 19 ++++++++++++++-----
powerpc/unittests.cfg | 9 ++++++++-
2 files changed, 22 insertions(+), 6 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ab1be5f4..b28d1eb5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -190,18 +190,21 @@ build-ppc64be:
- dnf install -y qemu-system-ppc gcc-powerpc64-linux-gnu nmap-ncat
- mkdir build
- cd build
- - ../configure --arch=ppc64 --endian=big --cross-prefix=powerpc64-linux-gnu-
+ - ../configure --arch=ppc64 --endian=big --page-size=64k --cross-prefix=powerpc64-linux-gnu-
- make -j2
- - ACCEL=tcg ./run_tests.sh
+ - ACCEL=tcg MAX_SMP=8 ./run_tests.sh
atomics
+ atomics-migration
emulator
interrupts
mmu
+ pmu
rtas-get-time-of-day
rtas-get-time-of-day-base
rtas-set-time-of-day
selftest-migration
selftest-migration-skip
+ selftest-migration-ci
selftest-setup
sieve
smp
@@ -209,10 +212,12 @@ build-ppc64be:
spapr_hcall
spapr_vpa
sprs
+ sprs-migration
timebase
timebase-icount
| tee results.txt
- - if grep -q FAIL results.txt ; then exit 1 ; fi
+ - grep -q PASS results.txt && ! grep -q FAIL results.txt
+
build-ppc64le:
extends: .intree_template
@@ -220,16 +225,19 @@ build-ppc64le:
- dnf install -y qemu-system-ppc gcc-powerpc64-linux-gnu nmap-ncat
- ./configure --arch=ppc64 --endian=little --cross-prefix=powerpc64-linux-gnu-
- make -j2
- - ACCEL=tcg ./run_tests.sh
+ - ACCEL=tcg MAX_SMP=8 ./run_tests.sh
atomics
+ atomics-migration
emulator
interrupts
mmu
+ pmu
rtas-get-time-of-day
rtas-get-time-of-day-base
rtas-set-time-of-day
selftest-migration
selftest-migration-skip
+ selftest-migration-ci
selftest-setup
sieve
smp
@@ -237,10 +245,11 @@ build-ppc64le:
spapr_hcall
spapr_vpa
sprs
+ sprs-migration
timebase
timebase-icount
| tee results.txt
- - if grep -q FAIL results.txt ; then exit 1 ; fi
+ - grep -q PASS results.txt && ! grep -q FAIL results.txt
build-riscv32:
extends: .outoftree_template
diff --git a/powerpc/unittests.cfg b/powerpc/unittests.cfg
index 60c73086..62630ead 100644
--- a/powerpc/unittests.cfg
+++ b/powerpc/unittests.cfg
@@ -24,6 +24,14 @@ file = selftest-migration.elf
machine = pseries
groups = selftest migration
+# make a kvm-only version for CI for now
+# TCG accel support with Qemu and distro release used in gitlab CI needs to checked.
+[selftest-migration-ci]
+file = selftest-migration.elf
+machine = pseries
+groups = nodefault selftest migration
+accel = kvm
+
[selftest-migration-skip]
file = selftest-migration.elf
machine = pseries
@@ -94,7 +102,6 @@ accel = tcg,thread=single
[atomics]
file = atomics.elf
-smp = 2
[atomics-migration]
file = atomics.elf
--
2.53.0
next prev parent reply other threads:[~2026-07-08 10:52 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-08 10:51 [kvm-unit-tests PATCH 0/6] powerpc improvements Chinmay Rath
2026-07-08 10:51 ` [kvm-unit-tests PATCH 1/6] powerpc: add pmu tests Chinmay Rath
2026-07-08 10:51 ` [kvm-unit-tests PATCH 2/6] configure: Make arch_libdir a first-class entity Chinmay Rath
2026-07-08 10:51 ` [kvm-unit-tests PATCH 3/6] powerpc: Remove remnants of ppc64 directory and build structure Chinmay Rath
2026-07-08 10:51 ` Chinmay Rath [this message]
2026-07-09 6:46 ` [kvm-unit-tests PATCH 4/6] powerpc: gitlab CI update Thomas Huth
2026-07-09 14:32 ` Harsh Prateek Bora
2026-07-09 15:16 ` Thomas Huth
2026-07-09 16:08 ` Harsh Prateek Bora
2026-07-09 16:33 ` Thomas Huth
2026-07-08 10:51 ` [kvm-unit-tests PATCH 5/6] scripts/arch-run.bash: Fix run_panic() success exit status Chinmay Rath
2026-07-08 10:51 ` [kvm-unit-tests PATCH 6/6] powerpc: Add a panic test Chinmay Rath
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260708105122.1177210-5-rathc@linux.ibm.com \
--to=rathc@linux.ibm.com \
--cc=andrew.jones@linux.dev \
--cc=harshpb@linux.ibm.com \
--cc=kvm@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=lvivier@redhat.com \
--cc=npiggin@gmail.com \
--cc=sbhat@linux.ibm.com \
--cc=thuth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox