From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 93193C83F39 for ; Thu, 17 Jul 2025 09:38:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=XfOgrIXNBXeYBKmi2YWx4gcu+Svx2vvkcHb7XNx+fM4=; b=XFGIKBsV3ViUkP /2qh21QLY7eQqqbOkiMMe8nfDdfxG7k1nrDpIP5UlHrDbRyZ+Eh7yBZjUcj3IEmutb5YY3m3Cfynh XQcJnuECkxUeOepWR9AJsZmrEXPXIbsidyQcrnvw0KgP3KOEFOlK/mIyJLcU1MGtFge1HNBvBhC/d Zpy3lwCy+3zPw9+qbZGKPPhZatLww1aIEOT1Znv0icQq6yLrPMM27PxzZ7aC3ZeFv/DRVyt/tSgU8 s+w6RWZyJktrhNBxbKG8M7LCIrX5FtJ2auPrhDT+nbqfMu/HT4K2KowYoI29JCFbepW6xs4WddDoE pdSynKEoeGHJM7t/GEKw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1ucL4L-00000009kMl-0A8x; Thu, 17 Jul 2025 09:38:25 +0000 Received: from relay2-d.mail.gandi.net ([217.70.183.194]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1ucKnY-00000009iOA-1zh0 for linux-riscv@lists.infradead.org; Thu, 17 Jul 2025 09:21:05 +0000 Received: by mail.gandi.net (Postfix) with ESMTPSA id C455543123; Thu, 17 Jul 2025 09:20:58 +0000 (UTC) Message-ID: <96fad5ac-3ddd-44eb-b82d-03d2ddfb978c@ghiti.fr> Date: Thu, 17 Jul 2025 11:20:57 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 5/7] riscv: hwprobe: Document MIPS xmipsexectl vendor extension To: aleksa.paunovic@htecgroup.com, Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , Jonathan Corbet Cc: Palmer Dabbelt , Conor Dooley , devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org References: <20250625-p8700-pause-v4-0-6c7dd7f85756@htecgroup.com> <20250625-p8700-pause-v4-5-6c7dd7f85756@htecgroup.com> Content-Language: en-US From: Alexandre Ghiti In-Reply-To: <20250625-p8700-pause-v4-5-6c7dd7f85756@htecgroup.com> X-GND-State: clean X-GND-Score: -100 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdeitddvudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfitefpfffkpdcuggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeetlhgvgigrnhgurhgvucfihhhithhiuceorghlvgigsehghhhithhirdhfrheqnecuggftrfgrthhtvghrnheptdfhleefjeegheevgeeljeellefgvefhkeeiffekueejteefvdevhfelvdeggeeinecukfhppedukeehrddvudefrdduheegrdduhedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudekhedrvddufedrudehgedrudehuddphhgvlhhopegluddtrddugedrtddrudefngdpmhgrihhlfhhrohhmpegrlhgvgiesghhhihhtihdrfhhrpdhnsggprhgtphhtthhopedugedprhgtphhtthhopegrlhgvkhhsrgdrphgruhhnohhvihgtsehhthgvtghgrhhouhhprdgtohhmpdhrtghpthhtoheprhhosghhsehkvghrnhgvlhdrohhrghdprhgtphhtthhopehkrhiikhdoughtsehkvghrnhgvlhdrohhrghdprhgtphhtthhopegtohhnohhrodgutheskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepphgruhhlrdifrghlmhhslhgvhiesshhifhhivhgvrdgtohhmpdhrtghpthhtohepphgrlhhmvghrsegurggssggvl hhtrdgtohhmpdhrtghpthhtoheprghouhesvggvtghsrdgsvghrkhgvlhgvhidrvgguuhdprhgtphhtthhopegtohhrsggvtheslhifnhdrnhgvth X-GND-Sasl: alex@ghiti.fr X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250717_022104_652227_3D619FA6 X-CRM114-Status: GOOD ( 13.45 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On 6/25/25 16:21, Aleksa Paunovic via B4 Relay wrote: > From: Aleksa Paunovic > > Document support for MIPS vendor extensions using the key > "RISCV_HWPROBE_KEY_VENDOR_EXT_MIPS_0" and xmipsexectl vendor extension > using the key "RISCV_HWPROBE_VENDOR_EXT_XMIPSEXECTL". > > Signed-off-by: Aleksa Paunovic > --- > Documentation/arch/riscv/hwprobe.rst | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/Documentation/arch/riscv/hwprobe.rst b/Documentation/arch/riscv/hwprobe.rst > index 2aa9be272d5de1c15559a978a956bc36c34de81c..2f449c9b15bdd6b9813c9a968deca1a4c4ff9b14 100644 > --- a/Documentation/arch/riscv/hwprobe.rst > +++ b/Documentation/arch/riscv/hwprobe.rst > @@ -327,6 +327,15 @@ The following keys are defined: > * :c:macro:`RISCV_HWPROBE_MISALIGNED_VECTOR_UNSUPPORTED`: Misaligned vector accesses are > not supported at all and will generate a misaligned address fault. > > +* :c:macro:`RISCV_HWPROBE_KEY_VENDOR_EXT_MIPS_0`: A bitmask containing the > + mips vendor extensions that are compatible with the > + :c:macro:`RISCV_HWPROBE_BASE_BEHAVIOR_IMA`: base system behavior. > + > + * MIPS > + > + * :c:macro:`RISCV_HWPROBE_VENDOR_EXT_XMIPSEXECTL`: The xmipsexectl vendor > + extension is supported in the MIPS ISA extensions spec. > + > * :c:macro:`RISCV_HWPROBE_KEY_VENDOR_EXT_THEAD_0`: A bitmask containing the > thead vendor extensions that are compatible with the > :c:macro:`RISCV_HWPROBE_BASE_BEHAVIOR_IMA`: base system behavior. > FWIW, just a note that in the documentation you mentioned in patch 1, xmipsexectl extension also provides 2 barrier instructions that are not implemented in this patchset. Anyway: Reviewed-by: Alexandre Ghiti Thanks, Alex _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv