From nobody Sun Feb 8 05:35:27 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1646937223395704.8503431392402; Thu, 10 Mar 2022 10:33:43 -0800 (PST) Received: from localhost ([::1]:56820 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nSNbZ-0007uV-LT for importer@patchew.org; Thu, 10 Mar 2022 13:33:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46604) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSNYR-0007qQ-Th; Thu, 10 Mar 2022 13:30:27 -0500 Received: from [2607:f8b0:4864:20::231] (port=46673 helo=mail-oi1-x231.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nSNYQ-0006Pp-4b; Thu, 10 Mar 2022 13:30:27 -0500 Received: by mail-oi1-x231.google.com with SMTP id b188so6782931oia.13; Thu, 10 Mar 2022 10:30:25 -0800 (PST) Received: from rekt.ibmuc.com ([2804:431:c7c6:5655:fd2a:accf:db6c:e4fd]) by smtp.gmail.com with ESMTPSA id a7-20020a4aae47000000b0031d17643eaasm2763175oon.22.2022.03.10.10.30.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Mar 2022 10:30:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=N8vGdVA12v95pIs/OkYXJiyfWLqaWfgn05gmgW7IhmQ=; b=HzbNbQIo5V2y//Z5DrCgLQ1x4uTF+y5X+6GdvkRWF9Yrs6ztM7TYxn9OTpnRo4/bj/ ep3RPLisAQ7arxLnzEe+A+wOP1ajXao+MDikm81fRLIzicE28E+r3jbqOQhbWizRyFpR n8fs+Rt07kjYBX0IS8SCN1W7JnyeN8izTVNp3XcZ3H39v+fbAWBrIZIxQfJLmjW61l4W oLelSFk1794mnsu/nMmoOgPTd0GXlaOP5ruWFWPM2wFzJGdR/t0jrWsPAoM69/JrtgMT pWSWRWArkzToBKAtaKDenoPvzxheuze41V1k7sOi+ugr2Y/vjDN+8Jubg2l4JAYtf8sP tY5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=N8vGdVA12v95pIs/OkYXJiyfWLqaWfgn05gmgW7IhmQ=; b=NHAOt5jvw/agM78q5E3IXIbTfcz3Dua3ErDQZ6Gu+OWwAUB9vJ0n7aTPmXkkir2//U dJEycjbmHRyYSZ391abIU8JFd8mTTQVv//4hXE1P4or5Ud9KZTqEdeRrJp5T9UE3ZmSq dKwYbRuW3Pyr5NDMQ+hMrcaIazm24Ov89C3eb6btR1eRIuw5pxNSKc0mvzB6+4xqxTlk zDW5MyLE+murppvhhNISeGIQe6gmdtrPKlS/5Qd6nQh0wDe+oD18HGdnqHNM0j4k0ITb YqSv60B7Rvt4eVzbdKroUpQ4wWkCRfmICyWqp1cvWODvRyKDZxOvcBkQ2Kw4z4DjLHTk zw4Q== X-Gm-Message-State: AOAM531BxvKQX5pLfE7Ot5XuIw3jCqkhUsfcz2vq0MWjTIliqLVfiU+i QnaJaPI02aVNdHrFoSao3FVXRu85POs= X-Google-Smtp-Source: ABdhPJziX9Hy0BjTRCdINs27LjLEeT4mFTA59uCgnaCApOhL0JR7WbFzOPsSz+C6v2u2HN3vEx4Jdw== X-Received: by 2002:a05:6808:2018:b0:2da:20c:4aff with SMTP id q24-20020a056808201800b002da020c4affmr10203623oiw.38.1646937024647; Thu, 10 Mar 2022 10:30:24 -0800 (PST) From: Daniel Henrique Barboza To: qemu-devel@nongnu.org Subject: [PATCH 1/9] avocado/boot_linux_console.py: check TCG accel in test_ppc_g3beige() Date: Thu, 10 Mar 2022 15:30:03 -0300 Message-Id: <20220310183011.110391-2-danielhb413@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220310183011.110391-1-danielhb413@gmail.com> References: <20220310183011.110391-1-danielhb413@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::231 (failed) Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::231; envelope-from=danielhb413@gmail.com; helo=mail-oi1-x231.google.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: farosas@linux.ibm.com, Daniel Henrique Barboza , qemu-ppc@nongnu.org, clg@kaod.org, muriloo@linux.ibm.com, david@gibson.dropbear.id.au Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1646937225474100003 Content-Type: text/plain; charset="utf-8" This test breaks when run in an IBM POWER host with a QEMU compiled with --disable-tcg and the ppc-softmmu target. One thing to note is that the error message explictly mentions kvm_pr support: Command: ./qemu-system-ppc -display none -vga none (...) -machine g3beige (...) Output: ioctl(KVM_CREATE_VM) failed: 22 Invalid argument PPC KVM module is not loaded. Try modprobe kvm_pr. qemu-system-ppc: failed to initialize kvm: Invalid argument The host was running kvm_hv, not kvm_pr, and the machine failed to load. Unfortunately we don't have a way to detect whether the KVM module loaded is kvm_hv or kvm_pr - we do a check for /dev/kvm to detect KVM support but both modules create this file so that's not helpful. Let's skip this test for now until we have a way of detecting kvm_pr suppor= t in the host. Reported-by: Murilo Opsfelder Araujo Signed-off-by: Daniel Henrique Barboza Tested-by: Murilo Opsfelder Araujo --- tests/avocado/boot_linux_console.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/avocado/boot_linux_console.py b/tests/avocado/boot_linux= _console.py index 6d6e748572..2f8d8e2fe6 100644 --- a/tests/avocado/boot_linux_console.py +++ b/tests/avocado/boot_linux_console.py @@ -1213,7 +1213,13 @@ def test_ppc_g3beige(self): """ :avocado: tags=3Darch:ppc :avocado: tags=3Dmachine:g3beige + :avocado: tags=3Daccel:tcg """ + # TODO: g3beige works with kvm_pr but we don't have a + # reliable way ATM (e.g. looking at /proc/modules) to detect + # whether we're running kvm_hv or kvm_pr. For now let's + # disable this test if we don't have TCG support. + self.require_accelerator("tcg") tar_hash =3D 'e0b872a5eb8fdc5bed19bd43ffe863900ebcedfc' self.vm.add_args('-M', 'graphics=3Doff') self.do_test_advcal_2018('15', tar_hash, 'invaders.elf') --=20 2.35.1 From nobody Sun Feb 8 05:35:27 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1646937364960810.153575522797; Thu, 10 Mar 2022 10:36:04 -0800 (PST) Received: from localhost ([::1]:35462 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nSNds-0004MW-Te for importer@patchew.org; Thu, 10 Mar 2022 13:36:04 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46622) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSNYU-0007xf-GR; Thu, 10 Mar 2022 13:30:30 -0500 Received: from [2607:f8b0:4864:20::230] (port=43718 helo=mail-oi1-x230.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nSNYS-0006Rb-Up; Thu, 10 Mar 2022 13:30:30 -0500 Received: by mail-oi1-x230.google.com with SMTP id w127so6817110oig.10; Thu, 10 Mar 2022 10:30:28 -0800 (PST) Received: from rekt.ibmuc.com ([2804:431:c7c6:5655:fd2a:accf:db6c:e4fd]) by smtp.gmail.com with ESMTPSA id a7-20020a4aae47000000b0031d17643eaasm2763175oon.22.2022.03.10.10.30.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Mar 2022 10:30:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yAZAiikDyxve7wBEmtVsELwtGoA6EcbwB2QbKMraC8c=; b=PaLuTSss7cS3ZSY/Te3JI25qZ5eSe9KnUt9Ri7qL5cLEcATBT0JlhFkB6X3g2wxIGU l7mW/3UP+PYlR/z0BGXUAvn+R9XhbD0jar0+KjydwoZy4BnZUmgAJ2ERaQh+42ckWLRn DODrgDgEOtQLrt2SE7LQX9yyR8GjFRORwl4gl1OSOyndgRHEN6QP9psGpRpM3Sx6tJzk HMZ9gdYVJuUcJCGzSlASi1Y6H7/oQQMeOgKakJLp4VwX1dFFHSmHy/a0ieMxpXduEH3p C74DPdrHMvcnS+6eOyeUzCHCCgTZdxkkaTpKUio7YdOtrJ4UFnGWa5mDZF9QL9+w0oPc 9G+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=yAZAiikDyxve7wBEmtVsELwtGoA6EcbwB2QbKMraC8c=; b=YIk+xkNhdEK4dm7HuVpajttU+d+YgBIU9mvlmjM8xsaTsfG6iHXnPynn/S0cZowEtE jga8xiR0CKhsmrOCTKzbDmF0oMeNR4KuE2Nth7sYHYrLcjMnppBD9qCmS/HdLRFs9rN7 OXSWgkZbFpZRTB1mf9efywcSLqt2/iMN39zBg48Q522NzLgXwdwSyqv3IpQI0zHdKETa sYQJU0JQCrUjux5ea1R/iiQhOaBWQhGvqE+f1ybLvI1OGcLkAQtwGcF1V1j0UfPDEjOz KLV7TESWBpcdHmaZXfE9O1inkL6lU4YxvY5URRMCeMN7f087zCc8D5WsNns7nsV90wp1 czUw== X-Gm-Message-State: AOAM531Eabt96i7c3drBIotALLlDemBkRoroSkKGjrru8BA+FKh25IHJ 8fxNfRsOb0KUiqXkGAdbdI3MyXh4jB0= X-Google-Smtp-Source: ABdhPJxa2qP749tTrCZ37Gn4u+FrIiLz6DS8mVD/TfLTokh2EtpSFlE1fm8w/zLSP7Zv9Cr+QNiY5A== X-Received: by 2002:a05:6808:1a19:b0:2d9:a01a:4ba1 with SMTP id bk25-20020a0568081a1900b002d9a01a4ba1mr4158743oib.200.1646937027173; Thu, 10 Mar 2022 10:30:27 -0800 (PST) From: Daniel Henrique Barboza To: qemu-devel@nongnu.org Subject: [PATCH 2/9] avocado/boot_linux_console.py: check TCG accel in test_ppc_mac99() Date: Thu, 10 Mar 2022 15:30:04 -0300 Message-Id: <20220310183011.110391-3-danielhb413@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220310183011.110391-1-danielhb413@gmail.com> References: <20220310183011.110391-1-danielhb413@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::230 (failed) Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::230; envelope-from=danielhb413@gmail.com; helo=mail-oi1-x230.google.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: farosas@linux.ibm.com, Daniel Henrique Barboza , qemu-ppc@nongnu.org, clg@kaod.org, muriloo@linux.ibm.com, david@gibson.dropbear.id.au Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1646937391654100001 Content-Type: text/plain; charset="utf-8" This test breaks when run in an IBM POWER host with a QEMU compiled with --disable-tcg and the ppc-softmmu target in a similar manner as test_ppc_g3beige did. There's also an observation made about kvm_pr in the error message: Command: ./qemu-system-ppc -display none -vga none (...) -machine mac99 (...) Output: ioctl(KVM_CREATE_VM) failed: 22 Invalid argument PPC KVM module is not loaded. Try modprobe kvm_pr. qemu-system-ppc: failed to initialize kvm: Invalid argument This means that, when/if we're able to detect kvm_pr support in these avocado tests, we can revisit this test to not rely solely on TCG availability. Signed-off-by: Daniel Henrique Barboza Tested-by: Murilo Opsfelder Araujo --- tests/avocado/boot_linux_console.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/avocado/boot_linux_console.py b/tests/avocado/boot_linux= _console.py index 2f8d8e2fe6..b40a3abc81 100644 --- a/tests/avocado/boot_linux_console.py +++ b/tests/avocado/boot_linux_console.py @@ -1228,7 +1228,13 @@ def test_ppc_mac99(self): """ :avocado: tags=3Darch:ppc :avocado: tags=3Dmachine:mac99 + :avocado: tags=3Daccel:tcg """ + # TODO: mac99 works with kvm_pr but we don't have a + # reliable way ATM (e.g. looking at /proc/modules) to detect + # whether we're running kvm_hv or kvm_pr. For now let's + # disable this test if we don't have TCG support. + self.require_accelerator("tcg") tar_hash =3D 'e0b872a5eb8fdc5bed19bd43ffe863900ebcedfc' self.vm.add_args('-M', 'graphics=3Doff') self.do_test_advcal_2018('15', tar_hash, 'invaders.elf') --=20 2.35.1 From nobody Sun Feb 8 05:35:27 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1646937434990353.9486219948442; Thu, 10 Mar 2022 10:37:14 -0800 (PST) Received: from localhost ([::1]:38956 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nSNf0-0006py-UN for importer@patchew.org; Thu, 10 Mar 2022 13:37:14 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46654) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSNYX-000855-4f; Thu, 10 Mar 2022 13:30:33 -0500 Received: from [2607:f8b0:4864:20::c2c] (port=38704 helo=mail-oo1-xc2c.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nSNYV-0006Rw-CT; Thu, 10 Mar 2022 13:30:32 -0500 Received: by mail-oo1-xc2c.google.com with SMTP id x26-20020a4a9b9a000000b003211029e80fso7799032ooj.5; Thu, 10 Mar 2022 10:30:30 -0800 (PST) Received: from rekt.ibmuc.com ([2804:431:c7c6:5655:fd2a:accf:db6c:e4fd]) by smtp.gmail.com with ESMTPSA id a7-20020a4aae47000000b0031d17643eaasm2763175oon.22.2022.03.10.10.30.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Mar 2022 10:30:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=wVGtHh0scFIFCaqU1H66eFsWF/LxNL0KwdPPDWuxtaQ=; b=FttKeaGM5ukGDDtp4+J+IGRrEq3sQ6VE58HcYE80jI+34MDhTPKQ9Q4WqSs9R6nWTB 6woCQjdiPKGq+MKlFGbe1oMreUvV1ZEA6N1MQNEgQSPG/jfp7OIExDH9/YKQFnRpn+tc wX+PctlzKKRjCRzt2LSPfVJd5LjKjrU64F2R7dZW0rFYgw085/+SqGZoid7ViXwLW3J+ kCFZnuCiyJJdsMV/crND4bX8EIhh5CoZ+gQV07yRAWDeBLJLq/6j0XJDG8NT+PxsfVtN q6ROZHAJDJrS1JT9WUhZv3KxbkFkuOmzpq/mZBJHNEeHgrWT0G0HNs7gHSS6uDMyAeTU 7UoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=wVGtHh0scFIFCaqU1H66eFsWF/LxNL0KwdPPDWuxtaQ=; b=35EFT6h9czMlpX6LYL7WIAYl6NfrHoJlQy4TrimJ5PJWaSgCFqwKzzJxYR7RRcOnwE pK7Y/bfdchtbbrZl9NRMZn3WydMJlJ4oClZiTyVttWk1fFM/A0cViink6XXZ5gN6EmUV /1+ZcpJfnL9XTdb3G6hntpQe3vryVuBR0JmGGQ8f+q12vw5/nqnQ0JXvyQlBX3YJq3cO zOEHGS73KCSPl7592tHR1ELGl32zVbLace5uxBM7udPGbFBQaddo/GDkJc2pUWZvXr58 9xYpM2M0cJ5TKlDlInw7BBgvwhdKFwne27RxycFP2d7XTg5u1Y+39LcuRA8nkVVqzx7t /cSw== X-Gm-Message-State: AOAM5310GNRSyQ55I9yi3khF2eNp1loagON89spDhjkJnLv65PlEyV05 RAkrV0cyeazQtyY/YzFAOlIWHw1+A4Q= X-Google-Smtp-Source: ABdhPJwkIrla6tXtcAmGeA6V5tho6Evtfuk5dPRK/SXYOHzkkTqZQpiFLyA85FWZwv1QpgYbWK0ZfQ== X-Received: by 2002:a05:6870:b39c:b0:d1:4a9f:35f9 with SMTP id w28-20020a056870b39c00b000d14a9f35f9mr3492472oap.119.1646937029922; Thu, 10 Mar 2022 10:30:29 -0800 (PST) From: Daniel Henrique Barboza To: qemu-devel@nongnu.org Subject: [PATCH 3/9] avocado/ppc_405.py: remove test_ppc_taihu() Date: Thu, 10 Mar 2022 15:30:05 -0300 Message-Id: <20220310183011.110391-4-danielhb413@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220310183011.110391-1-danielhb413@gmail.com> References: <20220310183011.110391-1-danielhb413@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::c2c (failed) Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::c2c; envelope-from=danielhb413@gmail.com; helo=mail-oo1-xc2c.google.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: farosas@linux.ibm.com, Daniel Henrique Barboza , qemu-ppc@nongnu.org, clg@kaod.org, muriloo@linux.ibm.com, david@gibson.dropbear.id.au Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1646937453450100001 Content-Type: text/plain; charset="utf-8" Running this test gives us a deprecation warning telling that this machine type is no longer supported: Output: qemu-system-ppc: Machine type 'taihu' is deprecated: incomplete, use 'ref405ep' instead Moreover, this test fails to pass running in an IBM POWER host when building QEMU with --disable-tcg. Since the machine type is already being considered deprecated let's not bother fixing the test with --disable-tcg. Remove test_ppc_taihu(). Signed-off-by: Daniel Henrique Barboza Tested-by: Murilo Opsfelder Araujo --- tests/avocado/ppc_405.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tests/avocado/ppc_405.py b/tests/avocado/ppc_405.py index a47f89b934..a69b7c5e97 100644 --- a/tests/avocado/ppc_405.py +++ b/tests/avocado/ppc_405.py @@ -25,14 +25,6 @@ def do_test_ppc405(self): wait_for_console_pattern(self, 'AMCC PPC405EP Evaluation Board') exec_command_and_wait_for_pattern(self, 'reset', 'AMCC PowerPC 405= EP') =20 - def test_ppc_taihu(self): - """ - :avocado: tags=3Darch:ppc - :avocado: tags=3Dmachine:taihu - :avocado: tags=3Dcpu:405ep - """ - self.do_test_ppc405() - def test_ppc_ref405ep(self): """ :avocado: tags=3Darch:ppc --=20 2.35.1 From nobody Sun Feb 8 05:35:27 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1646937109849705.0576421859625; Thu, 10 Mar 2022 10:31:49 -0800 (PST) Received: from localhost ([::1]:49176 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nSNZk-0002be-Gl for importer@patchew.org; Thu, 10 Mar 2022 13:31:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46686) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSNYZ-0008CX-N7; Thu, 10 Mar 2022 13:30:35 -0500 Received: from [2607:f8b0:4864:20::234] (port=42639 helo=mail-oi1-x234.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nSNYY-0006SK-9J; Thu, 10 Mar 2022 13:30:35 -0500 Received: by mail-oi1-x234.google.com with SMTP id q189so6816772oia.9; Thu, 10 Mar 2022 10:30:33 -0800 (PST) Received: from rekt.ibmuc.com ([2804:431:c7c6:5655:fd2a:accf:db6c:e4fd]) by smtp.gmail.com with ESMTPSA id a7-20020a4aae47000000b0031d17643eaasm2763175oon.22.2022.03.10.10.30.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Mar 2022 10:30:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=oDU3PKR/m7ZguVnKoBH3XivpSHR+k0Ui4MVGL8r3lCM=; b=TyQ9blvsQ3FLc2o0i+GurEp2yr/FlrSkF2SQF31T1WZtE8EKF6VTyQKKEYPpgbC2wV /JlKZu5k+xHUkFZA+c3uc5I87PDDnIMQ0dh4LmTMZdsF0G3X9GefdEMPMPrUHyIXqqYK oi1UJoqBPJJQgBg1Yfh0MQoPLOZqL/xJnxsKKwp43nnDxiHxos1zfTCc7xlo17H0Zwti kZmUY6mE8jdWAW2/1EVbLmM0ocIllWAJ3tUJrwczZFGtm7pJqgRxfHpZeEJne/cfotcJ ySJx8zJAENwy0PlRUoY93b7G4XfNBwhrs5qMb7Op8U23HCnXSAb280EHa73TUQSvo3kg qn5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oDU3PKR/m7ZguVnKoBH3XivpSHR+k0Ui4MVGL8r3lCM=; b=EYVXYihQ7Rq6mz8MCDsvY6Rie7yPr3HDEv0kqBMCz9VF8lFJdFhz4jDnWA+tILf6P8 /buAbecBrMZqGQqDkHaMGuzYwAQ69c9AEwAarOcucW//hxA9qF/hS54LRx+midcP395R 9wrKFPubzAkagnVlKo766t5r5SRLBLoGtltsxMM1stEEw6bU5ryc9rckzaAXi8qL0Ql1 6uLX9tl+QAUk8pEz1HmHDdAfXLQtHtQ5pbOSdU8Clurle9k+SDhcxE/OlY/TIfXSF2dN tVRnujtjPvt1Xbrr0faYnZbKzVn5aL7RUCJK2kCmzYZ/hY7lySy1pdxxQgobIsZajEbV N1Gg== X-Gm-Message-State: AOAM5304SHZ2Xc2yy/Kjkwb7GftSb3R99UhIya9ybSp5kdaqbO+8YHbm J5+9bz5veDnRTM1hc1ptOJXUYOxb68w= X-Google-Smtp-Source: ABdhPJxCf7h3oP2y6Han23b0g2bSiGB0oJA+1Brvvp8UuOJD0cOnt7FjezZhwYMY/DeHMaHl+p7IPg== X-Received: by 2002:a05:6808:2227:b0:2da:5a4f:95db with SMTP id bd39-20020a056808222700b002da5a4f95dbmr3215414oib.129.1646937032537; Thu, 10 Mar 2022 10:30:32 -0800 (PST) From: Daniel Henrique Barboza To: qemu-devel@nongnu.org Subject: [PATCH 4/9] avocado/ppc_405.py: check TCG accel in test_ppc_ref405ep() Date: Thu, 10 Mar 2022 15:30:06 -0300 Message-Id: <20220310183011.110391-5-danielhb413@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220310183011.110391-1-danielhb413@gmail.com> References: <20220310183011.110391-1-danielhb413@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::234 (failed) Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::234; envelope-from=danielhb413@gmail.com; helo=mail-oi1-x234.google.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: farosas@linux.ibm.com, Daniel Henrique Barboza , qemu-ppc@nongnu.org, clg@kaod.org, muriloo@linux.ibm.com, david@gibson.dropbear.id.au Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1646937111871100001 Content-Type: text/plain; charset="utf-8" Running this test without TCG support in an IBM POWER server results in the following error: Command: ./qemu-system-ppc -display none -vga none (...) -machine ref405ep (...) Output: qemu-system-ppc: Register sync failed... If you're using kvm-hv.ko, only "-cpu host" is possible qemu-system-ppc: kvm_init_vcpu: kvm_arch_init_vcpu failed (0): Invalid argu= ment Although the host is running kvm_hv we don't have a way of differentiate between kvm_hv and kvm_pr, meaning that this test would've failed in the same way if kvm_pr was the KVM module loaded in the host. Since we don't have a way of checking which KVM module is being loaded when using avocado, make a TCG accel check in test_ppc_ref405ep(). Signed-off-by: Daniel Henrique Barboza Tested-by: Murilo Opsfelder Araujo --- tests/avocado/ppc_405.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/avocado/ppc_405.py b/tests/avocado/ppc_405.py index a69b7c5e97..4e7e01aa76 100644 --- a/tests/avocado/ppc_405.py +++ b/tests/avocado/ppc_405.py @@ -30,5 +30,7 @@ def test_ppc_ref405ep(self): :avocado: tags=3Darch:ppc :avocado: tags=3Dmachine:ref405ep :avocado: tags=3Dcpu:405ep + :avocado: tags=3Daccel:tcg """ + self.require_accelerator("tcg") self.do_test_ppc405() --=20 2.35.1 From nobody Sun Feb 8 05:35:27 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1646937116913519.6725446324946; Thu, 10 Mar 2022 10:31:56 -0800 (PST) Received: from localhost ([::1]:49828 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nSNZr-00032f-L2 for importer@patchew.org; Thu, 10 Mar 2022 13:31:55 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46752) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSNYd-0008PN-BF; Thu, 10 Mar 2022 13:30:39 -0500 Received: from [2607:f8b0:4864:20::22c] (port=33657 helo=mail-oi1-x22c.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nSNYa-0006Si-Oc; Thu, 10 Mar 2022 13:30:39 -0500 Received: by mail-oi1-x22c.google.com with SMTP id x193so6902706oix.0; Thu, 10 Mar 2022 10:30:36 -0800 (PST) Received: from rekt.ibmuc.com ([2804:431:c7c6:5655:fd2a:accf:db6c:e4fd]) by smtp.gmail.com with ESMTPSA id a7-20020a4aae47000000b0031d17643eaasm2763175oon.22.2022.03.10.10.30.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Mar 2022 10:30:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=KksAmfwngOvXexifphiRnS9fUUwbOAfod6oKkAWL/dE=; b=O8NbKwlvCa2SUK7rAx80kuXGPEnwhFQQvM7NHT+uPbQMBvuz39qngpDtuofAeD+W7V KCOMVH5fRBun9jaR+P9Fjl5DrJlKuWGOkgEwnD+TM+MjH51uPIuBVAr6em1xjbd1Myk1 z79FfCY7XB3C8OpLoGs5Zg0KCMJSVBfZXLVlMZf9Bi+8gDkIJEySLMb4QmgByhwCqyOg Sq52s7MTYUXiI/hFFuVwMQJtdZF8pU++Dfp4jaSK3RKHWZSVBUe+wd0LB5Rmr31JZYfg mHtWdyxIhmSgtgeJCf3kzwWrL8u9mrYwVBjv9fQc1z3Zf3rpPqZNVdKAxjrD2WvgoKkV RObQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=KksAmfwngOvXexifphiRnS9fUUwbOAfod6oKkAWL/dE=; b=sqTVlNEbXeWbd/TwEFW2SRu/lnYfvEz9dSZdE/v+DrmmMk5dBF8FXh1Fso6Fhtb3rm MEyoY0AkO1tF6sYUTvVZNpZY4Zo88pikOoJFO/LGld/g2PJdp8yfK41c6Nn1EG6kLjEa fdUaxhneXpbZS+FvoAvh+N0dUnETjn8EuxCQZFV4dbyXtOmbHNBI9LerZN/7cMIqUfws DKNuUmKNAwbTvyJT4kXZsaMSHCDtaPOgb4AqixXSXdgP9nhUUMQeNTz8jkGiQ8dExA06 gOvaoOsslIxuiQnGvj4uNLZyZqNAhV2lwzt6vcsCBq9ghc4ZCrIXnSq3WXVxJT03Rjkq E09A== X-Gm-Message-State: AOAM530zEvq8HoUKcLF8KdKRBzw1tcisFCRyVyaUPFW3HZYLjoueN/sy 4BOFfkvUkoU3hJmZvkZI9/tkpJLCtZk= X-Google-Smtp-Source: ABdhPJyms771tYPfcsdo4u7S9G/Vh0GeL7JCLu0dpwtvkbZTJFc9URtppjPvGeBFVp2oSsaS9PyURg== X-Received: by 2002:a05:6808:15a9:b0:2da:5978:4a43 with SMTP id t41-20020a05680815a900b002da59784a43mr3545342oiw.30.1646937035310; Thu, 10 Mar 2022 10:30:35 -0800 (PST) From: Daniel Henrique Barboza To: qemu-devel@nongnu.org Subject: [PATCH 5/9] avocado/ppc_74xx.py: check TCG accel for all tests Date: Thu, 10 Mar 2022 15:30:07 -0300 Message-Id: <20220310183011.110391-6-danielhb413@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220310183011.110391-1-danielhb413@gmail.com> References: <20220310183011.110391-1-danielhb413@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::22c (failed) Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::22c; envelope-from=danielhb413@gmail.com; helo=mail-oi1-x22c.google.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: farosas@linux.ibm.com, Daniel Henrique Barboza , qemu-ppc@nongnu.org, clg@kaod.org, muriloo@linux.ibm.com, david@gibson.dropbear.id.au Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1646937117665100001 Content-Type: text/plain; charset="utf-8" All tests of this file, when running in an IBM POWER host and with --disable-tcg, fail in a similar manner: Command: ./qemu-system-ppc -display none -vga none (...) -cpu 7400 (...) Output: ioctl(KVM_CREATE_VM) failed: 22 Invalid argument PPC KVM module is not loaded. Try modprobe kvm_pr. qemu-system-ppc: failed to initialize kvm: Invalid argument We don't have a way of telling which KVM module is loaded in a Power host (kvm_hv or kvm_pr). For now let's make all the tests of this file depend on TCG support. Signed-off-by: Daniel Henrique Barboza Tested-by: Murilo Opsfelder Araujo --- tests/avocado/ppc_74xx.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/tests/avocado/ppc_74xx.py b/tests/avocado/ppc_74xx.py index 556a9a7da9..f54757c243 100644 --- a/tests/avocado/ppc_74xx.py +++ b/tests/avocado/ppc_74xx.py @@ -11,6 +11,7 @@ class ppc74xxCpu(QemuSystemTest): """ :avocado: tags=3Darch:ppc + :avocado: tags=3Daccel:tcg """ timeout =3D 5 =20 @@ -18,6 +19,7 @@ def test_ppc_7400(self): """ :avocado: tags=3Dcpu:7400 """ + self.require_accelerator("tcg") self.vm.set_console() self.vm.launch() wait_for_console_pattern(self, '>> OpenBIOS') @@ -27,6 +29,7 @@ def test_ppc_7410(self): """ :avocado: tags=3Dcpu:7410 """ + self.require_accelerator("tcg") self.vm.set_console() self.vm.launch() wait_for_console_pattern(self, '>> OpenBIOS') @@ -36,6 +39,7 @@ def test_ppc_7441(self): """ :avocado: tags=3Dcpu:7441 """ + self.require_accelerator("tcg") self.vm.set_console() self.vm.launch() wait_for_console_pattern(self, '>> OpenBIOS') @@ -45,6 +49,7 @@ def test_ppc_7445(self): """ :avocado: tags=3Dcpu:7445 """ + self.require_accelerator("tcg") self.vm.set_console() self.vm.launch() wait_for_console_pattern(self, '>> OpenBIOS') @@ -54,6 +59,7 @@ def test_ppc_7447(self): """ :avocado: tags=3Dcpu:7447 """ + self.require_accelerator("tcg") self.vm.set_console() self.vm.launch() wait_for_console_pattern(self, '>> OpenBIOS') @@ -63,6 +69,7 @@ def test_ppc_7447a(self): """ :avocado: tags=3Dcpu:7447a """ + self.require_accelerator("tcg") self.vm.set_console() self.vm.launch() wait_for_console_pattern(self, '>> OpenBIOS') @@ -72,6 +79,7 @@ def test_ppc_7448(self): """ :avocado: tags=3Dcpu:7448 """ + self.require_accelerator("tcg") self.vm.set_console() self.vm.launch() wait_for_console_pattern(self, '>> OpenBIOS') @@ -81,6 +89,7 @@ def test_ppc_7450(self): """ :avocado: tags=3Dcpu:7450 """ + self.require_accelerator("tcg") self.vm.set_console() self.vm.launch() wait_for_console_pattern(self, '>> OpenBIOS') @@ -90,6 +99,7 @@ def test_ppc_7451(self): """ :avocado: tags=3Dcpu:7451 """ + self.require_accelerator("tcg") self.vm.set_console() self.vm.launch() wait_for_console_pattern(self, '>> OpenBIOS') @@ -99,6 +109,7 @@ def test_ppc_7455(self): """ :avocado: tags=3Dcpu:7455 """ + self.require_accelerator("tcg") self.vm.set_console() self.vm.launch() wait_for_console_pattern(self, '>> OpenBIOS') @@ -108,6 +119,7 @@ def test_ppc_7457(self): """ :avocado: tags=3Dcpu:7457 """ + self.require_accelerator("tcg") self.vm.set_console() self.vm.launch() wait_for_console_pattern(self, '>> OpenBIOS') @@ -117,6 +129,7 @@ def test_ppc_7457a(self): """ :avocado: tags=3Dcpu:7457a """ + self.require_accelerator("tcg") self.vm.set_console() self.vm.launch() wait_for_console_pattern(self, '>> OpenBIOS') --=20 2.35.1 From nobody Sun Feb 8 05:35:27 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1646937236153519.2864444213003; Thu, 10 Mar 2022 10:33:56 -0800 (PST) Received: from localhost ([::1]:57904 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nSNbn-0000OK-2p for importer@patchew.org; Thu, 10 Mar 2022 13:33:55 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46762) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSNYe-0008Ut-Qp; Thu, 10 Mar 2022 13:30:40 -0500 Received: from [2607:f8b0:4864:20::22c] (port=42632 helo=mail-oi1-x22c.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nSNYd-0006T2-4c; Thu, 10 Mar 2022 13:30:40 -0500 Received: by mail-oi1-x22c.google.com with SMTP id q189so6817007oia.9; Thu, 10 Mar 2022 10:30:38 -0800 (PST) Received: from rekt.ibmuc.com ([2804:431:c7c6:5655:fd2a:accf:db6c:e4fd]) by smtp.gmail.com with ESMTPSA id a7-20020a4aae47000000b0031d17643eaasm2763175oon.22.2022.03.10.10.30.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Mar 2022 10:30:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1bAYqnbcXXzzdvS/QwhyF42BUGZazn5D9bPKDfDcXNk=; b=IOoEfsrT3mrlwVmDYJ4yjgs3gQuk4lUVDCnManhHkyYq3cT94z14Q7GPygqp1aFgI8 aKWV3EjTbin1zw6bMuIzTn+zLuovPI1JL3bb93oFI/G2YdfPrq39jVbSep8CRkXGgXKG hYml+gUxh3ERRhMwHGRkmVpSgmgLRAR0FT7U7U8gpYRuIru4pR8Bu0e8q5Q1xKLw1Xnv pvD34eHBqvcdpnnghhwX45tCEY3/Ly5YzbJ8/s/BYCVQSniJxAPYdDaOWgMr9xa9kI72 v7nsryaADg46so593roXypV18O63FByY2+AuD9szddTNQi/GxvARnrY2ky+JMlZFtG6x e5hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1bAYqnbcXXzzdvS/QwhyF42BUGZazn5D9bPKDfDcXNk=; b=EQ6HWjXGZz0uPZNIT1JR3SDlAP8SPIi1ceEkv81Zu1Beo/2NpgK9l0v9cNeiA8aaDA D1IJNNyoHtS9IoHObrVt4NYbxAvbyYSTN0lUVuGnqHFYy6ujPwtilABFUymVql+LQknF TMq4YtFiebMFnht0OfL92oPy48MNoLcT3VX0gxdwqdKNWqb6u2oEF867YSLp3ChF/8mO pifqGwjw1cCxnRI/HNEyOYfsvjLadbU1UEOg9EDWEb+P/fKT9pII3rjwQg0bLFpfyY4d 6HFuJ/PofPYpjkt4BLv5sd916TDn/RfCtFkhi4OhWdhEnVFEfoqCxVh1CbOOu/4QDcDs 9tBg== X-Gm-Message-State: AOAM532Il0jXnYxOOIsa3p+kt5SJzNx6Cpo57CakUU6F0+8JZxU3r1Tj TmkeZcCrz5aWK7znS4I5a7cCFmj2l10= X-Google-Smtp-Source: ABdhPJzArxuOD9m1okzPETgTs1qAcCOD+g2+3I/hQ8irzI5au2m6gjwDyrkJl1I33lUfnvkepJweYw== X-Received: by 2002:a05:6808:1809:b0:2da:3311:3290 with SMTP id bh9-20020a056808180900b002da33113290mr4357260oib.295.1646937037726; Thu, 10 Mar 2022 10:30:37 -0800 (PST) From: Daniel Henrique Barboza To: qemu-devel@nongnu.org Subject: [PATCH 6/9] avocado/ppc_bamboo.py: check TCG accel in test_ppc_bamboo() Date: Thu, 10 Mar 2022 15:30:08 -0300 Message-Id: <20220310183011.110391-7-danielhb413@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220310183011.110391-1-danielhb413@gmail.com> References: <20220310183011.110391-1-danielhb413@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::22c (failed) Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::22c; envelope-from=danielhb413@gmail.com; helo=mail-oi1-x22c.google.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: farosas@linux.ibm.com, Daniel Henrique Barboza , qemu-ppc@nongnu.org, clg@kaod.org, muriloo@linux.ibm.com, david@gibson.dropbear.id.au Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1646937237827100001 Content-Type: text/plain; charset="utf-8" This tests times out in an IBM POWER host when compiled with --disable-tcg. Signed-off-by: Daniel Henrique Barboza Tested-by: Murilo Opsfelder Araujo --- tests/avocado/ppc_bamboo.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/avocado/ppc_bamboo.py b/tests/avocado/ppc_bamboo.py index 40629e3478..102ff252df 100644 --- a/tests/avocado/ppc_bamboo.py +++ b/tests/avocado/ppc_bamboo.py @@ -20,7 +20,9 @@ def test_ppc_bamboo(self): :avocado: tags=3Dmachine:bamboo :avocado: tags=3Dcpu:440epb :avocado: tags=3Ddevice:rtl8139 + :avocado: tags=3Daccel:tcg """ + self.require_accelerator("tcg") tar_url =3D ('http://landley.net/aboriginal/downloads/binaries/' 'system-image-powerpc-440fp.tar.gz') tar_hash =3D '53e5f16414b195b82d2c70272f81c2eedb39bad9' --=20 2.35.1 From nobody Sun Feb 8 05:35:27 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1646937132249566.6883748904181; Thu, 10 Mar 2022 10:32:12 -0800 (PST) Received: from localhost ([::1]:51204 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nSNa7-0003wx-2c for importer@patchew.org; Thu, 10 Mar 2022 13:32:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46788) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSNYh-0000Df-3e; Thu, 10 Mar 2022 13:30:43 -0500 Received: from [2607:f8b0:4864:20::c35] (port=38715 helo=mail-oo1-xc35.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nSNYf-0006TO-Ii; Thu, 10 Mar 2022 13:30:42 -0500 Received: by mail-oo1-xc35.google.com with SMTP id x26-20020a4a9b9a000000b003211029e80fso7799762ooj.5; Thu, 10 Mar 2022 10:30:40 -0800 (PST) Received: from rekt.ibmuc.com ([2804:431:c7c6:5655:fd2a:accf:db6c:e4fd]) by smtp.gmail.com with ESMTPSA id a7-20020a4aae47000000b0031d17643eaasm2763175oon.22.2022.03.10.10.30.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Mar 2022 10:30:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=cws2rcOAAtRNO3jJK+A1VPeuM4fzirt/2n3rW/BbZEQ=; b=HLtd5bVYwaRKo+9yTPaYZIAs2l0HivGDhfvJO+bVgmv10bQjGqMSvama3/Ae3AisX2 S5YlDDqE3f1krpYNCXbqI0rVxN33RaY0A+uYQblVk6/p1jGFg2N0KGxjJW26YFFpIoq4 1i4KRnukqSeBl6pO58rtLv18bJBfbF+ncM3XiLRFTeY9bu8Pl3KPJF63MyD573XMDoZE NeCQjijwSLlLCpnX7E3CLYqH32rV/YCjRkykVZb0h4Of9dZ9msBkBsSst3g2Bu+TXMDf m9Vc9AQlzVFHL9YG1RjEiduaqh/bitX3ZHoAo0zvziNlvvkYEXBswdTgfRN0KuMEi0HM diJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=cws2rcOAAtRNO3jJK+A1VPeuM4fzirt/2n3rW/BbZEQ=; b=2AhFK2g0DhGfcdhhUIWGaC96R9FYl62XnRXSujI3QF8qEsSnpaXlU/GH+WI+rYQsXp 7C5eqPQvvEPAtaCkc05qlne7JFyeJeYW+qBcUvkt2LDgMnz0TqgwgxXtMh0fLDRpjnpb nIb+x84bkQ+MOdt8Ka/tJiRG43FyoynWHpcLFHSS6cKzBvceKbfE3MH2TJJHvhandIMf 5bA9X6jYDG5+vq9CqQ/1btncAG4CMLbWbr4cTr7DHLYGASntctG0L2+HAWukR4G0Hqmx 4KqMZWEve0uMMPaLlyAN9HOov02rPrcGx1cYydiaqOx7FJie0oBv37IbRTNvWVJugSHm JInQ== X-Gm-Message-State: AOAM53394VSeKQpTFFlhLnYmgwukfpYb6FIAWlk1aJLiZWNBuBF4Ru4g 9mOLdLrJSDiDekcsxecfrzQbER/iaCc= X-Google-Smtp-Source: ABdhPJxwYWs0nVJkrQai1Xvfhz1wwdo6sySMbiqI6CE4naLWoLNSHXKjW6QbtpLWTYZDTuPJXl2Znw== X-Received: by 2002:a05:6870:238c:b0:d6:f796:c98e with SMTP id e12-20020a056870238c00b000d6f796c98emr3681142oap.82.1646937040074; Thu, 10 Mar 2022 10:30:40 -0800 (PST) From: Daniel Henrique Barboza To: qemu-devel@nongnu.org Subject: [PATCH 7/9] avocado/ppc_mpc8544ds.py: check TCG accel in test_ppc_mpc8544ds() Date: Thu, 10 Mar 2022 15:30:09 -0300 Message-Id: <20220310183011.110391-8-danielhb413@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220310183011.110391-1-danielhb413@gmail.com> References: <20220310183011.110391-1-danielhb413@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::c35 (failed) Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::c35; envelope-from=danielhb413@gmail.com; helo=mail-oo1-xc35.google.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: farosas@linux.ibm.com, Daniel Henrique Barboza , qemu-ppc@nongnu.org, clg@kaod.org, muriloo@linux.ibm.com, david@gibson.dropbear.id.au Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1646937133951100001 Content-Type: text/plain; charset="utf-8" This tests times out in an IBM POWER host when compiled with --disable-tcg. Signed-off-by: Daniel Henrique Barboza Tested-by: Murilo Opsfelder Araujo --- tests/avocado/ppc_mpc8544ds.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/avocado/ppc_mpc8544ds.py b/tests/avocado/ppc_mpc8544ds.py index 886f967b15..8d6a749201 100644 --- a/tests/avocado/ppc_mpc8544ds.py +++ b/tests/avocado/ppc_mpc8544ds.py @@ -19,7 +19,9 @@ def test_ppc_mpc8544ds(self): """ :avocado: tags=3Darch:ppc :avocado: tags=3Dmachine:mpc8544ds + :avocado: tags=3Daccel:tcg """ + self.require_accelerator("tcg") tar_url =3D ('https://www.qemu-advent-calendar.org' '/2020/download/day17.tar.gz') tar_hash =3D '7a5239542a7c4257aa4d3b7f6ddf08fb6775c494' --=20 2.35.1 From nobody Sun Feb 8 05:35:27 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1646937244376287.7124261260517; Thu, 10 Mar 2022 10:34:04 -0800 (PST) Received: from localhost ([::1]:58134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nSNbv-0000ap-7F for importer@patchew.org; Thu, 10 Mar 2022 13:34:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46804) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSNYj-0000Oe-Su; Thu, 10 Mar 2022 13:30:45 -0500 Received: from [2607:f8b0:4864:20::c29] (port=34663 helo=mail-oo1-xc29.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nSNYi-0006Tv-98; Thu, 10 Mar 2022 13:30:45 -0500 Received: by mail-oo1-xc29.google.com with SMTP id k13-20020a4a948d000000b003172f2f6bdfso7840215ooi.1; Thu, 10 Mar 2022 10:30:43 -0800 (PST) Received: from rekt.ibmuc.com ([2804:431:c7c6:5655:fd2a:accf:db6c:e4fd]) by smtp.gmail.com with ESMTPSA id a7-20020a4aae47000000b0031d17643eaasm2763175oon.22.2022.03.10.10.30.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Mar 2022 10:30:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=A7TNNcbiHZAJatj3f+7nXd+QmFjxeAk/3gHOIwo7h7g=; b=eBDCTDAUFKg3iOkdhDi39o103IYY4b8xH+cjPRuVh3YRA4KKcNnR5QMeXtEF59CTcR cTaq1SsloakQPWIom0KBUPZuY4iQdOWBNMCijCV5JWWPw4O5l210cXGpcUkcizjA5SR0 KRASAkKdfznyYgXM9Xy+AqtkmMryjIXBIdWZkWdEkvrOwb0g0+Gqr2OpzAjVwEv9ISpV JTsa6LH24nHzldaRGbFbhFQNAw/uDEodB1ljt0CIcnr7M9SLu/t33JyadCICyQ6IHwu4 x9cVMd5r96c3b6YYlXYmHIu0lPTm3knGtz2m+vESXAHrmPqNxrL0l/oE0SyNIPK4Rdqq KB3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=A7TNNcbiHZAJatj3f+7nXd+QmFjxeAk/3gHOIwo7h7g=; b=1UTgb6y7HLTJxLw2c28flL7tSYAIsdEIVL/v6d7axFq2jGxyC6y533nPWk++3KFs0e JlqbTvdEVNC5TuO03sdLOj+MrEJMNIwyb3fGS9BtRZJIaU16bmzhOJtcz9cQIt/fXvy3 UN8vHIO3FfmTjRFPDlQ3LvMTvgfbxlKeugqXc03tXJsebyO/cUyP7ymMiXjEFzEqs/7n qy6XaY6I9trssNFgN7nNB1pxvezHbrgHB1AeGNMmjbRxQ10cYo6RhbNA1y4lb4vm99pe vV0ITbbZCmvldi3jYs8S0Rs2ioBN4DY5rlYhJb9UCaAtiZfXY2auVh4JQu6BNO9/WlxH U9HQ== X-Gm-Message-State: AOAM5321d/7LMZK+N6ilaUgeA5leQaB/CK/RaGARd8RpdK8Hpiu8jNHD LIpHZ/7zCt9lThyeB28LoZ36YqqpxpE= X-Google-Smtp-Source: ABdhPJy0xL0BDvX8vgFIn8HF46fCXWVNh8Ex2OtBiVS6k9tkX+6EBjgrO3fmBtgEhE4EgZm0ZTx6uA== X-Received: by 2002:a05:6870:2486:b0:d4:164a:a230 with SMTP id s6-20020a056870248600b000d4164aa230mr9119437oaq.152.1646937042810; Thu, 10 Mar 2022 10:30:42 -0800 (PST) From: Daniel Henrique Barboza To: qemu-devel@nongnu.org Subject: [PATCH 8/9] avocado/ppc_prep_40p.py: check TCG accel in all tests Date: Thu, 10 Mar 2022 15:30:10 -0300 Message-Id: <20220310183011.110391-9-danielhb413@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220310183011.110391-1-danielhb413@gmail.com> References: <20220310183011.110391-1-danielhb413@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::c29 (failed) Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::c29; envelope-from=danielhb413@gmail.com; helo=mail-oo1-xc29.google.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: farosas@linux.ibm.com, Daniel Henrique Barboza , qemu-ppc@nongnu.org, clg@kaod.org, muriloo@linux.ibm.com, david@gibson.dropbear.id.au Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1646937245428100001 Content-Type: text/plain; charset="utf-8" All tests in the file times out when running in an IBM POWER host and --disable-tcg with an error like the following: Command: ./qemu-system-ppc -display none -vga none (...) -machine 40p (...) Output: qemu-system-ppc: Register sync failed... If you're using kvm-hv.ko, only "-cpu host" is possible qemu-system-ppc: kvm_init_vcpu: kvm_arch_init_vcpu failed (0): Invalid argu= ment Since we don't have a way to detect whether the host is running kvm_hv or kvm_pr, skip all tests if TCG is not available. Signed-off-by: Daniel Henrique Barboza Reviewed-by: Philippe Mathieu-Daud=C3=A9 Tested-by: Murilo Opsfelder Araujo --- tests/avocado/ppc_prep_40p.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/avocado/ppc_prep_40p.py b/tests/avocado/ppc_prep_40p.py index 4bd956584d..d4f1eb7e1d 100644 --- a/tests/avocado/ppc_prep_40p.py +++ b/tests/avocado/ppc_prep_40p.py @@ -28,7 +28,9 @@ def test_factory_firmware_and_netbsd(self): :avocado: tags=3Dmachine:40p :avocado: tags=3Dos:netbsd :avocado: tags=3Dslowness:high + :avocado: tags=3Daccel:tcg """ + self.require_accelerator("tcg") bios_url =3D ('http://ftpmirror.your.org/pub/misc/' 'ftp.software.ibm.com/rs6000/firmware/' '7020-40p/P12H0456.IMG') @@ -51,7 +53,9 @@ def test_openbios_192m(self): """ :avocado: tags=3Darch:ppc :avocado: tags=3Dmachine:40p + :avocado: tags=3Daccel:tcg """ + self.require_accelerator("tcg") self.vm.set_console() self.vm.add_args('-m', '192') # test fw_cfg =20 @@ -65,7 +69,9 @@ def test_openbios_and_netbsd(self): :avocado: tags=3Darch:ppc :avocado: tags=3Dmachine:40p :avocado: tags=3Dos:netbsd + :avocado: tags=3Daccel:tcg """ + self.require_accelerator("tcg") drive_url =3D ('https://archive.netbsd.org/pub/NetBSD-archive/' 'NetBSD-7.1.2/iso/NetBSD-7.1.2-prep.iso') drive_hash =3D 'ac6fa2707d888b36d6fa64de6e7fe48e' --=20 2.35.1 From nobody Sun Feb 8 05:35:27 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1646937372201414.0946624151127; Thu, 10 Mar 2022 10:36:12 -0800 (PST) Received: from localhost ([::1]:35910 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nSNe0-0004ga-7E for importer@patchew.org; Thu, 10 Mar 2022 13:36:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46822) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSNYn-0000c1-14; Thu, 10 Mar 2022 13:30:49 -0500 Received: from [2607:f8b0:4864:20::c2a] (port=35638 helo=mail-oo1-xc2a.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nSNYl-0006UD-A5; Thu, 10 Mar 2022 13:30:48 -0500 Received: by mail-oo1-xc2a.google.com with SMTP id y27-20020a4a9c1b000000b0032129651bb0so7829691ooj.2; Thu, 10 Mar 2022 10:30:46 -0800 (PST) Received: from rekt.ibmuc.com ([2804:431:c7c6:5655:fd2a:accf:db6c:e4fd]) by smtp.gmail.com with ESMTPSA id a7-20020a4aae47000000b0031d17643eaasm2763175oon.22.2022.03.10.10.30.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Mar 2022 10:30:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=q3MXs1Jg1LsZl8U6hUCx64ZzTZJTp4QnDhjPu1cVR9o=; b=DkSfW2YAmlxhXx+fJ6V3/POH/S1EGcVjTyininZ2MNa/L+JMv3MPo1zolDECJLqCAH pdRUYX6wa7KeSdb72dVy3kEiAwfZgQrSCj4eEHPrDtBnMhQ+obkO8QZRtFiutEPH4/Qd wI8hCp12VnH2BaA2dSZAGneZjrVLvm4LqBLuE/5W9GZCrwohP49mvkPbqP+JrK4jAC6O NtOLvgnW5vK9Njq5GDpUBkuwlvRR/bVaJ+USqAjTuSeNzhkGPBKtlc8JEvoFZ7X5ZCjD hFCI3doFupnJEKvD/fZ1p3eDapWFLAA9zGCG9nNq95hHbaF5FTSNjkthDjRuYyig7mFz tTHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=q3MXs1Jg1LsZl8U6hUCx64ZzTZJTp4QnDhjPu1cVR9o=; b=YK4Zi94/kXjzcXMXREgzdMwOem1yElJ74lOSazmxfal0O/GxHwdWsvoceWtSI99R6v lwTSCNYjotkf/jsHRXG6KfJzMztrxzbf5aHm2Pc1Jmrkt6p44tCeYUU6OEi+dz9eV1cQ wVc2pllqosqsqa9xwNjeNHMofqA9VuEZHYQoj1eFrkMWZcXzeRtC80GX/dGde+zMYONf Bh94LZBHEhAaGmTo1/3Wfe4sEhPgpe2wd/PUVpoMNcUcZ9B1WND3l/dlgqdjC+Zt4P+M ah/SLr1fxLsKE7VMbbLaeXeLNbO2fH538KcCeoAET/5LFHsTxJ4GK5yCtVRgQshLohS6 bTiw== X-Gm-Message-State: AOAM531apHDp3D1ajIIMhRisLpGzYw78J/75i4P+cOwKNRDiknZbhXyY 6zgOmsPmVoRjRvLQs8k4140ZK1zgZv4= X-Google-Smtp-Source: ABdhPJwDknHzzW2Vx1rzlAUymem/77z+jssuGC8Rif1r8RRuQWdczC6QE0fe0Odvj+NXKCOf4aZzTQ== X-Received: by 2002:a05:6870:3052:b0:da:a150:befe with SMTP id u18-20020a056870305200b000daa150befemr3519269oau.129.1646937045853; Thu, 10 Mar 2022 10:30:45 -0800 (PST) From: Daniel Henrique Barboza To: qemu-devel@nongnu.org Subject: [PATCH 9/9] avocado/ppc_virtex_ml507.py: check TCG accel in test_ppc_virtex_ml507() Date: Thu, 10 Mar 2022 15:30:11 -0300 Message-Id: <20220310183011.110391-10-danielhb413@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220310183011.110391-1-danielhb413@gmail.com> References: <20220310183011.110391-1-danielhb413@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::c2a (failed) Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::c2a; envelope-from=danielhb413@gmail.com; helo=mail-oo1-xc2a.google.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: farosas@linux.ibm.com, Daniel Henrique Barboza , qemu-ppc@nongnu.org, clg@kaod.org, muriloo@linux.ibm.com, david@gibson.dropbear.id.au Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1646937391665100002 Content-Type: text/plain; charset="utf-8" This test times out when running in an IBM POWER host and --disable-tcg. Signed-off-by: Daniel Henrique Barboza Tested-by: Murilo Opsfelder Araujo --- tests/avocado/ppc_virtex_ml507.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/avocado/ppc_virtex_ml507.py b/tests/avocado/ppc_virtex_m= l507.py index a6912ee579..6b07686b56 100644 --- a/tests/avocado/ppc_virtex_ml507.py +++ b/tests/avocado/ppc_virtex_ml507.py @@ -19,7 +19,9 @@ def test_ppc_virtex_ml507(self): """ :avocado: tags=3Darch:ppc :avocado: tags=3Dmachine:virtex-ml507 + :avocado: tags=3Daccel:tcg """ + self.require_accelerator("tcg") tar_url =3D ('https://www.qemu-advent-calendar.org' '/2020/download/hippo.tar.gz') tar_hash =3D '306b95bfe7d147f125aa176a877e266db8ef914a' --=20 2.35.1