From patchwork Wed Mar 13 21:50:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos Maiolino X-Patchwork-Id: 1911893 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=odIN2ktR; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=D0WoUYeP; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=kvm-riscv-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Tw42y6zq2z1yWt for ; Thu, 14 Mar 2024 08:51:20 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=hmNCZDQ/vVhWTwXBTyfGb6Zaqzf+M+MBNqhAM2RC5wc=; b=odIN2ktRHlSPU2 GkPyobtP+H9NG2EZWFACfYNx3y4qfC4FXzrQY88xNbzgvBlY6IfPjgjXiXU89UA0c3gQzSQEqREMo Je9xhHawwfwEtXCO2ax/6l9lsUGz8nAIvMvQoySfkoGkmHOqGxZvhiWAknXSCHG8+E06ofH0Ue0wy 6jRpJEBRAtatSgxrtno9YhdToZCfPSugXVsoTo9pl43cw0YSx2QCG7fAH3RbLfwUqxIvXt7Z6wxsY RfzO7ljtFun5HUqgDZXRQVu1Np0nX7bEBbrUhxfaIOHQTPRxTukC9GiC9nxCYSprnCnPgUTp4hq8G MA0DS6mhHPv1UOZW+NGA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rkWVK-0000000C2NL-1G2e; Wed, 13 Mar 2024 21:51:18 +0000 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rkWVG-0000000C2Ie-1hOp for kvm-riscv@lists.infradead.org; Wed, 13 Mar 2024 21:51:16 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 663F7CE1BE5; Wed, 13 Mar 2024 21:51:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E4657C433F1; Wed, 13 Mar 2024 21:51:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710366671; bh=4ruhQQfbOn1HwOOi3nBPbtrRSVsk12MNSG/RCZlW65I=; h=From:To:Cc:Subject:Date:From; b=D0WoUYeP5kY6pB511IdbQ9a9dsJobjnhYNjBRK4ORkw/FNwA5nLxK7s+oDLd0Q+yg F1wlP/F8yIB6v2dBrfG7Pj+JpP1/5enwIs98495XhyKT9dnNUXuOdwWYuGNhzuV2Tn kNyZbM5dwG4DfHxmu3Uo3nMYr1rUNyHQL0ZFRIhyhaOPJGkbo/s/lSPEt8TXXGJ+Pn SFI1vY9On++jJUaf8ljURgKka804M61VIz86JQrP9Mg8blcDgdnA0MjErzwcEuUhCS KPiuZk2sGjH1pmm3l9LnOIy1H7/RD3Oa4cWDsaQTUDy645qtTrXCVFBpmT24uGVkje 4+uXO93Qkj6CA== From: cem@kernel.org To: kvm-riscv@lists.infradead.org Cc: ajones@ventanamicro.com Subject: [PATCH V4 0/6] Add riscv tests to cover the base extension specs Date: Wed, 13 Mar 2024 22:50:51 +0100 Message-ID: <20240313215106.325766-1-cem@kernel.org> X-Mailer: git-send-email 2.44.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240313_145114_729437_48F3A669 X-CRM114-Status: UNSURE ( 8.40 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -3.5 (---) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: From: Carlos Maiolino Hi, This is a new (V4) version of this series to create tests to cover functions of the riscv's SBI base implementation spec. The series also includes a a few helpers to reduce code duplication. Content analysis details: (-3.5 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [2604:1380:40e1:4800:0:0:0:1 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.0 T_SCC_BODY_TEXT_LINE No description available. -1.0 DKIMWL_WL_HIGH DKIMwl.org - High trust sender X-BeenThere: kvm-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "kvm-riscv" Errors-To: kvm-riscv-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org From: Carlos Maiolino Hi, This is a new (V4) version of this series to create tests to cover functions of the riscv's SBI base implementation spec. The series also includes a a few helpers to reduce code duplication. This new version includes updates related to Drew reviews, and rebasing of the patches according to the changes. This new series has also been rebased on TOT, didn't affect the patches, but worth the heads up. Patches tagged with V4 needed modifications from the previous version. Detailed updates are specified on a patch-basis Carlos Maiolino (6): riscv: Add a wrapper to call sbi_ecall for base extension riscv: Add test to probe SBI Extension riscv: Factor out environment variable check and report generation riscv: Implement test for architecture ID register riscv: Enable gen_report() to print the wrong value in case of failure riscv: Test for specific SBI implementation ID riscv/sbi.c | 81 +++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 69 insertions(+), 12 deletions(-)