Cover Letter Detail
Show a cover letter.
GET /api/covers/2196284/?format=api
{ "id": 2196284, "url": "http://patchwork.ozlabs.org/api/covers/2196284/?format=api", "web_url": "http://patchwork.ozlabs.org/project/kvm-riscv/cover/20260213103557.3207335-1-xujiakai2025@iscas.ac.cn/", "project": { "id": 70, "url": "http://patchwork.ozlabs.org/api/projects/70/?format=api", "name": "Linux KVM RISC-V", "link_name": "kvm-riscv", "list_id": "kvm-riscv.lists.infradead.org", "list_email": "kvm-riscv@lists.infradead.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "http://lists.infradead.org/pipermail/kvm-riscv/", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260213103557.3207335-1-xujiakai2025@iscas.ac.cn>", "list_archive_url": null, "date": "2026-02-13T10:35:54", "name": "[v7,0/3] RISC-V: KVM: Validate SBI STA shmem alignment", "submitter": { "id": 92543, "url": "http://patchwork.ozlabs.org/api/people/92543/?format=api", "name": "Jiakai Xu", "email": "xujiakai2025@iscas.ac.cn" }, "mbox": "http://patchwork.ozlabs.org/project/kvm-riscv/cover/20260213103557.3207335-1-xujiakai2025@iscas.ac.cn/mbox/", "series": [ { "id": 492078, "url": "http://patchwork.ozlabs.org/api/series/492078/?format=api", "web_url": "http://patchwork.ozlabs.org/project/kvm-riscv/list/?series=492078", "date": "2026-02-13T10:35:56", "name": "RISC-V: KVM: Validate SBI STA shmem alignment", "version": 7, "mbox": "http://patchwork.ozlabs.org/series/492078/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/covers/2196284/comments/", "headers": { "Return-Path": "\n <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;\n\tdkim=pass (2048-bit key;\n secure) header.d=lists.infradead.org header.i=@lists.infradead.org\n header.a=rsa-sha256 header.s=bombadil.20210309 header.b=jt6eK7QE;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=none (no SPF record) smtp.mailfrom=lists.infradead.org\n (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org;\n envelope-from=kvm-riscv-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n receiver=patchwork.ozlabs.org)" ], "Received": [ "from bombadil.infradead.org (bombadil.infradead.org\n [IPv6:2607:7c80:54:3::133])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fC7rs4jgkz1xxR\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 13 Feb 2026 21:36:57 +1100 (AEDT)", "from localhost ([::1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1vqqXe-00000003KJQ-17uK;\n\tFri, 13 Feb 2026 10:36:54 +0000", "from smtp25.cstnet.cn ([159.226.251.25] helo=cstnet.cn)\n\tby bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1vqqXY-00000003KDz-30C7;\n\tFri, 13 Feb 2026 10:36:51 +0000", "from fric.. (unknown [210.73.43.101])\n\tby APP-05 (Coremail) with SMTP id zQCowAC3RgqO_o5pQN4uCA--.25463S2;\n\tFri, 13 Feb 2026 18:35:59 +0800 (CST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20210309; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc\n\t:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:\n\tResent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:\n\tList-Owner; bh=tMD6FoAjiqNS5oFBdw/SNI+kvPFrsrmAWlk+M1xe0Sc=; b=jt6eK7QE4VBfLH\n\tQYhHb/0B8IJg9UkM6pqZX98y/+Xrev4HuA3/NjQHfzFsY8igWHzzHWnsQsgczChWUc9KR6gFNNvSc\n\tEkKGiZphjNnVJB9Cj9v0LkyWQtG3Lm3XJGwQwl1KZvdYAN3WMGo+IuzxGnkBkZnEuRPSyswLdfP84\n\tcQvx3UJFdc3aDjy9C/ov6QDhu8shtXDXt3EJYZhZ/zy/TjKPjLITdx/pSatdKSgQnqIvU7sS2m+DW\n\t5HOjG3xWnY4PqOzHthO7mjdS+prTw9NirgwOlUVA6VyXop2hj4lyOyfzG1znQtb7smraSAMsg1Ntv\n\tGacm0WjoQjQLqol9dNAw==;", "From": "Jiakai Xu <xujiakai2025@iscas.ac.cn>", "To": "linux-kernel@vger.kernel.org,\n\tkvm@vger.kernel.org,\n\tkvm-riscv@lists.infradead.org,\n\tlinux-riscv@lists.infradead.org,\n\tlinux-kselftest@vger.kernel.org", "Cc": "Anup Patel <anup@brainfault.org>,\n\tAtish Patra <atish.patra@linux.dev>,\n\tPaul Walmsley <pjw@kernel.org>,\n\tPalmer Dabbelt <palmer@dabbelt.com>,\n\tAlbert Ou <aou@eecs.berkeley.edu>,\n\tAlexandre Ghiti <alex@ghiti.fr>,\n\tAndrew Jones <ajones@ventanamicro.com>,\n\tPaolo Bonzini <pbonzini@redhat.com>,\n\tShuah Khan <shuah@kernel.org>,\n\tJiakai Xu <xujiakai2025@iscas.ac.cn>", "Subject": "[PATCH v7 0/3] RISC-V: KVM: Validate SBI STA shmem alignment", "Date": "Fri, 13 Feb 2026 10:35:54 +0000", "Message-Id": "<20260213103557.3207335-1-xujiakai2025@iscas.ac.cn>", "X-Mailer": "git-send-email 2.34.1", "MIME-Version": "1.0", "X-CM-TRANSID": "zQCowAC3RgqO_o5pQN4uCA--.25463S2", "X-Coremail-Antispam": "1UD129KBjvdXoW7Gw4DZFW8ZFyDCr4UJFy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\t0E14v26r4j6r4UJbIYCTnIWIevJa73UjIFyTuYvjfUOmhFUUUUU", "X-Originating-IP": "[210.73.43.101]", "X-CM-SenderInfo": "50xmxthndljiysv6x2xfdvhtffof0/1tbiCRERCWmOigf8agAAs8", "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ", "X-CRM114-CacheID": "sfid-20260213_023649_134932_4DC03637 ", "X-CRM114-Status": "UNSURE ( 4.98 )", "X-CRM114-Notice": "Please train this message.", "X-Spam-Score": "-1.9 (-)", "X-Spam-Report": "Spam detection software,\n running on the system \"bombadil.infradead.org\",\n has NOT identified this incoming email as spam. The original\n message has been attached to this so you can view it or label\n similar future email. If you have any questions, see\n the administrator of that system for details.\n Content preview: This series fixes a missing validation in the RISC-V KVM\n SBI\n steal-time accounting (STA) register handling. Patch 1 validates the\n configured\n SBI STA shared memory GPA at KVM_SET_ONE_REG,\n enforcing the 64-byte alignment\n requirement defined by the SBI specification or allowing INVALID_GPA to\n explicitly\n disabl [...]\n Content analysis details: (-1.9 points, 5.0 required)\n pts rule name description\n ---- ----------------------\n --------------------------------------------------\n -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no\n trust\n [159.226.251.25 listed in list.dnswl.org]\n 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The\n query to Validity was blocked. See\n https://knowledge.validity.com/hc/en-us/articles/20961730681243\n for more information.\n [159.226.251.25 listed in\n sa-trusted.bondedsender.org]\n 0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to\n Validity was blocked. See\n https://knowledge.validity.com/hc/en-us/articles/20961730681243\n for more information.\n [159.226.251.25 listed in sa-accredit.habeas.com]\n 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to\n Validity was blocked. See\n https://knowledge.validity.com/hc/en-us/articles/20961730681243\n for more information.\n [159.226.251.25 listed in\n bl.score.senderscore.com]\n -0.0 SPF_HELO_PASS SPF: HELO matches SPF record\n -0.0 SPF_PASS SPF: sender matches SPF record\n -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%\n [score: 0.0000]", "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>,\n <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>,\n <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" }, "content": "This series fixes a missing validation in the RISC-V KVM SBI\nsteal-time accounting (STA) register handling.\n\nPatch 1 validates the configured SBI STA shared memory GPA at\nKVM_SET_ONE_REG, enforcing the 64-byte alignment requirement\ndefined by the SBI specification or allowing INVALID_GPA to explicitly\ndisable steal-time accounting. This prevents invalid userspace state\nfrom reaching runtime code paths and avoids WARN_ON() triggers during\nKVM_RUN.\n\nPatch 2 refactors existing UAPI tests from steal_time_init() into\na dedicated check_steal_time_uapi() function for better code organization,\nand adds an empty stub for RISC-V.\n\nPatch 3 fills in the RISC-V stub with tests that verify KVM correctly\nenforces the STA alignment requirements.\n\nJiakai Xu (3):\n RISC-V: KVM: Validate SBI STA shmem alignment in \n kvm_sbi_ext_sta_set_reg()\n KVM: selftests: Refactor UAPI tests into dedicated function\n RISC-V: KVM: selftests: Add RISC-V SBI STA shmem alignment tests\n\n arch/riscv/kvm/vcpu_sbi_sta.c | 16 +++--\n tools/testing/selftests/kvm/steal_time.c | 87 +++++++++++++++++++-----\n 2 files changed, 82 insertions(+), 21 deletions(-)" }