From patchwork Wed Feb 2 14:55:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 1587663 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.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=U17lREum; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=brainfault-org.20210112.gappssmtp.com header.i=@brainfault-org.20210112.gappssmtp.com header.a=rsa-sha256 header.s=20210112 header.b=ZdJidn9E; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=kvm-riscv-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4JplKt5y3zz9sCD for ; Thu, 3 Feb 2022 01:58:26 +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:Cc:To:Subject:Message-ID:Date:From: MIME-Version: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=UfibeAS1+SJtHypBQVHbyA6p+UQMYwYS4h9nT2AsOX0=; b=U17lREumCd5qms RbKbBdBHK6GiQqRBArKYjgRAjdB2luP6dJ1e44EqtThi0BcMU1dHBD4ocTEeTAaGtpsxcGIiQZJS0 vvm8RPSHIbMTSBQSPf1G87k1F9sLSdYRMXy7tvtyJ546caklUtfx5NjEITzY45pa3hvWWb5IStLEL 5k4BJhiJwPC8G7/u0fp9Q4jbU+/m99wiRuS2mHd4sR8oZfhqm516jE6Ys8x9MSIh1LYzcsSXmnqu3 mq/gnJVYJeFcJ9Fvipm7wlZpcnB9nRPug4j3YVPVtdYNNSSoyquSKcVJeJ2u0xXVZ7MyS6pVdwcZG Eb8h1bz6icMgjqUlac+Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nFH5U-00FrE5-44; Wed, 02 Feb 2022 14:58:24 +0000 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nFH38-00Fq9h-EQ for kvm-riscv@lists.infradead.org; Wed, 02 Feb 2022 14:56:01 +0000 Received: by mail-wr1-x431.google.com with SMTP id e8so38930737wrc.0 for ; Wed, 02 Feb 2022 06:55:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20210112.gappssmtp.com; s=20210112; h=mime-version:from:date:message-id:subject:to:cc; bh=ZrDOk96xIXTsGTfo9/ILISPypk5mowtPM4WNMZCWfgQ=; b=ZdJidn9E7ICenT1d16RsYRVZaqa2zhHEEXGEAFo2LGCKDiTcJIBYeFJrZvNfhsUAYb j3zRktgiN855jXtddVnr4XIxZlwdtSiQNZjRpHmCjFB2jTS6NdCvZPWZK4OwNbtnNXUT nsKHOVrI6VrZfR+QG+amXXS4iZWdQBViWITe/92eYozY9rXHr67g2Z+6wpKUa3YWi94U ow7o85flDptOsRm2XfU+zDYsO8HoFkfMn7i/IDQjXHofVngzZIhOv4fumzkTf64XZFEz kBStSYyqBE4XMGfeeZyiBuW3/lPHYXntwOYSxeKZSXaX0FMDnIfXKtpKi7NWg3nfggCA A5dA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=ZrDOk96xIXTsGTfo9/ILISPypk5mowtPM4WNMZCWfgQ=; b=AlisHyUWoQQcbR4uP9VwUoiKy9/M3dgVlxM9HYOduTKCJKVTYu9MNRZAeaJh4wjwVz E9+N2oYcU3d4l5op8Uw9dVPEnongHDOhwPtLrb5nH9ArIdhsJM49YktYn3rajsX75alc eu/fVy65LKJm3UE+ywcy16ND6LiAIYWM6wtsOVck9ktLVSHz/bW7YK9nMkfFcAxSQIA+ qtWugyQhNx1k9qbI7rDQTunE55buWDlzc5YRf7KtccLrPMaYkRJIYg9zbYYDArnGqCge 9bgzd2V24DvxnG4O++D6l6C49eT53PgqzpbGHyYePpjMI/hK7+5+nXzNdLHz46sHb95U xa0Q== X-Gm-Message-State: AOAM532gmUrGhM2uZ2AFw59L/fvdHJPwQG78Z8TAaDbFqd+p0cu3kQg5 vdqImE1BVyxxq06l8uVYlcbizqRXm6VmDqvyGQTZpg== X-Google-Smtp-Source: ABdhPJyWyV1yDWmsFpu5+qSL7ud2Pox/KB7M7ZuabShU/yZR1x02qeWJ5TJkyHvk7pKtf9lMAqr3k/P+zhXZLyp+JYo= X-Received: by 2002:adf:d08c:: with SMTP id y12mr26168596wrh.346.1643813756620; Wed, 02 Feb 2022 06:55:56 -0800 (PST) MIME-Version: 1.0 From: Anup Patel Date: Wed, 2 Feb 2022 20:25:44 +0530 Message-ID: Subject: [GIT PULL] KVM/riscv fixes for 5.17, take #1 To: Paolo Bonzini Cc: Palmer Dabbelt , Atish Patra , KVM General , kvm-riscv@lists.infradead.org, linux-riscv X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220202_065558_634297_75D002E1 X-CRM114-Status: UNSURE ( 5.77 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) 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: Hi Paolo, This is the first set of fixes for 5.17. We have three fixes namely guest entry rework, sbi implementation version fix and counter access fix. Please pull. Content analysis details: (0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:431 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 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 Hi Paolo, This is the first set of fixes for 5.17. We have three fixes namely guest entry rework, sbi implementation version fix and counter access fix. Please pull. Regards, Anup The following changes since commit b2d2af7e5df37ee3a9ba6b405bdbb7691a5c2dfc: kvm/x86: rework guest entry logic (2022-02-01 08:51:54 -0500) are available in the Git repository at: https://github.com/kvm-riscv/linux.git tags/kvm-riscv-fixes-5.17-1 for you to fetch changes up to 403271548a840dd4f884088d6333e09f899be5ff: RISC-V: KVM: Fix SBI implementation version (2022-02-02 18:58:06 +0530) ---------------------------------------------------------------- KVM/riscv fixes for 5.17, take #1 - Rework guest entry logic - Make CY, TM, and IR counters accessible in VU mode - Fix SBI implementation version ---------------------------------------------------------------- Anup Patel (1): RISC-V: KVM: Fix SBI implementation version Mark Rutland (1): kvm/riscv: rework guest entry logic Mayuresh Chitale (1): RISC-V: KVM: make CY, TM, and IR counters accessible in VU mode arch/riscv/kvm/vcpu.c | 48 +++++++++++++++++++++++++++--------------- arch/riscv/kvm/vcpu_sbi_base.c | 3 ++- 2 files changed, 33 insertions(+), 18 deletions(-)