From patchwork Thu Sep 24 16:16:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Huth X-Patchwork-Id: 11797871 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8E8746CB for ; Thu, 24 Sep 2020 16:16:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5E4A52388A for ; Thu, 24 Sep 2020 16:16:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="TF8YmhqR" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726841AbgIXQQd (ORCPT ); Thu, 24 Sep 2020 12:16:33 -0400 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:47089 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726652AbgIXQQc (ORCPT ); Thu, 24 Sep 2020 12:16:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600964191; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:in-reply-to:in-reply-to:references:references; bh=4VyDfcbQv6DSbladqxeJEZpto2qmswqxERuS2zfS0lw=; b=TF8YmhqRbUInoZ0G4UO5W87dUoOa9QHGqWOEqXm8E08+KJlm4NcKoK+/J5+etire9Yrywq gtbBwBGHTdaSoTEtst1SKVg6rLSRqiows5wtGyW7kMkKvB1ICQaNWgZ6hRcNhk31F5h1Sh SCsFtDFTM/pPUTU2j7bKGfqIQmgdMb8= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-292-o9Y1iHGiON2Zz_eDRt3LTQ-1; Thu, 24 Sep 2020 12:16:29 -0400 X-MC-Unique: o9Y1iHGiON2Zz_eDRt3LTQ-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 7E27164099; Thu, 24 Sep 2020 16:16:28 +0000 (UTC) Received: from thuth.com (ovpn-113-113.ams2.redhat.com [10.36.113.113]) by smtp.corp.redhat.com (Postfix) with ESMTP id C39CD73662; Thu, 24 Sep 2020 16:16:24 +0000 (UTC) From: Thomas Huth To: kvm@vger.kernel.org, Paolo Bonzini , Drew Jones Cc: Laurent Vivier , David Hildenbrand , Janosch Frank , Cornelia Huck Subject: [kvm-unit-tests PATCH 1/9] travis.yml: Update from Bionic to Focal Date: Thu, 24 Sep 2020 18:16:04 +0200 Message-Id: <20200924161612.144549-2-thuth@redhat.com> In-Reply-To: <20200924161612.144549-1-thuth@redhat.com> References: <20200924161612.144549-1-thuth@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org 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 --- .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: From patchwork Thu Sep 24 16:16:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Huth X-Patchwork-Id: 11797875 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DCFA3112C for ; Thu, 24 Sep 2020 16:16:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BAF292388A for ; Thu, 24 Sep 2020 16:16:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="E0CiiRkR" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727010AbgIXQQk (ORCPT ); Thu, 24 Sep 2020 12:16:40 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:21734 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726900AbgIXQQf (ORCPT ); Thu, 24 Sep 2020 12:16:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600964193; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:in-reply-to:in-reply-to:references:references; bh=r5Jds/eXAP3wYBOEkstBuMvhZ77tu8VT8maKv+pV3f4=; b=E0CiiRkRZ/hNsPCr2w1NsxFzzF3tYd8GXfDNdqIraRtEfRg9LeULpNI60jDduSiFoJqok/ VvSsUF09Fv+8A3si99kVT8r2PtLGSdIYk5+BLTTrQN083t12WWQZk84UCJ1d+9x4omCfpz dVH1QNWxnWF/rPvoC6zXPgha/dvRG68= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-199-Vt265L-dOMeZ6TzqYqR5GA-1; Thu, 24 Sep 2020 12:16:31 -0400 X-MC-Unique: Vt265L-dOMeZ6TzqYqR5GA-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A7C161084C8A; Thu, 24 Sep 2020 16:16:30 +0000 (UTC) Received: from thuth.com (ovpn-113-113.ams2.redhat.com [10.36.113.113]) by smtp.corp.redhat.com (Postfix) with ESMTP id DB0C173662; Thu, 24 Sep 2020 16:16:28 +0000 (UTC) From: Thomas Huth To: kvm@vger.kernel.org, Paolo Bonzini , Drew Jones Cc: Laurent Vivier , David Hildenbrand , Janosch Frank , Cornelia Huck Subject: [kvm-unit-tests PATCH 2/9] travis.yml: Rework the x86 64-bit tests Date: Thu, 24 Sep 2020 18:16:05 +0200 Message-Id: <20200924161612.144549-3-thuth@redhat.com> In-Reply-To: <20200924161612.144549-1-thuth@redhat.com> References: <20200924161612.144549-1-thuth@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org 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 --- .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: From patchwork Thu Sep 24 16:16:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Huth X-Patchwork-Id: 11797873 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0C1FC139F for ; Thu, 24 Sep 2020 16:16:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DFB71238E3 for ; Thu, 24 Sep 2020 16:16:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="JuG6VYPi" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726993AbgIXQQk (ORCPT ); Thu, 24 Sep 2020 12:16:40 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:46107 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726815AbgIXQQh (ORCPT ); Thu, 24 Sep 2020 12:16:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600964196; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:in-reply-to:in-reply-to:references:references; bh=X3I8HQJdorldZH9Gq+yptK0JPlaibQ/8bGz4iMDDXZY=; b=JuG6VYPiYdRh6y/P7+IllItQH6HhuDUbSTCik6cdVedJcg3bzg4AsbWOptp2gq+e1LnNHl tnsboH2vXyoTT78EaOu66FqSWZXMDmpOjwqYB6tC91zZ8Dy+Kb46eF5GbTbT8xi0LEoEip r54H0EWIBYr6wstts5TkV3tSshMPxA4= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-269-thY9wklHO3en_15yj5R4Vw-1; Thu, 24 Sep 2020 12:16:33 -0400 X-MC-Unique: thY9wklHO3en_15yj5R4Vw-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id DEACC84E247; Thu, 24 Sep 2020 16:16:32 +0000 (UTC) Received: from thuth.com (ovpn-113-113.ams2.redhat.com [10.36.113.113]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0B9F273662; Thu, 24 Sep 2020 16:16:30 +0000 (UTC) From: Thomas Huth To: kvm@vger.kernel.org, Paolo Bonzini , Drew Jones Cc: Laurent Vivier , David Hildenbrand , Janosch Frank , Cornelia Huck Subject: [kvm-unit-tests PATCH 3/9] travis.yml: Refresh the x86 32-bit test list Date: Thu, 24 Sep 2020 18:16:06 +0200 Message-Id: <20200924161612.144549-4-thuth@redhat.com> In-Reply-To: <20200924161612.144549-1-thuth@redhat.com> References: <20200924161612.144549-1-thuth@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org With the new QEMU from Ubuntu Focal, we can now run additional tests that were failing before. Signed-off-by: Thomas Huth --- .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: From patchwork Thu Sep 24 16:16:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Huth X-Patchwork-Id: 11797877 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B87D6112C for ; Thu, 24 Sep 2020 16:16:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8CF4D23741 for ; Thu, 24 Sep 2020 16:16:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="UNKElsR7" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726957AbgIXQQk (ORCPT ); Thu, 24 Sep 2020 12:16:40 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:33256 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726752AbgIXQQi (ORCPT ); Thu, 24 Sep 2020 12:16:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600964198; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:in-reply-to:in-reply-to:references:references; bh=Y6S8pU2nQYTpJinNkJK17Qmf1PlZwC/pHcK4ltKc09s=; b=UNKElsR7ICqHNpMNbthzaf9w/61+PtA8NGuSethJEOkeKBGDIinQaQ0gp2z5A9EhsgaSqg 5AUf165PhVJZbMtHjimrFpfKqLIAj8VGQ7MAS/NpkjrTdKSiS4iyb6FFP/2h09tOJSuq/Y zW/3Xvu81WOGPIV6GmECcokWk0cQFlg= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-63-WpjpCq6qOlCGRFRJ03_YmQ-1; Thu, 24 Sep 2020 12:16:36 -0400 X-MC-Unique: WpjpCq6qOlCGRFRJ03_YmQ-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 27F151007469; Thu, 24 Sep 2020 16:16:35 +0000 (UTC) Received: from thuth.com (ovpn-113-113.ams2.redhat.com [10.36.113.113]) by smtp.corp.redhat.com (Postfix) with ESMTP id 49F1373662; Thu, 24 Sep 2020 16:16:33 +0000 (UTC) From: Thomas Huth To: kvm@vger.kernel.org, Paolo Bonzini , Drew Jones Cc: Laurent Vivier , David Hildenbrand , Janosch Frank , Cornelia Huck Subject: [kvm-unit-tests PATCH 4/9] travis.yml: Add the selftest-setup ppc64 test Date: Thu, 24 Sep 2020 18:16:07 +0200 Message-Id: <20200924161612.144549-5-thuth@redhat.com> In-Reply-To: <20200924161612.144549-1-thuth@redhat.com> References: <20200924161612.144549-1-thuth@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org 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 --- .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: From patchwork Thu Sep 24 16:16:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Huth X-Patchwork-Id: 11797879 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B1F7D112C for ; Thu, 24 Sep 2020 16:16:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 880912388A for ; Thu, 24 Sep 2020 16:16:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="fl+oCYa9" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727091AbgIXQQy (ORCPT ); Thu, 24 Sep 2020 12:16:54 -0400 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:51803 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726906AbgIXQQy (ORCPT ); Thu, 24 Sep 2020 12:16:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600964213; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:in-reply-to:in-reply-to:references:references; bh=bp7eVt/GZmB7ydFRGprxtKVGtrQbZrgzniSBsu3qoQQ=; b=fl+oCYa9nDg8O38wF40NI5BovYH5OYM3yY13SRIU8cYo2+TYUMU0gxthcVAIgjfrRg5Yem gOf85+qrmmiPnLgLx/dUR9RCh8DPqa06+TYEizzwMeQBYMVGtQxCdLwAknjCXG3u5HtCcW WaOu3WIo/WcpvGajaqW7xGBkWzXeORI= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-592-BKyOnfZNOHSev0VG_pHwGg-1; Thu, 24 Sep 2020 12:16:46 -0400 X-MC-Unique: BKyOnfZNOHSev0VG_pHwGg-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 65311100746C; Thu, 24 Sep 2020 16:16:45 +0000 (UTC) Received: from thuth.com (ovpn-113-113.ams2.redhat.com [10.36.113.113]) by smtp.corp.redhat.com (Postfix) with ESMTP id 86D1073662; Thu, 24 Sep 2020 16:16:35 +0000 (UTC) From: Thomas Huth To: kvm@vger.kernel.org, Paolo Bonzini , Drew Jones Cc: Laurent Vivier , David Hildenbrand , Janosch Frank , Cornelia Huck Subject: [kvm-unit-tests PATCH 5/9] kbuild: fix asm-offset generation to work with clang Date: Thu, 24 Sep 2020 18:16:08 +0200 Message-Id: <20200924161612.144549-6-thuth@redhat.com> In-Reply-To: <20200924161612.144549-1-thuth@redhat.com> References: <20200924161612.144549-1-thuth@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org 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 --- 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 From patchwork Thu Sep 24 16:16:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Huth X-Patchwork-Id: 11797883 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7FED26CB for ; Thu, 24 Sep 2020 16:16:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5C1332388A for ; Thu, 24 Sep 2020 16:16:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="bojjvfyp" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727161AbgIXQQ5 (ORCPT ); Thu, 24 Sep 2020 12:16:57 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:49768 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727094AbgIXQQz (ORCPT ); Thu, 24 Sep 2020 12:16:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600964214; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:in-reply-to:in-reply-to:references:references; bh=Vz9fFD7Do5tf1ywGJ7bzN/b6Apbl8A7Fb9fNHS/U1ng=; b=bojjvfyp3BvQMlj5jJsRHQqXHczGElA/ZgDOI2GAB6LTVnP/khC4i4APSGa/Mu1Vgpce+5 11vIkBVUFHlm2wl0OLU9yrK3mE23dkzdaB8zp6hmmmvxOsZT0yWSXZYDLt8dc1u9CYBf4g FrNMApqHmTM1f8XLzHa8SS2EtGvUVyE= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-165-wKHk0Li7PuOEGR2yfgHMnw-1; Thu, 24 Sep 2020 12:16:49 -0400 X-MC-Unique: wKHk0Li7PuOEGR2yfgHMnw-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A60EC8712D3; Thu, 24 Sep 2020 16:16:48 +0000 (UTC) Received: from thuth.com (ovpn-113-113.ams2.redhat.com [10.36.113.113]) by smtp.corp.redhat.com (Postfix) with ESMTP id C39607368B; Thu, 24 Sep 2020 16:16:45 +0000 (UTC) From: Thomas Huth To: kvm@vger.kernel.org, Paolo Bonzini , Drew Jones Cc: Laurent Vivier , David Hildenbrand , Janosch Frank , Cornelia Huck Subject: [kvm-unit-tests PATCH 6/9] arm/pmu: Fix inline assembly for Clang Date: Thu, 24 Sep 2020 18:16:09 +0200 Message-Id: <20200924161612.144549-7-thuth@redhat.com> In-Reply-To: <20200924161612.144549-1-thuth@redhat.com> References: <20200924161612.144549-1-thuth@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org 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 Signed-off-by: Thomas Huth --- 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"); } From patchwork Thu Sep 24 16:16:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Huth X-Patchwork-Id: 11797881 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 04768139F for ; Thu, 24 Sep 2020 16:16:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D36852395C for ; Thu, 24 Sep 2020 16:16:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="UcTIXN9a" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727092AbgIXQQz (ORCPT ); Thu, 24 Sep 2020 12:16:55 -0400 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:56259 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727058AbgIXQQy (ORCPT ); Thu, 24 Sep 2020 12:16:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600964213; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:in-reply-to:in-reply-to:references:references; bh=hXFxCA1THgFF6E/WD3R3Q+VIFfK2zhJenxQYSaQDe00=; b=UcTIXN9auVpNFb3exgoPjRLPlVpok8eWZfrax9mFKJ4fxUFLC82tmne+SWTfABnjK5gs2I 1d99R/mHLNnhlumbmHRGjnwxxICU5ymqkkvESUVjJFC8QXCbF/Try08TPyg1KE6RoT5PvP nHMM8R+F0Fz7+yL5ZCQTvPWeEyYIDSQ= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-396-jBXSIpZmNnypE4lA6YcW5Q-1; Thu, 24 Sep 2020 12:16:51 -0400 X-MC-Unique: jBXSIpZmNnypE4lA6YcW5Q-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E4D7985B66C; Thu, 24 Sep 2020 16:16:50 +0000 (UTC) Received: from thuth.com (ovpn-113-113.ams2.redhat.com [10.36.113.113]) by smtp.corp.redhat.com (Postfix) with ESMTP id 10CB173662; Thu, 24 Sep 2020 16:16:48 +0000 (UTC) From: Thomas Huth To: kvm@vger.kernel.org, Paolo Bonzini , Drew Jones Cc: Laurent Vivier , David Hildenbrand , Janosch Frank , Cornelia Huck Subject: [kvm-unit-tests PATCH 7/9] lib/arm64/spinlock: Fix inline assembly for Clang Date: Thu, 24 Sep 2020 18:16:10 +0200 Message-Id: <20200924161612.144549-8-thuth@redhat.com> In-Reply-To: <20200924161612.144549-1-thuth@redhat.com> References: <20200924161612.144549-1-thuth@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org /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 --- 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) From patchwork Thu Sep 24 16:16:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Huth X-Patchwork-Id: 11797885 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6D7CA112C for ; Thu, 24 Sep 2020 16:17:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 493752388A for ; Thu, 24 Sep 2020 16:16:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="V5oI6U42" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727177AbgIXQQ6 (ORCPT ); Thu, 24 Sep 2020 12:16:58 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:25020 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727109AbgIXQQ5 (ORCPT ); Thu, 24 Sep 2020 12:16:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600964216; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:in-reply-to:in-reply-to:references:references; bh=gYIDqM4nbV+7RauD3ZCdNO3ELSBZxClDEHoBUa1k/b4=; b=V5oI6U422TBJDnlV7lXewt2SnHLmUJ5tIIpONIbHo1hcVMw72TTgtQRHIpGgbbtjCxCA7R F0zxfm7U3QQBuF+xFAe8VZX9KU6MHcy2cx6bo2705uhgavuuNzxgiVBpUzvvrknlbn8a17 OzzEXORbSp6fbzvScUoIKbBY6ewBmYQ= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-435-72dqKGE-MxuQmYWrk--uJg-1; Thu, 24 Sep 2020 12:16:54 -0400 X-MC-Unique: 72dqKGE-MxuQmYWrk--uJg-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1A5F085B66C; Thu, 24 Sep 2020 16:16:53 +0000 (UTC) Received: from thuth.com (ovpn-113-113.ams2.redhat.com [10.36.113.113]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4E9BF73662; Thu, 24 Sep 2020 16:16:51 +0000 (UTC) From: Thomas Huth To: kvm@vger.kernel.org, Paolo Bonzini , Drew Jones Cc: Laurent Vivier , David Hildenbrand , Janosch Frank , Cornelia Huck Subject: [kvm-unit-tests PATCH 8/9] travis.yml: Rework the aarch64 jobs Date: Thu, 24 Sep 2020 18:16:11 +0200 Message-Id: <20200924161612.144549-9-thuth@redhat.com> In-Reply-To: <20200924161612.144549-1-thuth@redhat.com> References: <20200924161612.144549-1-thuth@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org 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 --- .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 From patchwork Thu Sep 24 16:16:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Huth X-Patchwork-Id: 11797887 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 95C38139F for ; Thu, 24 Sep 2020 16:17:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7A8592311B for ; Thu, 24 Sep 2020 16:17:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="WL5PFyL0" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727216AbgIXQQ7 (ORCPT ); Thu, 24 Sep 2020 12:16:59 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:28815 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727109AbgIXQQ7 (ORCPT ); Thu, 24 Sep 2020 12:16:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1600964218; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:in-reply-to:in-reply-to:references:references; bh=ESECcfgdi0HGJSXdiCODCNQ551VCvweWVqN1MQQXij8=; b=WL5PFyL0U2nahzqCxhXBKiKQ7RdGQbdqJo4REU44xsJSnG0DE86EB41D75fph4LuTa56nN O8oJJDXv0jsp6IkqpSY2+rTw2Roee4iTGWzr9utCN4Ek5wLSDgKorNrF4pPJFZUWxZdVOZ mKWGOV3+8Jn4FN462kEKxgJOJBeVjlU= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-445-buxI-sCSMjKnOv96vtFMSw-1; Thu, 24 Sep 2020 12:16:56 -0400 X-MC-Unique: buxI-sCSMjKnOv96vtFMSw-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id ECC0D84E247; Thu, 24 Sep 2020 16:16:54 +0000 (UTC) Received: from thuth.com (ovpn-113-113.ams2.redhat.com [10.36.113.113]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6927473662; Thu, 24 Sep 2020 16:16:53 +0000 (UTC) From: Thomas Huth To: kvm@vger.kernel.org, Paolo Bonzini , Drew Jones Cc: Laurent Vivier , David Hildenbrand , Janosch Frank , Cornelia Huck Subject: [kvm-unit-tests PATCH 9/9] travis.yml: Update the list of s390x tests Date: Thu, 24 Sep 2020 18:16:12 +0200 Message-Id: <20200924161612.144549-10-thuth@redhat.com> In-Reply-To: <20200924161612.144549-1-thuth@redhat.com> References: <20200924161612.144549-1-thuth@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org With the new QEMU from Ubuntu Focal, we can now run more tests with TCG. Signed-off-by: Thomas Huth Acked-by: Cornelia Huck Acked-by: David Hildenbrand --- .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