* [kvm-unit-tests PATCH 1/9] travis.yml: Update from Bionic to Focal
2020-09-24 16:16 [kvm-unit-tests PATCH 0/9] Update travis CI Thomas Huth
@ 2020-09-24 16:16 ` Thomas Huth
2020-09-24 16:16 ` [kvm-unit-tests PATCH 2/9] travis.yml: Rework the x86 64-bit tests Thomas Huth
` (7 subsequent siblings)
8 siblings, 0 replies; 13+ messages in thread
From: Thomas Huth @ 2020-09-24 16:16 UTC (permalink / raw)
To: kvm, Paolo Bonzini, Drew Jones
Cc: Laurent Vivier, David Hildenbrand, Janosch Frank, Cornelia Huck
The newer version of QEMU in Focal should help to run more tests
with TCG (which will be enabled in later patches).
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
.travis.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
index 2e5ae41..3b18ce5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,4 +1,4 @@
-dist: bionic
+dist: focal
language: c
cache: ccache
git:
--
2.18.2
^ permalink raw reply related [flat|nested] 13+ messages in thread* [kvm-unit-tests PATCH 2/9] travis.yml: Rework the x86 64-bit tests
2020-09-24 16:16 [kvm-unit-tests PATCH 0/9] Update travis CI Thomas Huth
2020-09-24 16:16 ` [kvm-unit-tests PATCH 1/9] travis.yml: Update from Bionic to Focal Thomas Huth
@ 2020-09-24 16:16 ` Thomas Huth
2020-09-25 6:44 ` Thomas Huth
2020-09-24 16:16 ` [kvm-unit-tests PATCH 3/9] travis.yml: Refresh the x86 32-bit test list Thomas Huth
` (6 subsequent siblings)
8 siblings, 1 reply; 13+ messages in thread
From: Thomas Huth @ 2020-09-24 16:16 UTC (permalink / raw)
To: kvm, Paolo Bonzini, Drew Jones
Cc: Laurent Vivier, David Hildenbrand, Janosch Frank, Cornelia Huck
We currently have three test jobs here:
1) gcc, in-tree build
2) gcc, out-of-tree build
3) clang, in-tree build
Keeping everything in perspective, it should be sufficient to only use two
build jobs for this, one in-tree with one compiler, and one out-of-tree
with the other compiler.
So let's re-order the jobs accordingly now. And while we're at it, make
sure that all additional tests that work with the newer QEMU from Ubuntu
Focal now are tested, too, and that we check all possible tests with
Clang (i.e. the same list as with GCC except for the "realmode" test
that still causes some problems with Clang).
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
.travis.yml | 34 +++++++++++++++++-----------------
1 file changed, 17 insertions(+), 17 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 3b18ce5..4c35509 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,30 +12,30 @@ jobs:
env:
- CONFIG=""
- BUILD_DIR="."
- - TESTS="access asyncpf debug emulator ept hypercall hyperv_stimer
- hyperv_synic idt_test intel_iommu ioapic ioapic-split
- kvmclock_test msr pcid rdpru realmode rmap_chain s3 setjmp umip"
+ - TESTS="access asyncpf debug emulator ept hypercall hyperv_clock
+ hyperv_connections hyperv_stimer hyperv_synic idt_test intel_iommu
+ ioapic ioapic-split kvmclock_test memory msr pcid pcid-disabled
+ rdpru realmode rmap_chain s3 setjmp sieve smap smptest smptest3
+ syscall tsc tsc_adjust tsx-ctrl umip vmexit_cpuid vmexit_inl_pmtimer
+ vmexit_ipi vmexit_ipi_halt vmexit_mov_from_cr8 vmexit_mov_to_cr8
+ vmexit_ple_round_robin vmexit_tscdeadline vmexit_tscdeadline_immed
+ vmexit_vmcall vmx_apic_passthrough_thread xsave"
- ACCEL="kvm"
- addons:
apt_packages: clang-10 qemu-system-x86
+ compiler: clang
env:
- CONFIG="--cc=clang-10"
- - BUILD_DIR="."
- - TESTS="access asyncpf debug emulator ept hypercall hyperv_stimer
- hyperv_synic idt_test intel_iommu ioapic ioapic-split
- kvmclock_test msr pcid rdpru rmap_chain s3 setjmp umip"
- - ACCEL="kvm"
-
- - addons:
- apt_packages: gcc qemu-system-x86
- env:
- - CONFIG=""
- BUILD_DIR="x86-builddir"
- - TESTS="smptest smptest3 tsc tsc_adjust xsave vmexit_cpuid vmexit_vmcall
- sieve vmexit_inl_pmtimer vmexit_ipi_halt vmexit_mov_from_cr8
- vmexit_mov_to_cr8 vmexit_ple_round_robin vmexit_tscdeadline
- vmexit_tscdeadline_immed vmx_apic_passthrough_thread syscall"
+ - TESTS="access asyncpf debug emulator ept hypercall hyperv_clock
+ hyperv_connections hyperv_stimer hyperv_synic idt_test intel_iommu
+ ioapic ioapic-split kvmclock_test memory msr pcid pcid-disabled
+ rdpru rmap_chain s3 setjmp sieve smap smptest smptest3 syscall tsc
+ tsc_adjust tsx-ctrl umip vmexit_cpuid vmexit_inl_pmtimer vmexit_ipi
+ vmexit_ipi_halt vmexit_mov_from_cr8 vmexit_mov_to_cr8
+ vmexit_ple_round_robin vmexit_tscdeadline vmexit_tscdeadline_immed
+ vmexit_vmcall vmx_apic_passthrough_thread xsave"
- ACCEL="kvm"
- addons:
--
2.18.2
^ permalink raw reply related [flat|nested] 13+ messages in thread* Re: [kvm-unit-tests PATCH 2/9] travis.yml: Rework the x86 64-bit tests
2020-09-24 16:16 ` [kvm-unit-tests PATCH 2/9] travis.yml: Rework the x86 64-bit tests Thomas Huth
@ 2020-09-25 6:44 ` Thomas Huth
0 siblings, 0 replies; 13+ messages in thread
From: Thomas Huth @ 2020-09-25 6:44 UTC (permalink / raw)
To: kvm, Paolo Bonzini, Drew Jones
Cc: Laurent Vivier, David Hildenbrand, Janosch Frank, Cornelia Huck
On 24/09/2020 18.16, Thomas Huth wrote:
> We currently have three test jobs here:
>
> 1) gcc, in-tree build
> 2) gcc, out-of-tree build
> 3) clang, in-tree build
>
> Keeping everything in perspective, it should be sufficient to only use two
> build jobs for this, one in-tree with one compiler, and one out-of-tree
> with the other compiler.
> So let's re-order the jobs accordingly now. And while we're at it, make
> sure that all additional tests that work with the newer QEMU from Ubuntu
> Focal now are tested, too, and that we check all possible tests with
> Clang (i.e. the same list as with GCC except for the "realmode" test
> that still causes some problems with Clang).
This patch needs a rebase now since the realmode test has just been
fixed and added to .travis.yml ... I'll wait one or two more days for
review feedback, then respin a v2 with the conflict solved.
Thomas
^ permalink raw reply [flat|nested] 13+ messages in thread
* [kvm-unit-tests PATCH 3/9] travis.yml: Refresh the x86 32-bit test list
2020-09-24 16:16 [kvm-unit-tests PATCH 0/9] Update travis CI Thomas Huth
2020-09-24 16:16 ` [kvm-unit-tests PATCH 1/9] travis.yml: Update from Bionic to Focal Thomas Huth
2020-09-24 16:16 ` [kvm-unit-tests PATCH 2/9] travis.yml: Rework the x86 64-bit tests Thomas Huth
@ 2020-09-24 16:16 ` Thomas Huth
2020-09-24 16:16 ` [kvm-unit-tests PATCH 4/9] travis.yml: Add the selftest-setup ppc64 test Thomas Huth
` (5 subsequent siblings)
8 siblings, 0 replies; 13+ messages in thread
From: Thomas Huth @ 2020-09-24 16:16 UTC (permalink / raw)
To: kvm, Paolo Bonzini, Drew Jones
Cc: Laurent Vivier, David Hildenbrand, Janosch Frank, Cornelia Huck
With the new QEMU from Ubuntu Focal, we can now run additional
tests that were failing before.
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
.travis.yml | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 4c35509..01951dc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -43,8 +43,9 @@ jobs:
env:
- CONFIG="--arch=i386"
- BUILD_DIR="."
- - TESTS="asyncpf hyperv_stimer hyperv_synic kvmclock_test msr pmu realmode
- s3 sieve smap smptest smptest3 taskswitch taskswitch2 tsc_adjust"
+ - TESTS="asyncpf hyperv_connections hyperv_stimer hyperv_synic
+ kvmclock_test msr pmu realmode s3 setjmp sieve smap smptest smptest3
+ taskswitch taskswitch2 tsc tsc_adjust"
- ACCEL="kvm"
- addons:
@@ -53,8 +54,9 @@ jobs:
- CONFIG="--arch=i386"
- BUILD_DIR="i386-builddir"
- TESTS="cmpxchg8b tsx-ctrl umip vmexit_cpuid vmexit_ipi vmexit_ipi_halt
- vmexit_mov_from_cr8 vmexit_mov_to_cr8 vmexit_ple_round_robin
- vmexit_tscdeadline vmexit_tscdeadline_immed vmexit_vmcall setjmp"
+ vmexit_mov_from_cr8 vmexit_mov_to_cr8 vmexit_ple_round_robin
+ vmexit_inl_pmtimer vmexit_tscdeadline vmexit_tscdeadline_immed
+ vmexit_vmcall"
- ACCEL="kvm"
- addons:
--
2.18.2
^ permalink raw reply related [flat|nested] 13+ messages in thread* [kvm-unit-tests PATCH 4/9] travis.yml: Add the selftest-setup ppc64 test
2020-09-24 16:16 [kvm-unit-tests PATCH 0/9] Update travis CI Thomas Huth
` (2 preceding siblings ...)
2020-09-24 16:16 ` [kvm-unit-tests PATCH 3/9] travis.yml: Refresh the x86 32-bit test list Thomas Huth
@ 2020-09-24 16:16 ` Thomas Huth
2020-09-24 16:16 ` [kvm-unit-tests PATCH 5/9] kbuild: fix asm-offset generation to work with clang Thomas Huth
` (4 subsequent siblings)
8 siblings, 0 replies; 13+ messages in thread
From: Thomas Huth @ 2020-09-24 16:16 UTC (permalink / raw)
To: kvm, Paolo Bonzini, Drew Jones
Cc: Laurent Vivier, David Hildenbrand, Janosch Frank, Cornelia Huck
This test now seems to be working with the newer version of QEMU in
Ubuntu Focal, so we can run it now in the Travis builds, too.
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
.travis.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
index 01951dc..7e96faa 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -92,7 +92,7 @@ jobs:
env:
- CONFIG="--arch=ppc64 --endian=little --cross-prefix=powerpc64le-linux-gnu-"
- BUILD_DIR="."
- - TESTS="spapr_hcall emulator rtas-set-time-of-day"
+ - TESTS="selftest-setup spapr_hcall emulator rtas-set-time-of-day"
- ACCEL="tcg,cap-htm=off"
- addons:
--
2.18.2
^ permalink raw reply related [flat|nested] 13+ messages in thread* [kvm-unit-tests PATCH 5/9] kbuild: fix asm-offset generation to work with clang
2020-09-24 16:16 [kvm-unit-tests PATCH 0/9] Update travis CI Thomas Huth
` (3 preceding siblings ...)
2020-09-24 16:16 ` [kvm-unit-tests PATCH 4/9] travis.yml: Add the selftest-setup ppc64 test Thomas Huth
@ 2020-09-24 16:16 ` Thomas Huth
2020-09-24 16:16 ` [kvm-unit-tests PATCH 6/9] arm/pmu: Fix inline assembly for Clang Thomas Huth
` (3 subsequent siblings)
8 siblings, 0 replies; 13+ messages in thread
From: Thomas Huth @ 2020-09-24 16:16 UTC (permalink / raw)
To: kvm, Paolo Bonzini, Drew Jones
Cc: Laurent Vivier, David Hildenbrand, Janosch Frank, Cornelia Huck
KBuild abuses the asm statement to write to a file and
clang chokes about these invalid asm statements. Hack it
even more by fooling this is actual valid asm code.
This is an adaption of the Linux kernel commit cf0c3e68aa81f992b0
which in turn is based on a patch for the U-Boot:
http://patchwork.ozlabs.org/patch/375026/
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
lib/kbuild.h | 6 +++---
scripts/asm-offsets.mak | 5 +++--
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/lib/kbuild.h b/lib/kbuild.h
index ab99db6..79644e5 100644
--- a/lib/kbuild.h
+++ b/lib/kbuild.h
@@ -1,8 +1,8 @@
#ifndef _KBUILD_H_
#define _KBUILD_H_
#define DEFINE(sym, val) \
- asm volatile("\n->" #sym " %0 " #val : : "i" (val))
+ asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val))
#define OFFSET(sym, str, mem) DEFINE(sym, offsetof(struct str, mem))
-#define COMMENT(x) asm volatile("\n->#" x)
-#define BLANK() asm volatile("\n->" : : )
+#define COMMENT(x) asm volatile("\n.ascii \"->#" x "\"")
+#define BLANK() asm volatile("\n.ascii \"->\"" : : )
#endif
diff --git a/scripts/asm-offsets.mak b/scripts/asm-offsets.mak
index b35da09..7b64162 100644
--- a/scripts/asm-offsets.mak
+++ b/scripts/asm-offsets.mak
@@ -8,10 +8,11 @@
#
define sed-y
- "/^->/{s:->#\(.*\):/* \1 */:; \
+ 's:^[[:space:]]*\.ascii[[:space:]]*"\(.*\)".*:\1:; \
+ /^->/{s:->#\(.*\):/* \1 */:; \
s:^->\([^ ]*\) [\$$#]*\([-0-9]*\) \(.*\):#define \1 \2 /* \3 */:; \
s:^->\([^ ]*\) [\$$#]*\([^ ]*\) \(.*\):#define \1 \2 /* \3 */:; \
- s:->::; p;}"
+ s:->::; p;}'
endef
define make_asm_offsets
--
2.18.2
^ permalink raw reply related [flat|nested] 13+ messages in thread* [kvm-unit-tests PATCH 6/9] arm/pmu: Fix inline assembly for Clang
2020-09-24 16:16 [kvm-unit-tests PATCH 0/9] Update travis CI Thomas Huth
` (4 preceding siblings ...)
2020-09-24 16:16 ` [kvm-unit-tests PATCH 5/9] kbuild: fix asm-offset generation to work with clang Thomas Huth
@ 2020-09-24 16:16 ` Thomas Huth
2020-09-24 16:16 ` [kvm-unit-tests PATCH 7/9] lib/arm64/spinlock: " Thomas Huth
` (2 subsequent siblings)
8 siblings, 0 replies; 13+ messages in thread
From: Thomas Huth @ 2020-09-24 16:16 UTC (permalink / raw)
To: kvm, Paolo Bonzini, Drew Jones
Cc: Laurent Vivier, David Hildenbrand, Janosch Frank, Cornelia Huck
Clang complains here:
arm/pmu.c:201:16: error: value size does not match register size specified by
the constraint and modifier [-Werror,-Wasm-operand-widths]
: [pmcr] "r" (pmcr)
^
arm/pmu.c:194:18: note: use constraint modifier "w"
" msr pmcr_el0, %[pmcr]\n"
^~~~~~~
%w[pmcr]
arm/pmu.c:200:17: error: value size does not match register size specified by
the constraint and modifier [-Werror,-Wasm-operand-widths]
: [loop] "+r" (loop)
^
arm/pmu.c:196:11: note: use constraint modifier "w"
"1: subs %[loop], %[loop], #1\n"
^~~~~~~
%w[loop]
arm/pmu.c:200:17: error: value size does not match register size specified by
the constraint and modifier [-Werror,-Wasm-operand-widths]
: [loop] "+r" (loop)
^
arm/pmu.c:196:20: note: use constraint modifier "w"
"1: subs %[loop], %[loop], #1\n"
^~~~~~~
%w[loop]
arm/pmu.c:284:35: error: value size does not match register size specified
by the constraint and modifier [-Werror,-Wasm-operand-widths]
: [addr] "r" (addr), [pmcr] "r" (pmcr), [loop] "r" (loop)
^
arm/pmu.c:274:28: note: use constraint modifier "w"
" msr pmcr_el0, %[pmcr]\n"
^~~~~~~
%w[pmcr]
arm/pmu.c:284:54: error: value size does not match register size specified
by the constraint and modifier [-Werror,-Wasm-operand-widths]
: [addr] "r" (addr), [pmcr] "r" (pmcr), [loop] "r" (loop)
^
arm/pmu.c:276:23: note: use constraint modifier "w"
" mov x10, %[loop]\n"
^~~~~~~
%w[loop]
pmcr should be 64-bit since it is a sysreg, but for loop we can use the
"w" modifier.
Suggested-by: Drew Jones <drjones@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
arm/pmu.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/arm/pmu.c b/arm/pmu.c
index cece53e..831fb66 100644
--- a/arm/pmu.c
+++ b/arm/pmu.c
@@ -190,15 +190,16 @@ static inline uint8_t get_pmu_version(void)
*/
static inline void precise_instrs_loop(int loop, uint32_t pmcr)
{
+ uint64_t pmcr64 = pmcr;
asm volatile(
" msr pmcr_el0, %[pmcr]\n"
" isb\n"
- "1: subs %[loop], %[loop], #1\n"
+ "1: subs %w[loop], %w[loop], #1\n"
" b.gt 1b\n"
" msr pmcr_el0, xzr\n"
" isb\n"
: [loop] "+r" (loop)
- : [pmcr] "r" (pmcr)
+ : [pmcr] "r" (pmcr64)
: "cc");
}
@@ -268,8 +269,9 @@ static void test_event_introspection(void)
* pmccntr read after this function returns the exact instructions executed
* in the controlled block. Loads @loop times the data at @address into x9.
*/
-static void mem_access_loop(void *addr, int loop, uint32_t pmcr)
+static void mem_access_loop(void *addr, long loop, uint32_t pmcr)
{
+ uint64_t pmcr64 = pmcr;
asm volatile(
" msr pmcr_el0, %[pmcr]\n"
" isb\n"
@@ -281,7 +283,7 @@ asm volatile(
" msr pmcr_el0, xzr\n"
" isb\n"
:
- : [addr] "r" (addr), [pmcr] "r" (pmcr), [loop] "r" (loop)
+ : [addr] "r" (addr), [pmcr] "r" (pmcr64), [loop] "r" (loop)
: "x9", "x10", "cc");
}
--
2.18.2
^ permalink raw reply related [flat|nested] 13+ messages in thread* [kvm-unit-tests PATCH 7/9] lib/arm64/spinlock: Fix inline assembly for Clang
2020-09-24 16:16 [kvm-unit-tests PATCH 0/9] Update travis CI Thomas Huth
` (5 preceding siblings ...)
2020-09-24 16:16 ` [kvm-unit-tests PATCH 6/9] arm/pmu: Fix inline assembly for Clang Thomas Huth
@ 2020-09-24 16:16 ` Thomas Huth
2020-09-24 16:16 ` [kvm-unit-tests PATCH 8/9] travis.yml: Rework the aarch64 jobs Thomas Huth
2020-09-24 16:16 ` [kvm-unit-tests PATCH 9/9] travis.yml: Update the list of s390x tests Thomas Huth
8 siblings, 0 replies; 13+ messages in thread
From: Thomas Huth @ 2020-09-24 16:16 UTC (permalink / raw)
To: kvm, Paolo Bonzini, Drew Jones
Cc: Laurent Vivier, David Hildenbrand, Janosch Frank, Cornelia Huck
/home/travis/build/huth/kvm-unit-tests/lib/arm64/spinlock.c:29:12: error:
value size does not match register size specified by the constraint and
modifier [-Werror,-Wasm-operand-widths]
: "=&r" (val), "=&r" (fail)
^
/home/travis/build/huth/kvm-unit-tests/lib/arm64/spinlock.c:27:9: note: use
constraint modifier "w"
" mov %0, #1\n"
^~
%w0
Use the "w" modifier as suggested to fix the issue.
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
lib/arm64/spinlock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/arm64/spinlock.c b/lib/arm64/spinlock.c
index fac4fc9..258303d 100644
--- a/lib/arm64/spinlock.c
+++ b/lib/arm64/spinlock.c
@@ -24,7 +24,7 @@ void spin_lock(struct spinlock *lock)
asm volatile(
"1: ldaxr %w0, [%2]\n"
" cbnz %w0, 1b\n"
- " mov %0, #1\n"
+ " mov %w0, #1\n"
" stxr %w1, %w0, [%2]\n"
: "=&r" (val), "=&r" (fail)
: "r" (&lock->v)
--
2.18.2
^ permalink raw reply related [flat|nested] 13+ messages in thread* [kvm-unit-tests PATCH 8/9] travis.yml: Rework the aarch64 jobs
2020-09-24 16:16 [kvm-unit-tests PATCH 0/9] Update travis CI Thomas Huth
` (6 preceding siblings ...)
2020-09-24 16:16 ` [kvm-unit-tests PATCH 7/9] lib/arm64/spinlock: " Thomas Huth
@ 2020-09-24 16:16 ` Thomas Huth
2020-09-24 16:16 ` [kvm-unit-tests PATCH 9/9] travis.yml: Update the list of s390x tests Thomas Huth
8 siblings, 0 replies; 13+ messages in thread
From: Thomas Huth @ 2020-09-24 16:16 UTC (permalink / raw)
To: kvm, Paolo Bonzini, Drew Jones
Cc: Laurent Vivier, David Hildenbrand, Janosch Frank, Cornelia Huck
With the new QEMU from Ubuntu Focal, we can now run some more tests
with TCG. Also switch the second build job to native arm64, so we
can use Clang to compile these tests to get some additional compiler
test coverage.
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
.travis.yml | 18 +++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 7e96faa..f1bcf3d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -78,14 +78,22 @@ jobs:
env:
- CONFIG="--arch=arm64 --cross-prefix=aarch64-linux-gnu-"
- BUILD_DIR="."
- - TESTS="selftest-vectors-kernel selftest-vectors-user selftest-smp"
+ - TESTS="cache gicv2-active gicv2-ipi gicv3-active gicv3-ipi pci-test
+ pmu-cycle-counter pmu-event-counter-config pmu-sw-incr psci
+ selftest-setup selftest-smp selftest-vectors-kernel
+ selftest-vectors-user timer"
- - addons:
- apt_packages: gcc-aarch64-linux-gnu qemu-system-aarch64
+ - arch: arm64
+ addons:
+ apt_packages: clang-10 qemu-system-aarch64
+ compiler: clang
env:
- - CONFIG="--arch=arm64 --cross-prefix=aarch64-linux-gnu-"
+ - CONFIG="--arch=arm64 --cc=clang-10"
- BUILD_DIR="arm64-buildir"
- - TESTS="pci-test pmu gicv2-active gicv3-active psci timer selftest-setup"
+ - TESTS="cache gicv2-active gicv2-ipi gicv3-active gicv3-ipi pci-test
+ pmu-cycle-counter pmu-event-counter-config pmu-sw-incr psci
+ selftest-setup selftest-smp selftest-vectors-kernel
+ selftest-vectors-user timer"
- addons:
apt_packages: gcc-powerpc64le-linux-gnu qemu-system-ppc
--
2.18.2
^ permalink raw reply related [flat|nested] 13+ messages in thread* [kvm-unit-tests PATCH 9/9] travis.yml: Update the list of s390x tests
2020-09-24 16:16 [kvm-unit-tests PATCH 0/9] Update travis CI Thomas Huth
` (7 preceding siblings ...)
2020-09-24 16:16 ` [kvm-unit-tests PATCH 8/9] travis.yml: Rework the aarch64 jobs Thomas Huth
@ 2020-09-24 16:16 ` Thomas Huth
2020-09-25 9:57 ` Cornelia Huck
8 siblings, 1 reply; 13+ messages in thread
From: Thomas Huth @ 2020-09-24 16:16 UTC (permalink / raw)
To: kvm, Paolo Bonzini, Drew Jones
Cc: Laurent Vivier, David Hildenbrand, Janosch Frank, Cornelia Huck
With the new QEMU from Ubuntu Focal, we can now run more tests with TCG.
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
.travis.yml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index f1bcf3d..6080326 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -116,7 +116,8 @@ jobs:
env:
- CONFIG="--arch=s390x --cross-prefix=s390x-linux-gnu-"
- BUILD_DIR="."
- - TESTS="diag10 diag308"
+ - TESTS="cpumodel css diag10 diag288 diag308 emulator intercept sclp-1g
+ sclp-3g selftest-setup"
- ACCEL="tcg,firmware=s390x/run"
- addons:
@@ -124,7 +125,7 @@ jobs:
env:
- CONFIG="--arch=s390x --cross-prefix=s390x-linux-gnu-"
- BUILD_DIR="s390x-builddir"
- - TESTS="sieve"
+ - TESTS="sieve skey stsi vector"
- ACCEL="tcg,firmware=s390x/run"
- os: osx
--
2.18.2
^ permalink raw reply related [flat|nested] 13+ messages in thread* Re: [kvm-unit-tests PATCH 9/9] travis.yml: Update the list of s390x tests
2020-09-24 16:16 ` [kvm-unit-tests PATCH 9/9] travis.yml: Update the list of s390x tests Thomas Huth
@ 2020-09-25 9:57 ` Cornelia Huck
2020-09-25 10:09 ` David Hildenbrand
0 siblings, 1 reply; 13+ messages in thread
From: Cornelia Huck @ 2020-09-25 9:57 UTC (permalink / raw)
To: Thomas Huth
Cc: kvm, Paolo Bonzini, Drew Jones, Laurent Vivier, David Hildenbrand,
Janosch Frank
On Thu, 24 Sep 2020 18:16:12 +0200
Thomas Huth <thuth@redhat.com> wrote:
> With the new QEMU from Ubuntu Focal, we can now run more tests with TCG.
>
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
> .travis.yml | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/.travis.yml b/.travis.yml
> index f1bcf3d..6080326 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -116,7 +116,8 @@ jobs:
> env:
> - CONFIG="--arch=s390x --cross-prefix=s390x-linux-gnu-"
> - BUILD_DIR="."
> - - TESTS="diag10 diag308"
> + - TESTS="cpumodel css diag10 diag288 diag308 emulator intercept sclp-1g
> + sclp-3g selftest-setup"
> - ACCEL="tcg,firmware=s390x/run"
>
> - addons:
> @@ -124,7 +125,7 @@ jobs:
> env:
> - CONFIG="--arch=s390x --cross-prefix=s390x-linux-gnu-"
> - BUILD_DIR="s390x-builddir"
> - - TESTS="sieve"
> + - TESTS="sieve skey stsi vector"
> - ACCEL="tcg,firmware=s390x/run"
>
> - os: osx
Nice.
Acked-by: Cornelia Huck <cohuck@redhat.com>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [kvm-unit-tests PATCH 9/9] travis.yml: Update the list of s390x tests
2020-09-25 9:57 ` Cornelia Huck
@ 2020-09-25 10:09 ` David Hildenbrand
0 siblings, 0 replies; 13+ messages in thread
From: David Hildenbrand @ 2020-09-25 10:09 UTC (permalink / raw)
To: Cornelia Huck, Thomas Huth
Cc: kvm, Paolo Bonzini, Drew Jones, Laurent Vivier, Janosch Frank
On 25.09.20 11:57, Cornelia Huck wrote:
> On Thu, 24 Sep 2020 18:16:12 +0200
> Thomas Huth <thuth@redhat.com> wrote:
>
>> With the new QEMU from Ubuntu Focal, we can now run more tests with TCG.
>>
>> Signed-off-by: Thomas Huth <thuth@redhat.com>
>> ---
>> .travis.yml | 5 +++--
>> 1 file changed, 3 insertions(+), 2 deletions(-)
>>
>> diff --git a/.travis.yml b/.travis.yml
>> index f1bcf3d..6080326 100644
>> --- a/.travis.yml
>> +++ b/.travis.yml
>> @@ -116,7 +116,8 @@ jobs:
>> env:
>> - CONFIG="--arch=s390x --cross-prefix=s390x-linux-gnu-"
>> - BUILD_DIR="."
>> - - TESTS="diag10 diag308"
>> + - TESTS="cpumodel css diag10 diag288 diag308 emulator intercept sclp-1g
>> + sclp-3g selftest-setup"
>> - ACCEL="tcg,firmware=s390x/run"
>>
>> - addons:
>> @@ -124,7 +125,7 @@ jobs:
>> env:
>> - CONFIG="--arch=s390x --cross-prefix=s390x-linux-gnu-"
>> - BUILD_DIR="s390x-builddir"
>> - - TESTS="sieve"
>> + - TESTS="sieve skey stsi vector"
>> - ACCEL="tcg,firmware=s390x/run"
>>
>> - os: osx
>
> Nice.
>
> Acked-by: Cornelia Huck <cohuck@redhat.com>
>
Indeed
Acked-by: David Hildenbrand <david@redhat.com>
--
Thanks,
David / dhildenb
^ permalink raw reply [flat|nested] 13+ messages in thread