From nobody Wed Nov 13 07:15:23 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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 ARC-Seal: i=1; a=rsa-sha256; t=1692139161; cv=none; d=zohomail.com; s=zohoarc; b=Gx+ad70eni+1L1TOhq7OU41T3ZQ5O0d9xgeAxdlybDr76IV877u4o6I8ViLpNnufe02LxoEzDiuUtKfPJhvvn0UEIJbN4qEQsqqU1gTeyHh3Qw0X/AFyyeH55Ft1VFcLlVM+Xn+CtcNZarcir0dHerkEA310uTIAFBgN3oy29Y8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1692139161; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=pO3wz5fop7wDys5r1Ax7UI+xFmY6OiD4k73j8kol0RM=; b=AFz35c42aWFKMFpPR+j81v47x2qKqH5KSQ0+ZgEkmmSrLj3uFKKlhBEbdCX9eLrQWIJsJw0dfXUXlreEGyIccQLPy5WJd3iJgZvQd5NMEfrsOOK4ZXBLYZwlFgrRCbjthTVGTedlJ5uOSSH7xCjExCu4L1UFROGCf0mDBjGyhAk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1692139161282321.51557515695094; Tue, 15 Aug 2023 15:39:21 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qW2gT-0005KM-Ge; Tue, 15 Aug 2023 18:38:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qW2gH-0005AJ-5m for qemu-devel@nongnu.org; Tue, 15 Aug 2023 18:38:31 -0400 Received: from mail-oi1-x22b.google.com ([2607:f8b0:4864:20::22b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qW2gC-0006K3-0u for qemu-devel@nongnu.org; Tue, 15 Aug 2023 18:38:27 -0400 Received: by mail-oi1-x22b.google.com with SMTP id 5614622812f47-3a81437be28so903083b6e.0 for ; Tue, 15 Aug 2023 15:38:22 -0700 (PDT) Received: from grind.. (189-69-160-189.dial-up.telesp.net.br. [189.69.160.189]) by smtp.gmail.com with ESMTPSA id be15-20020a056808218f00b003a40b3fce01sm5903418oib.10.2023.08.15.15.38.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Aug 2023 15:38:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1692139101; x=1692743901; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=pO3wz5fop7wDys5r1Ax7UI+xFmY6OiD4k73j8kol0RM=; b=M4UOeNlv5GieXNvhJRpvbH6ZW6aDS0epwrw7dPfq1ldFUy7Fv3wCGJmsqIZbd/5yQH wXT2ZS2NGvc77Bf+zuwzHzv8r4ESVQlehtwj2hp4miIwbhGLxJdfDzn6fQ5bfvPK4rDR 09tID2DgwP9dyozRGBy96kEyGKTTz5kwnmmgBKx5fgs942rjIn75DkeK9SzQyYQ6d6Tx X+AGkaXyYaFh0wIu7p+VcpbQBfnx25jZsuZrnGc/TCbhWLEsiNMK1sRnockItTZt+pkI eb8Kzmp9efkYzauBcAVWtNrt+Qn9AV7J+jpFNaM3lYDTETAj+IxuBbgPQ/AM4V1utDUe dvjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692139101; x=1692743901; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pO3wz5fop7wDys5r1Ax7UI+xFmY6OiD4k73j8kol0RM=; b=VMWm8Q7YwxQFT+1qIZIfVfmkuuQuLIh/GZ7M4TRZFeiCRUnhzyirS08n2GNw5Lovzq h5O+if3+6mXTFjk9NhFEqlA0DmTHU8s9Qe4HRNDkVRzdXQEyy88pzDbmoZbdCyA8jSj9 HtXVwGTyXwG/UWiWZoRjka6Cu9jQww2dE7FkBlQBZbxvdpa/4iBiYTMVPrPo8r6uERsS 2U1z8O9ZfXBoqrMM2YgfKQ9ksk350oDH7xGnfTCNk6SZDba8Nb+lmkJeEqROHAu9h4t3 xuLw7Kl/Fbbj9U4G62RDi828LcR7T2QhpbZgtP9rzwz4wjhyNsopJt8wcYrCLJ6Dpeum 3d1w== X-Gm-Message-State: AOJu0YzCIM1q8RFnLhp9lbsnAFjHTol5HgrKfAVUKNzyNuix3nsddc5N u0xCtHSOgJiiE6Tg9ofdwZWG6dojCkbXAurmYjw= X-Google-Smtp-Source: AGHT+IFJfqCpD+nmO5pqP0YuZgapB63Sa+jkOEDreYvO/jea5P75GHm1q0EWcjGEF+tRaX6UI7vJGQ== X-Received: by 2002:a54:4d06:0:b0:3a5:a78b:f773 with SMTP id v6-20020a544d06000000b003a5a78bf773mr61043oix.6.1692139101343; Tue, 15 Aug 2023 15:38:21 -0700 (PDT) From: Daniel Henrique Barboza To: qemu-devel@nongnu.org Cc: qemu-riscv@nongnu.org, alistair.francis@wdc.com, bmeng@tinylab.org, liweiwei@iscas.ac.cn, zhiwei_liu@linux.alibaba.com, palmer@rivosinc.com, Daniel Henrique Barboza Subject: [PATCH v8 11/12] avocado, risc-v: add opensbi tests for 'max' CPU Date: Tue, 15 Aug 2023 19:37:40 -0300 Message-ID: <20230815223741.433763-12-dbarboza@ventanamicro.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230815223741.433763-1-dbarboza@ventanamicro.com> References: <20230815223741.433763-1-dbarboza@ventanamicro.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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::22b; envelope-from=dbarboza@ventanamicro.com; helo=mail-oi1-x22b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @ventanamicro.com) X-ZM-MESSAGEID: 1692139162192100001 Content-Type: text/plain; charset="utf-8" Add smoke tests to ensure that we'll not break the 'max' CPU type when adding new ratified extensions to be enabled. Signed-off-by: Daniel Henrique Barboza Reviewed-by: Alistair Francis --- tests/avocado/riscv_opensbi.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/tests/avocado/riscv_opensbi.py b/tests/avocado/riscv_opensbi.py index bfff9cc3c3..15fd57fe51 100644 --- a/tests/avocado/riscv_opensbi.py +++ b/tests/avocado/riscv_opensbi.py @@ -61,3 +61,19 @@ def test_riscv64_virt(self): :avocado: tags=3Dmachine:virt """ self.boot_opensbi() + + def test_riscv32_virt_maxcpu(self): + """ + :avocado: tags=3Darch:riscv32 + :avocado: tags=3Dmachine:virt + :avocado: tags=3Dcpu:max + """ + self.boot_opensbi() + + def test_riscv64_virt_maxcpu(self): + """ + :avocado: tags=3Darch:riscv64 + :avocado: tags=3Dmachine:virt + :avocado: tags=3Dcpu:max + """ + self.boot_opensbi() --=20 2.41.0