From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2F34D30C605; Thu, 22 Jan 2026 18:52:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769107959; cv=none; b=FxJ20N6taiNc7aWrKIAbnhYfgEHT7GvCb+owRrK4AeJp/mAQq2T8PjLKhhJaz8qfvFdh0Ovd6NuagnC0QSEsg6n4cUAgzAH5Bydc89Z8oBPAYWkhUA8PggmuB3FIwTDrZQpfNuCUGLekj2MLoiwu7V2OguREBM0edjuf2j6Fdag= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769107959; c=relaxed/simple; bh=0V8Y5eVJy8Va7o6YR4MucS7wmP4IbYdB6u3T0vqBFkA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=rn6242rqDVL+swqvEIVVwF1bTVhFBnQ8ToJhExSr0K5g8EpasNi1oGaC0h5repdOxKPTkHsErq6uuwY8ds+EK98wA2J/yn8a7NaAXbIK8a5ZIilbjxLACzdnGJiPngL//Iwj9Xaa6NTVfweeWi+7P8yuLVIXG+QHqUiuikavbno= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=OY+CRaIh; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="OY+CRaIh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 77E0BC19423; Thu, 22 Jan 2026 18:52:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1769107956; bh=0V8Y5eVJy8Va7o6YR4MucS7wmP4IbYdB6u3T0vqBFkA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OY+CRaIhHiTE4ubaMdTXZ+eTymp+O2qsx4SaX3DnPCFakjcC2/XMR1lIpatwSaqWt q6Z9zOQbe38EYaAiVM0+vWvzXHaicCYgZd3VjBD8Xhr3eJKhko7Iv03tS7bGRoisoP 88Cys5otmDXL7Iy1mj3JfkPJ2wPEytn/FnkOXOYfkBn+rJZib0yzY8b03qvMrntgre 5c2fspZD2FKAvek1XxnDaMjzuKUwAKYeT2ynZIGxKwQE9AcoYRCkcHaWE7SrO8m9ma vecI4kbdqVuOQgJLHEWq38F4EIhYZyYSe/oYRPZyBNP4AzQMbaaSa38RSUbcq+upFC zeuyOrHliutFQ== Date: Thu, 22 Jan 2026 18:52:31 +0000 From: Conor Dooley To: Guodong Xu Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Samuel Holland , Heinrich Schuchardt , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Evan Green , Andrew Jones , Paul Walmsley , devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] dt-bindings: riscv: Add Supm extension description Message-ID: <20260122-headlamp-champion-0bbad2551d33@spud> References: <20260116-supm-ext-id-v1-0-5fcf778ba4a6@riscstar.com> <20260116-supm-ext-id-v1-1-5fcf778ba4a6@riscstar.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="81dh77ACAYQKu44u" Content-Disposition: inline In-Reply-To: <20260116-supm-ext-id-v1-1-5fcf778ba4a6@riscstar.com> --81dh77ACAYQKu44u Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 16, 2026 at 10:10:31AM +0800, Guodong Xu wrote: > Add description for the Supm extension. Supm indicates support for pointer > masking in user mode. Supm is mandatory for RVA23S64. >=20 > The Supm extension is ratified in commit d70011dde6c2 ("Update to ratified > state") of riscv-j-extension. >=20 > Signed-off-by: Guodong Xu > --- > Documentation/devicetree/bindings/riscv/extensions.yaml | 17 +++++++++++= ++++++ > 1 file changed, 17 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/riscv/extensions.yaml b/Do= cumentation/devicetree/bindings/riscv/extensions.yaml > index 4ffd61926505..1922dff03787 100644 > --- a/Documentation/devicetree/bindings/riscv/extensions.yaml > +++ b/Documentation/devicetree/bindings/riscv/extensions.yaml > @@ -262,6 +262,23 @@ properties: > ratified in RISC-V Profiles Version 1.0, with commit b1d8066= 05f87 > ("Updated to ratified state.") > =20 > + - const: supm > + description: | > + The standard Supm extension for pointer masking support in u= ser > + mode (U-mode) as ratified at commit d70011dde6c2 ("Update to > + ratified state") of riscv-j-extension. > + > + Supm represents a combination of underlying hardware capabil= ity > + (Smnpm or Ssnpm), U-mode consumer privilege level, and M/S-m= ode Should we therefore make this require that Smnpm or Ssnpm are present? > + software configuration that enables pointer masking for U-mo= de. > + > + DO NOT include this property in device trees targeting privi= leged > + system software (S-mode or M-mode). > + > + This property is only appropriate in device trees provided to > + U-mode software where the next-higher-privilege-mode supports > + Smnpm or Ssnpm and enables it for U-mode. > + > - const: svade > description: | > The standard Svade supervisor-level extension for SW-managed= PTE A/D >=20 > --=20 > 2.43.0 >=20 --81dh77ACAYQKu44u Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCaXJx7gAKCRB4tDGHoIJi 0rrLAP9+fJ2YwqDLg2ufwFGAYpV04xBNeRNMujDywFtcEXyZCwEApEgBGJywQbRE OqdtJ2qzI1d0kt1LDSw8Q+/m/utpuwg= =FGwz -----END PGP SIGNATURE----- --81dh77ACAYQKu44u--