Message ID | 20240325153141.6816-8-apatel@ventanamicro.com |
---|---|
State | Accepted |
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=ATq1wmKF; 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=d5kcL41H; 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 4V3H4G0QCcz1yXy for <incoming@patchwork.ozlabs.org>; Tue, 26 Mar 2024 02:32:30 +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: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=JdoaUSLG+jQkE1BBqsTXOi3yWmQb/Llk4H05V5UBGMw=; b=ATq1wmKFf+uDOZ yyvGm6m1qdsz2TvJjDqGMYrfsnjhY1D9o6mYGTFMJQ9DwgPS+yyfNbr7O27vW8cAzPzaLhfYsW2iQ 3I7LEWJLJ8k8abaJYX8e4dH93yIG14zhDQ10NeiafZ4Orh/36eZeEVFLRhAPXpo7mOf8tIDosy0hN fu5uf35MR9IP75EKH05POhZtNYdf4kpnXqe5hDg2lCwTfvMhFEyMw75JAFYPQcltob0KjUZuNEwm+ Krljyq7PTlSFoOa1iuJqAKmAnjG/DLi2DtbSGvS+tVQK78W/jGLSGKEdoSWoGWjdaGHvwWr0qAxSX Z/bTG+PFRXWpp1FR4iiA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1romJH-00000000VyP-3lgg; Mon, 25 Mar 2024 15:32:28 +0000 Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1romJC-00000000Vt8-1rRI for kvm-riscv@lists.infradead.org; Mon, 25 Mar 2024 15:32:25 +0000 Received: by mail-pl1-x631.google.com with SMTP id d9443c01a7336-1e0411c0a52so32456745ad.0 for <kvm-riscv@lists.infradead.org>; Mon, 25 Mar 2024 08:32:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1711380740; x=1711985540; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=SFm9NQGP0DUDEjsrEvI+7wvK/uTDrnrNenXusq6GWmA=; b=d5kcL41HHD/+4pkuIPn30nKerup5J+d3T8MRx4iBLdleYdbD13ASINjJ6BPMAlda05 TnmePsoOeJa5TWepotsiuMmxPB2HIhcvJ0oSvl5eruMjHV1yhI2oPBU1Iho/2UiN46tX wzC8FJhIUdMD9O6hkyP4QV/6knwoyHP2Nwv7VT0BwXxPEdpRdjVYH5l4GFS8X0BfoYBR tShtrhZicf94Vu/CPU0EyF8RCkORUejFm+af6u+Vg9yTMSC0I2WdmTx1pMPi2r669ke2 kWzxw3hmS7IaJcKuOjq4LUAFdKYIDvDfQ4hv8WhCy8PhXo6pHdt8idQyzTgWoksKz+4g DLuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711380740; x=1711985540; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SFm9NQGP0DUDEjsrEvI+7wvK/uTDrnrNenXusq6GWmA=; b=O66kibyNYOe3Hr19FEgJuM7KHt/LX8F2UEuI8Fb+56DUwWz5LbIvmE8kKr58TIXZo9 gOYmepCNsNxOuDpEbhl60GfrhdpDhAZye+rr5y6IZGA2eLJUVKKfl4U8z7n6HG67ilK5 LBXqSm+b4xzQPtd91FdHsiAodlW9aHeLr9qmGwuiqirC8GS9o+Jq+p1DBmfz4NKFpe2K EpLMreSCzsqAidVLPrI031sYqL0tFgDxIW5F5jrkiYPnsx1GKd0nBNAtSH6A+c34EijA apcYKvJK0rYlzx4BBRtn7gQB4HGE4rtnQZcHyOqHn8SDwo4/JAhubkhdnpuy1yyeJTiP HYZA== X-Forwarded-Encrypted: i=1; AJvYcCVtXhpmu9zmp13qlSfNL07OTu5RXw725o7fm4Vp5eVrtOKW8t/q4w3m/bfIcM8tffpEGvTWhoz79E1pNupdEKETflzdHHgSgeXWeYCuZg== X-Gm-Message-State: AOJu0YzQq/YfSs8YFsUGAcSdH2r+w2+1hkhqfsmhbpwPeeaA3R7mzlIN 6sG8IWYkaQdhAXNX6l1+kF321N5rkN+EVrdHRNCyaIDjM2COPjQ0x1PzehoM/go= X-Google-Smtp-Source: AGHT+IHKz7diJGkynNyYXC1BSf/dtkbZPeikB0qGgp1b90pjrujts/88PI8LBaP8ykyhNRL+Y02FNQ== X-Received: by 2002:a17:902:f687:b0:1e0:b87f:beb4 with SMTP id l7-20020a170902f68700b001e0b87fbeb4mr3914639plg.30.1711380740385; Mon, 25 Mar 2024 08:32:20 -0700 (PDT) Received: from anup-ubuntu-vm.localdomain ([171.76.87.36]) by smtp.gmail.com with ESMTPSA id u11-20020a170902e80b00b001dd0d090954sm4789044plg.269.2024.03.25.08.32.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 08:32:19 -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>, Andrew Jones <ajones@ventanamicro.com>, Anup Patel <anup@brainfault.org>, kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, Anup Patel <apatel@ventanamicro.com> Subject: [kvmtool PATCH v2 07/10] riscv: Add Zihintntl extension support Date: Mon, 25 Mar 2024 21:01:38 +0530 Message-Id: <20240325153141.6816-8-apatel@ventanamicro.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240325153141.6816-1-apatel@ventanamicro.com> References: <20240325153141.6816-1-apatel@ventanamicro.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240325_083224_161175_9F09707D X-CRM114-Status: UNSURE ( 9.44 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 3.4 (+++) 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: When the Zihintntl extension is available expose it to the guest via device tree so that guest can use it. Signed-off-by: Anup Patel <apatel@ventanamicro.com> Reviewed-by: Andrew Jones <ajones@ventanamicro.com> --- riscv/fdt.c | 1 + riscv/include/kvm/kvm-config-arch.h | 3 +++ 2 files changed, 4 insertions( [...] Content analysis details: (3.4 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 3.6 RCVD_IN_SBL_CSS RBL: Received via a relay in Spamhaus SBL-CSS [171.76.87.36 listed in zen.spamhaus.org] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:631 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_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 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 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 |
More ISA extensions
|
expand
|
diff --git a/riscv/fdt.c b/riscv/fdt.c index 7687624..80e045d 100644 --- a/riscv/fdt.c +++ b/riscv/fdt.c @@ -37,6 +37,7 @@ struct isa_ext_info isa_info_arr[] = { {"zicond", KVM_RISCV_ISA_EXT_ZICOND}, {"zicsr", KVM_RISCV_ISA_EXT_ZICSR}, {"zifencei", KVM_RISCV_ISA_EXT_ZIFENCEI}, + {"zihintntl", KVM_RISCV_ISA_EXT_ZIHINTNTL}, {"zihintpause", KVM_RISCV_ISA_EXT_ZIHINTPAUSE}, {"zihpm", KVM_RISCV_ISA_EXT_ZIHPM}, {"zknd", KVM_RISCV_ISA_EXT_ZKND}, diff --git a/riscv/include/kvm/kvm-config-arch.h b/riscv/include/kvm/kvm-config-arch.h index f1ac56b..2935c01 100644 --- a/riscv/include/kvm/kvm-config-arch.h +++ b/riscv/include/kvm/kvm-config-arch.h @@ -88,6 +88,9 @@ struct kvm_config_arch { OPT_BOOLEAN('\0', "disable-zifencei", \ &(cfg)->ext_disabled[KVM_RISCV_ISA_EXT_ZIFENCEI], \ "Disable Zifencei Extension"), \ + OPT_BOOLEAN('\0', "disable-zihintntl", \ + &(cfg)->ext_disabled[KVM_RISCV_ISA_EXT_ZIHINTNTL], \ + "Disable Zihintntl Extension"), \ OPT_BOOLEAN('\0', "disable-zihintpause", \ &(cfg)->ext_disabled[KVM_RISCV_ISA_EXT_ZIHINTPAUSE],\ "Disable Zihintpause Extension"), \