Message ID | 20240810175744.166503-1-jamestiotio@gmail.com |
---|---|
Headers | show
Return-Path: <kvm-riscv-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> 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=rCTpERp+; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=eUQp7FF6; 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 4Wh7mc110gz1ydk for <incoming@patchwork.ozlabs.org>; Sun, 11 Aug 2024 03:58:06 +1000 (AEST) 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=1Tgzav9Z9adGsz4sQZBQO71xAUzU7bOXqp1l5Ss2LsM=; b=rCTpERp+Q+scXJ 5CheiPJE/bySkH/YDyz3ZlegDR9qLAsw3MM1LvwjQF4sbNcqxbbXtUbzVyK6znyI3NI3zA3wErULC ddjIspxR5Dhx6xxKM7D4WNtXXsdUYk27fIzMuoqFs8ITAPraC++hgUOgxAikC2ZHsn2WFUylPA9or 9n3KlyH7ta0ExGSU1SGIPzB0qc3M9GDAxWhihtlZIKf79UmpdOEdoVs06vFAM2eurwqARReeaq0+W nKRIdDj323Oa4Lk6QyDkII/jhPpFh7bEmu8ah8KyGUG6h7z/Y9qJueIHvf693toTElpVmuBMY2Ylw Qs8u8cr719WaG08IEC0g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1scqLn-0000000EPUT-0LSv; Sat, 10 Aug 2024 17:57:59 +0000 Received: from mail-ot1-x32f.google.com ([2607:f8b0:4864:20::32f]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1scqLk-0000000EPTt-0koG for kvm-riscv@lists.infradead.org; Sat, 10 Aug 2024 17:57:57 +0000 Received: by mail-ot1-x32f.google.com with SMTP id 46e09a7af769-70943b07c2cso1971675a34.1 for <kvm-riscv@lists.infradead.org>; Sat, 10 Aug 2024 10:57:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723312674; x=1723917474; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ZLVxumGBH2HYK6DD1Pe/gz0ElqjPI437EKuRr21CBGA=; b=eUQp7FF6p6CY2ZUJuiIEYEA+59HPa8u7uvPYrdz/iELVacHnzy/AXsBAPygP0n/xkv 0yJG+tbk4Wli3oE2ll5Q6ffqLSMvVvR1SawLZzRAhObCQFp8v1Zbrmqf3rrJhSrn1ssI QJqrw9aonh0nluMI6Er/PCjcunq0TZEtIsGtf6x+GPAzKhcLKe1X8fuxwA/94Jwk31+C AWSSf0L6Khkb8rssttlt1sZZV1vl+sZzDoXXRUmZCemhWqQzT7u/v248U+6aofD7EqM3 o7WCQR1FKKSXp2YnbvTruUaYWt7XfTR4QAvohoVufXKLolFCOyE2nuf6V2ftHo2nANDe 9Kfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723312674; x=1723917474; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ZLVxumGBH2HYK6DD1Pe/gz0ElqjPI437EKuRr21CBGA=; b=u+1Wx6x4Jo1wi4XivejJhyNxm1qgTpapTM+K/mVH2oB9ALYHdAhI20Mcm/KORV0XMw N52HcXp7GewX6rtePGyLeXg4k7rSj1NrFo8SEBjTgC7vtf/pRmwivuUXptUPTm6ksxsr H2rPiom6MKCmU1KX6b0BJ0gEFW8E18JSRO6Pjg49JmAhMxyBXjC9QCd5TtKWX1UhRcwV VwOBoD0WzLjY+u6hk0BPZ/ijWaQ8ItpzxNZJBtCvGuMmPuZdYSOuNMH2jKZWIxWtdUKe QKIJu5cHOEPCEP6bvU/jpMbGiKgn2BCaBgYnlCiJEIScR+WFMFjfjLxFKaKJVEog6iQJ Hf2Q== X-Forwarded-Encrypted: i=1; AJvYcCWsss43yN7G0SNqpcEJUsQ77YKXfGkhf/CXYjycEEp25Dc4H2NJmVJUp0xj/ltCf+MjiYJllPCsytm2EkRtlUuo5XobzwCTdCm8o3MfGw== X-Gm-Message-State: AOJu0YzSUql3JKKHtdhMHsGh6HOQDT2LqDiqrbiT/y61rR7Hx1ejKbgn uyAUhrza+99PfNNdWLIcOarPxOBi+sT3PQjmvAI97oSogvCB+fPp X-Google-Smtp-Source: AGHT+IFP9VXmTxgPKnCAePmbSnGqFuZNSOl41cw5EyVDSBQTSCcbw53cbnRv4cXFu2s5RoO3tG7+pw== X-Received: by 2002:a05:6358:618e:b0:1af:15b5:7caa with SMTP id e5c5f4694b2df-1b1771643d5mr749892855d.21.1723312674074; Sat, 10 Aug 2024 10:57:54 -0700 (PDT) Received: from JRT-PC.. ([202.166.44.78]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-200bb8fd807sm14107795ad.80.2024.08.10.10.57.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Aug 2024 10:57:53 -0700 (PDT) From: James Raphael Tiovalen <jamestiotio@gmail.com> To: kvm@vger.kernel.org, kvm-riscv@lists.infradead.org Cc: andrew.jones@linux.dev, atishp@rivosinc.com, cade.richard@berkeley.edu, James Raphael Tiovalen <jamestiotio@gmail.com> Subject: [kvm-unit-tests PATCH 0/3] riscv: sbi: Add support to test HSM extension Date: Sun, 11 Aug 2024 01:57:41 +0800 Message-ID: <20240810175744.166503-1-jamestiotio@gmail.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240810_105756_242091_66E8FD33 X-CRM114-Status: UNSURE ( 9.39 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.1 (--) 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: This patch series adds support for testing all 4 functions of the HSM extension as defined in the RISC-V SBI specification. The first 2 patches add some helper routines to prepare for the HSM test, wh [...] Content analysis details: (-2.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:32f listed in] [list.dnswl.org] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [jamestiotio(at)gmail.com] X-BeenThere: kvm-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <kvm-riscv.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/kvm-riscv>, <mailto:kvm-riscv-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/kvm-riscv/> List-Post: <mailto:kvm-riscv@lists.infradead.org> List-Help: <mailto:kvm-riscv-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/kvm-riscv>, <mailto:kvm-riscv-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kvm-riscv" <kvm-riscv-bounces@lists.infradead.org> Errors-To: kvm-riscv-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
Series |
riscv: sbi: Add support to test HSM extension
|
expand
|
On Sun, Aug 11, 2024 at 01:57:41AM GMT, James Raphael Tiovalen wrote: > This patch series adds support for testing all 4 functions of the HSM > extension as defined in the RISC-V SBI specification. The first 2 > patches add some helper routines to prepare for the HSM test, while the > last patch adds the actual test for the HSM extension. > > James Raphael Tiovalen (3): > riscv: sbi: Add IPI extension support > riscv: sbi: Add HSM extension functions > riscv: sbi: Add tests for HSM extension > > riscv/Makefile | 7 +- > lib/riscv/asm/sbi.h | 23 ++++ > lib/riscv/sbi.c | 15 +++ > riscv/sbi-asm.S | 38 ++++++ > riscv/sbi.c | 285 ++++++++++++++++++++++++++++++++++++++++++++ > 5 files changed, 365 insertions(+), 3 deletions(-) > create mode 100644 riscv/sbi-asm.S > > -- > 2.43.0 > Hi James, When you send v2, please base on riscv/sbi, https://gitlab.com/jones-drew/kvm-unit-tests/-/commits/riscv%2Fsbi Thanks, drew