Message ID | 20221018140854.69846-4-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; 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=0dVUDJSh; 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=i7BNkwhB; 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 4MsG2p3CcCz23jx for <incoming@patchwork.ozlabs.org>; Wed, 19 Oct 2022 01:09:54 +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=0vCzBPghw0oIvb1c1MDkNnd0ABRCWeShnIXBx3MSosg=; b=0dVUDJShmkwq9O /88l/3Oxjya7zSuXcTyY74O23GZS3FZ8fssj2P8Wi8zM30OKW0BdPVXPRDAMXY2Sdu2h3ZczRHGmX ZW1473IsHhTiMDqS5jyee5niW6CXV4zJe0ZobLtw62Uy550aqyd37bUOigw8hXpKLzQUCbwkm2JdY Agbuac6xd0EAZE3RzmyiD/8YxM3xr6cr59t72965QuJj+zp9p9NkmHYTBe+PZ9iN2KtdXpDCKZBnY 6fKMrl8Z4T7JAj+cMkxak8xGRBrQV+BifmGiQ6N1cSc5cviaQY1bFHhO4FRaQT31CUWcDiLgDPe6u ukCP0M1v0LxgwZR2Oyqg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oknHy-007Fmu-Do; Tue, 18 Oct 2022 14:09:50 +0000 Received: from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oknHw-007FkG-EL for kvm-riscv@lists.infradead.org; Tue, 18 Oct 2022 14:09:49 +0000 Received: by mail-pj1-x1036.google.com with SMTP id x31-20020a17090a38a200b0020d2afec803so14117974pjb.2 for <kvm-riscv@lists.infradead.org>; Tue, 18 Oct 2022 07:09:44 -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:subject:date :message-id:reply-to; bh=r2IpBJzC/KZLEhOakHFoNifjUYgUg4NurhrpOreBu/A=; b=i7BNkwhBmRa911t30Yz5CURDDoTYRau2vSyCQvKiKh5hBnfXfXdPATcb5C3HeuPbOO ZP848bhXlrfsq3kgizUEIYjnbfqggU5ahRGXNM90LmQdWnYU1snwdCJXHoJX2ThjUOiF ZX1UahzlEP4mVTQC+Pk5k4kPGHD3hndG0C00NmK+8rdXEEq4Je5wWKA9nUwoXfF0y+7V /du2jQfJzvAJZmXXAMQibYgcG/dNIyrpTLKEpnF78gUfF+G8pJcxYC9PsZUFJlsv4XYV HX7WA/MjzJQ/ZBaUUhn8GZLor4BWOmWJ4kZeKN07aWMr9uFq+9RQ6jMM+yOpqtF+GKuZ d5sQ== 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 :subject:date:message-id:reply-to; bh=r2IpBJzC/KZLEhOakHFoNifjUYgUg4NurhrpOreBu/A=; b=b/AkMMe9bZ6J5f1ZXW3QyJLw8v9Pfvxe8gk3capzphjm0LQFSZbAGSuNYLJ2yU4v4L bH0KNgWjg8149H/6VHOBizONsGYWmJoklKXKCtUO1pYn/bUj0kHaO3tr0wOmGrqJMKSL JDyJKkEzp5rKFBjG10WS2o8A3kMXH/yflFyajDmIB5Vy6NE7VoWQDFKWvLIQ6vdeU9HK OA3APWxiJw/Rd2sXnQAzm+TRY21X95o1OTwIf0fskrlpjOyVl8iaANkPCkgxJKKObmiI NbRSSzkebQ/H2KCijJH4oMZS3f8GXo1VswVlbraMAEOV056RnfMu9kIt3QsVc9E8JtE2 rrvw== X-Gm-Message-State: ACrzQf2m697ufLdU4tKMofxyjIiHmg/fvhUJuY/44uwAEXyPb3op2ur0 wsi6Hqlc0eFEG5nPnlt7kVC6eQ== X-Google-Smtp-Source: AMsMyM5/1xD9nchl7YiD8PnipajH6ICLb8WzrqA2KonCjgdXWURk46jUpTdgmv0uhbUdbiWOuwle4Q== X-Received: by 2002:a17:903:240d:b0:183:9bab:9c3 with SMTP id e13-20020a170903240d00b001839bab09c3mr3318161plo.48.1666102183918; Tue, 18 Oct 2022 07:09:43 -0700 (PDT) Received: from anup-ubuntu64-vm.. ([171.76.86.161]) by smtp.gmail.com with ESMTPSA id z15-20020a17090a170f00b002009db534d1sm8119913pjd.24.2022.10.18.07.09.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Oct 2022 07:09:40 -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, Mayuresh Chitale <mchitale@ventanamicro.com> Subject: [PATCH kvmtool 3/6] riscv: Add zihintpause extension support Date: Tue, 18 Oct 2022 19:38:51 +0530 Message-Id: <20221018140854.69846-4-apatel@ventanamicro.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221018140854.69846-1-apatel@ventanamicro.com> References: <20221018140854.69846-1-apatel@ventanamicro.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221018_070948_499682_914DFB99 X-CRM114-Status: UNSURE ( 9.48 ) 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: From: Mayuresh Chitale <mchitale@ventanamicro.com> The zihintpause extension allows software to use the PAUSE instruction to reduce energy consumption while executing spin-wait code sequences. Add the zihintpause extension to the device tree if it is [...] 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:1036 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 |
RISC-V Svinval, Zihintpause, anad Zicbom support
|
expand
|
diff --git a/riscv/fdt.c b/riscv/fdt.c index 42bc062..ef0bc47 100644 --- a/riscv/fdt.c +++ b/riscv/fdt.c @@ -20,6 +20,7 @@ struct isa_ext_info isa_info_arr[] = { {"svpbmt", KVM_RISCV_ISA_EXT_SVPBMT}, {"sstc", KVM_RISCV_ISA_EXT_SSTC}, {"svinval", KVM_RISCV_ISA_EXT_SVINVAL}, + {"zihintpause", KVM_RISCV_ISA_EXT_ZIHINTPAUSE}, }; static void dump_fdt(const char *dtb_file, void *fdt)