From patchwork Fri May 24 10:33:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yong-Xuan Wang X-Patchwork-Id: 1938915 Return-Path: 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=v7SQepVd; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=sifive.com header.i=@sifive.com header.a=rsa-sha256 header.s=google header.b=mljsuBwH; 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 4Vm1bc0xBVz1ynR for ; Fri, 24 May 2024 20:33:32 +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:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id: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=sSqcaI/Ytv3k1NQvc6unXEylQs8ALcbsZ7mEvj6Nmto=; b=v7SQepVdp7qG1g n0cUxVX2YxjkXMQulGVRd8NPEbn3l7SadPaE9cEr+Xi2iWU5o6NfMd6EEWN5B7M6DNByQoy70hXyX SHOJM28jq5Owb4D77+nZYOu4SH/VAiqF19MDoqdV21t1gkfW6KnpWAZhpxv5nEbuiRwb2REMRhh7h DJtt4gWedsQaUGFgEO49IrptiEsGoy7aX6rjCrpiea5tE+D1jYECI11/2ip7ZvKMLV/wPrjSV1XV6 7aXnHy4bjcpqk+Rz5cYg18Gdatq4bC8kTPzN+v9xo9jbkm6sDIZ5E6hfn0c63gEER47DYmEViTVT+ a6/lyw6a1YPnPjsRxwRw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sASEs-00000008g62-3LW5; Fri, 24 May 2024 10:33:30 +0000 Received: from mail-pg1-x52f.google.com ([2607:f8b0:4864:20::52f]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sASEq-00000008g3K-1ApT for kvm-riscv@lists.infradead.org; Fri, 24 May 2024 10:33:29 +0000 Received: by mail-pg1-x52f.google.com with SMTP id 41be03b00d2f7-681907aebebso537526a12.1 for ; Fri, 24 May 2024 03:33:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; t=1716546807; x=1717151607; darn=lists.infradead.org; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=e3SGsbWgTHauNPsqsrqXr871vIXrZYnzi0FhV+x1ZyM=; b=mljsuBwH10bcVGnlkVUJmlfh+GjRmIEhqPssOWHjxr6bG6g6TVdLD0JbvVe1ea/OYP 5uG9xRYCELG2JRnK2zc3BdWJfrxGjEHOMvUEFrXCqK91f1LaAzW0WAn9f1MVE8OPaTVY Q6xBbcO04ofjN0lswgLcY0vIFTmffzefkm3jfUtv5k5Xhf0rrIyRPnX09CE6KFEXD3WS 3Va8AfiTSwRW70Oe/opOl367GEUOj3jo7baDOQ4NqGwnqcmIF3rWgVRRPfMSTjXMvZh/ STm0F3PoWt2vYwzwb5aZsr4b7ZFo6eapkDdIkULud1GN+U5tuTfobnwWAqJeUbSMEBof kzcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716546807; x=1717151607; h=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=e3SGsbWgTHauNPsqsrqXr871vIXrZYnzi0FhV+x1ZyM=; b=NPNZLnRGRue9/vpEov0vRYWOWE9sb9dHZ9tyDVfVpAE05dq6ITVDfZ9Msj2ajynjWX TswgxLLmfNYzFRCxp80yvFof8XLdWXYdi2hSjlVaLIUFgH+Tgkr37nS+ED4UPeqtHkAq GFO1szWniCISYVxa24j5NTONZuzjcWbzqg30PBfqz4FnHQrRo/1Sf1XmB9TOHNUXXt19 n/v7y2DR5QCFQw473Ll6S/kZ+C535i5HuOrra7Y0CW8xRu75GOfW0ibdkCAfMq2IgHO/ aTZoOvYOxJHmcndBTiUefQzloyUlua9ju4DqLnAlaixQMWsSd/nPGo2tYxM58hakvOFY Vo8A== X-Forwarded-Encrypted: i=1; AJvYcCXcSQwbaysdt9b+ZrMoS0/7ZYbjOD7hhJ3UITow0/7zZ1F66vyUaplTGuxewpvPIgQ7nEPvO/A9n2r7wgBcyz+KH+ugv0IoLDLIhVawqA== X-Gm-Message-State: AOJu0YytUfX2pg/YIH8NxseDxpltBuSJtME1Bw/qKW62u60dpSutMUka JDVY6r6TCWQIF7nvs/GU/jeCGhNFzLVS2FYeeuIkGlLaAVgDxeMaeMzYq8Fb82w= X-Google-Smtp-Source: AGHT+IFEjxRzuXtqnwpdjXGqqrpyzXepAeYnCHRfGHkAZfMRQCAGjZk7T+Jgmy6wAMTVGHMbBmV98A== X-Received: by 2002:a05:6a21:2786:b0:1ae:3f36:28cf with SMTP id adf61e73a8af0-1b212f64d53mr1876119637.56.1716546807028; Fri, 24 May 2024 03:33:27 -0700 (PDT) Received: from hsinchu26.internal.sifive.com (59-124-168-89.hinet-ip.hinet.net. [59.124.168.89]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f44c756996sm10936625ad.8.2024.05.24.03.33.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 03:33:26 -0700 (PDT) From: Yong-Xuan Wang To: linux-riscv@lists.infradead.org, kvm-riscv@lists.infradead.org, kvm@vger.kernel.org Cc: greentime.hu@sifive.com, vincent.chen@sifive.com, cleger@rivosinc.com, alex@ghiti.fr, Yong-Xuan Wang , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH v4 2/5] dt-bindings: riscv: Add Svadu Entry Date: Fri, 24 May 2024 18:33:02 +0800 Message-Id: <20240524103307.2684-3-yongxuan.wang@sifive.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240524103307.2684-1-yongxuan.wang@sifive.com> References: <20240524103307.2684-1-yongxuan.wang@sifive.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240524_033328_396549_95FDA95A X-CRM114-Status: UNSURE ( 7.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: Add an entry for the Svadu extension to the riscv,isa-extensions property. Signed-off-by: Yong-Xuan Wang Acked-by: Conor Dooley Reviewed-by: Andrew Jones --- Documentation/devicetree/bindings/r [...] 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:52f 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "kvm-riscv" Errors-To: kvm-riscv-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Add an entry for the Svadu extension to the riscv,isa-extensions property. Signed-off-by: Yong-Xuan Wang Acked-by: Conor Dooley Reviewed-by: Andrew Jones --- Documentation/devicetree/bindings/riscv/extensions.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/riscv/extensions.yaml b/Documentation/devicetree/bindings/riscv/extensions.yaml index 468c646247aa..598a5841920f 100644 --- a/Documentation/devicetree/bindings/riscv/extensions.yaml +++ b/Documentation/devicetree/bindings/riscv/extensions.yaml @@ -153,6 +153,12 @@ properties: ratified at commit 3f9ed34 ("Add ability to manually trigger workflow. (#2)") of riscv-time-compare. + - const: svadu + description: | + The standard Svadu supervisor-level extension for hardware updating + of PTE A/D bits as ratified at commit c1abccf ("Merge pull request + #25 from ved-rivos/ratified") of riscv-svadu. + - const: svinval description: The standard Svinval supervisor-level extension for fine-grained