Message ID | 20220815101325.477694-4-apatel@ventanamicro.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <kvm-riscv-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: patchwork-incoming@bilbo.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=wtq+fzhu; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ventanamicro.com header.i=@ventanamicro.com header.a=rsa-sha256 header.s=google header.b=Y+44aFgN; dkim-atps=neutral Received: from legolas.ozlabs.org (legolas.ozlabs.org [150.107.73.247]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4M5qy146pQz9s07 for <patchwork-incoming@bilbo.ozlabs.org>; Mon, 15 Aug 2022 20:19:05 +1000 (AEST) Received: by legolas.ozlabs.org (Postfix) id 4M5qy075Ptz1ygN; Mon, 15 Aug 2022 20:19:04 +1000 (AEST) Delivered-To: patchwork-incoming@legolas.ozlabs.org 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=<UNKNOWN>) 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=wtq+fzhu; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ventanamicro.com header.i=@ventanamicro.com header.a=rsa-sha256 header.s=google header.b=Y+44aFgN; dkim-atps=neutral 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 (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4M5qy0713Jz1yfq for <incoming@patchwork.ozlabs.org>; Mon, 15 Aug 2022 20:19:04 +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:References:In-Reply-To: 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: List-Owner; bh=+JZDpA7DX2LM4Gwj/M9DE/XDtAB5ZtMlUzTZ+j9W7fY=; b=wtq+fzhurCf3ed 61RzomDXUDU0Nb+ViuRYoOvaDuoT2biZ5Dcez3MWEf05u8rSxUYGo3ECLtUd5aY2tuduGbSPMROAe qA0tcRYPGlkI15JgKkznNbUhHaSXf1dNkXY7wf/bftjbzbKXl1gQse/A4+EJqu/5ggQ8tkiRZjxNC nbs1ik5S+iLbiqrSwNE4ZV42VLVFA/MZpcJbDpkqZ29E63oaZTE4/u45jSE3DfEukYsk0HQ9XR+ER tMJoGzXeqQUrY/tlmCrDbPu7DZFoG1OKIWMuG36fvKcqhHM5envNRUMxF+amGnJfld7Smi5WHZgte 1dm6qVeEyNh1MgA9vFVw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oNXBU-00EdJd-Bf; Mon, 15 Aug 2022 10:19:00 +0000 Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oNX6U-00EYFO-4N for kvm-riscv@lists.infradead.org; Mon, 15 Aug 2022 10:13:53 +0000 Received: by mail-pf1-x432.google.com with SMTP id f192so6278827pfa.9 for <kvm-riscv@lists.infradead.org>; Mon, 15 Aug 2022 03:13:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=NFI4iB+UHezwM44HyP+W9zbdyr5vn5eBh20flsroNPs=; b=Y+44aFgNpEEEjaK/CnRTH3/5/Py/HNPRQbOQ18t1h8+GF0YSx7n2dlxJcGrOrH0WWF 7E4dgBcZTXdEcR4HzpqQXEPJOX2yi5qOORFUDudIg5AWyDsRWn8OXAuUamhHNhyqREMo gSgXC0xUI1B7G8dHegmMdbtYRBVbky4z+eHDrSHev0TitMOV8uZigMI+08pEjFhU/pCM ZxcEaQNYhpg0hMp9Ev/9vfvdx1TvX5Sa9z3IGiN9hCYcvmgTBePlkoFF0rcR6pr8gRKl RZOOUh3yauPMwW14qHN54YBEGv3wEVl6Q9cOsA31yaGTUfQ/wAzSOriBCKu6mL0c4nfZ TheQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=NFI4iB+UHezwM44HyP+W9zbdyr5vn5eBh20flsroNPs=; b=De1OeYx0+QIIUWkUZeSPBDeInzeJRj9Yxd4x5YCl8Pba6AS6SrvmuPTZSosjMz7RNy bP6GwB8GSVDW0v8d5rBPsbAbTABZ/hZlwfbtzK8x9iCPHchXjQeMhXsvzb3/+hEN0Nkr I+qPYeN8inKNQ5qXgZTOF2xo4yCT2PSP+O+svIxPkagYW/3F7uWIXVEtFz+16hAWEY82 qDeec2PjefRd6JGRbY6cj8uTi8LP72zR/DjwKwPRsAiOzBTF6Dqsr4DAMDwYI05aP4m5 dOvxejdFr6tzYTiQCTy3CWcN1iCcjmpLoUWdeHM0pfisBqZsXR3i9xXuigh43xicbNjH jtpw== X-Gm-Message-State: ACgBeo2zS3AsZHf6zuGiyP3hZUgKngmzKOBONRKyMOW/yZm6hq11/dUZ nrnlPO93SUAgp+mPfYeF9Rn1Pg== X-Google-Smtp-Source: AA6agR6oiXJ7oU1w75pkwZmpTNKAqNtY2PKc06shHaaREiVluuOfI9no4iv7bol0V4Yw/IeXhNrGDQ== X-Received: by 2002:a05:6a00:21c8:b0:52b:ffc0:15e7 with SMTP id t8-20020a056a0021c800b0052bffc015e7mr15757266pfj.29.1660558427410; Mon, 15 Aug 2022 03:13:47 -0700 (PDT) Received: from anup-ubuntu64-vm.. ([171.76.84.46]) by smtp.gmail.com with ESMTPSA id i190-20020a6254c7000000b0052d4f2e2f6asm6267437pfb.119.2022.08.15.03.13.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Aug 2022 03:13:46 -0700 (PDT) From: Anup Patel <apatel@ventanamicro.com> To: Will Deacon <will@kernel.org>, julien.thierry.kdev@gmail.com, maz@kernel.org Cc: Paolo Bonzini <pbonzini@redhat.com>, Atish Patra <atishp@atishpatra.org>, Alistair Francis <Alistair.Francis@wdc.com>, Anup Patel <anup@brainfault.org>, kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, Anup Patel <apatel@ventanamicro.com> Subject: [PATCH kvmtool 3/5] riscv: Add Svpbmt extension support Date: Mon, 15 Aug 2022 15:43:23 +0530 Message-Id: <20220815101325.477694-4-apatel@ventanamicro.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220815101325.477694-1-apatel@ventanamicro.com> References: <20220815101325.477694-1-apatel@ventanamicro.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220815_031350_308618_914CB66E X-CRM114-Status: UNSURE ( 8.77 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) 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: The Svpbmt extension allows PTE based memory attributes in page tables. This extension also allows Guest/VM to use PTE based memory attributes in VS-stage page tables so let us add it Guest/VM ISA str [...] Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:432 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -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 -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 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 |
KVMTOOL RISC-V Svpbmt and Sstc Support
|
expand
|
diff --git a/riscv/fdt.c b/riscv/fdt.c index 1818cf7..eb7851e 100644 --- a/riscv/fdt.c +++ b/riscv/fdt.c @@ -17,6 +17,7 @@ struct isa_ext_info { }; struct isa_ext_info isa_info_arr[] = { + {"svpbmt", KVM_RISCV_ISA_EXT_SVPBMT}, }; static void dump_fdt(const char *dtb_file, void *fdt)
The Svpbmt extension allows PTE based memory attributes in page tables. This extension also allows Guest/VM to use PTE based memory attributes in VS-stage page tables so let us add it Guest/VM ISA string when KVM RISC-V supports it. Signed-off-by: Anup Patel <apatel@ventanamicro.com> --- riscv/fdt.c | 1 + 1 file changed, 1 insertion(+)