From nobody Tue Feb 10 04:03:30 2026 Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C48DA3385B5 for ; Fri, 16 Jan 2026 02:10:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768529460; cv=none; b=Oe/C5TZPYWdl6yDXh0duam/BWaCU4k5OZ/c49klCz0C7oNDB7gyEoeRqfuJp2iwZK7n/8rL0EuBT5hWUZZGb11u+e8jrBJm0sjw2somsr5KnVCVnlv70Avnx9yivXaprO5VhUtO+Jiyk5Qk380U9GzoG+bborcSZA2ixE8jk+YE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768529460; c=relaxed/simple; bh=N8syuPJHM/RDgseVkBo3sE15yFV/OMCXP+RAlXifSjU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ZjBFSr33gjvwHB+6Ex9ws5CjBI6f2wEqGO2of77xY5HtGQ6asPEw32gnjvsQhCtX9R9Bfcbt90/FnA7mzOoCSCX52ANuzm59vIkUXTOq4oq8CEwuGXNB5Wu+2NZdRX6v+WM1rmrk5w/JlYV+c6kfvoSz1V6wcB55GXyMaqBMpoE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=riscstar.com; spf=pass smtp.mailfrom=riscstar.com; dkim=pass (2048-bit key) header.d=riscstar-com.20230601.gappssmtp.com header.i=@riscstar-com.20230601.gappssmtp.com header.b=mNIXGAlb; arc=none smtp.client-ip=209.85.216.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=riscstar.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=riscstar.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=riscstar-com.20230601.gappssmtp.com header.i=@riscstar-com.20230601.gappssmtp.com header.b="mNIXGAlb" Received: by mail-pj1-f53.google.com with SMTP id 98e67ed59e1d1-34c7d0c5ddaso905787a91.0 for ; Thu, 15 Jan 2026 18:10:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=riscstar-com.20230601.gappssmtp.com; s=20230601; t=1768529457; x=1769134257; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=3qBoetBmeJm3JJ7+522wExgCek3WhGfFdkGVZeCPvt8=; b=mNIXGAlbWn6ek9ZItxk1eNHXQ6AhLoiQKWV3bSEKMqG5njQqFnbRrSHHjiq5uubehq E6/UNBuF6YyUk/gShSa/Zt5g0XVD6XjYC9ZKEDXxE0y/72WglTdGd4iUZa8ak+h9LaSD M4sL2gV2bD8iG7SHRx4AQDBXNTbN7r/yqmaEJqfZ7l/JLV05mChw//YnwD+MXyxcQF0Q fVC38N5i9pzJzwfWz3rYcK9/QM3wcnvYb9isOT8ovZF+igeMJoKPH19SeaQiCgdvi5fG CzvR2QE9aqhMAGwjFG09DhO7wfIkHECtOZyPZYGpakWGPSgR3ZgXPWxA0Xh10Jjg2+yS hvNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768529457; x=1769134257; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=3qBoetBmeJm3JJ7+522wExgCek3WhGfFdkGVZeCPvt8=; b=qzJhEN3GjxJq1uZUsFaY8GQkXGj2v+/UAZ0fhrWlWJbGN6tX9pKS89A6BqiEnHba/N OSMHrROr4HesPbRnVKoAZ5YkMVGem2CyvTtjfzE/ixtUP1UB9yqdmYY365qAXwlAXw7U 99dgEk8OVbYFB1Gl+F+isaXEIQYZKAJG7z2A8yb2MdRZBRtQwKtmvdf4i4srOtRWqGr2 chtFK/LmWs09CcP7g9zGARSSX+SeIOmn3Xbic1FhZvmI89Ynb6i/6S3tEJQNpEm7gnxB xfwvK7L4tQnTAnZc+3Uxzr6XLRYEOD40fTprnkXKxgXUU/tUKQaM2FBucrz2tksDVZ0G n80g== X-Forwarded-Encrypted: i=1; AJvYcCWWm0lMUV1PUyX0zVPHcs6hXtZOcC3KFCwdAGNOUgCpP6KlfTRRDRyaBwRKhliNASwrQYiRgAJaTfKJVtQ=@vger.kernel.org X-Gm-Message-State: AOJu0YxqYK/BtskTLgdc8/ZzibD+9wAIQ1/EfSsgnFsk8bLwhitvcSVD N7quQGsOM0CdI96ht2WzImOw08WzX0hWQAGE52JYYblWz/GJ3qrxiHAeYvpL+7AnBCA= X-Gm-Gg: AY/fxX5M5nQpPnq07jA49aYTwcBRhK6VhShN4Gbxx1L1l0/ciWhrEYIcR90qu2whD7x Q8ka/y0npm9jxCpXFOUh2HIQsFjz4FHkUWg9p8n9loJYS39iJWzvlU4w4QtHGOLCXsWRjYI1ECt eLr8flkO573fBkS4s6GRj4oDi6NKcchfmgLOD7+hYOhVU7cQ9QudjJBtDmdlDVs6K2LR1FQXVON hnn2mTT8wHxRaNraaXxeLESFHun/BlPF8v5IOIqm88CJKaM61BCDFpp1sVFit9Lk5EOKpJZUPxN DZae6qcjlfUtkSKS6ah+0MzRYZzMSU/DWzyelm+j+leNUbFJarf4CVzu79DLMjJk0XL6EJPwG2x q3Ai2XuNX18RsJhtvX1Kloo4+VIva7izoM2bqf3EviQWgV1XZUtYCAg0p6SwAbllGn+JteUbLhr AZwH8EnZn/ySJ4UOcTsLYyIif8AFRpB/f9gEjpBMwQ43ZqW6aM/pQsFA== X-Received: by 2002:a17:90b:58ec:b0:340:8d99:49d4 with SMTP id 98e67ed59e1d1-352677ed61bmr4296095a91.1.1768529457188; Thu, 15 Jan 2026 18:10:57 -0800 (PST) Received: from [127.0.1.1] ([45.8.220.151]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-35273298968sm364317a91.0.2026.01.15.18.10.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Jan 2026 18:10:56 -0800 (PST) From: Guodong Xu Date: Fri, 16 Jan 2026 10:10:31 +0800 Subject: [PATCH 1/3] dt-bindings: riscv: Add Supm extension description Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260116-supm-ext-id-v1-1-5fcf778ba4a6@riscstar.com> References: <20260116-supm-ext-id-v1-0-5fcf778ba4a6@riscstar.com> In-Reply-To: <20260116-supm-ext-id-v1-0-5fcf778ba4a6@riscstar.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Samuel Holland , Heinrich Schuchardt , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Evan Green , Andrew Jones Cc: Paul Walmsley , Conor Dooley , devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Guodong Xu X-Mailer: b4 0.14.3 Add description for the Supm extension. Supm indicates support for pointer masking in user mode. Supm is mandatory for RVA23S64. The Supm extension is ratified in commit d70011dde6c2 ("Update to ratified state") of riscv-j-extension. Signed-off-by: Guodong Xu --- Documentation/devicetree/bindings/riscv/extensions.yaml | 17 +++++++++++++= ++++ 1 file changed, 17 insertions(+) diff --git a/Documentation/devicetree/bindings/riscv/extensions.yaml b/Docu= mentation/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 b1d806605= f87 ("Updated to ratified state.") =20 + - const: supm + description: | + The standard Supm extension for pointer masking support in user + mode (U-mode) as ratified at commit d70011dde6c2 ("Update to + ratified state") of riscv-j-extension. + + Supm represents a combination of underlying hardware capability + (Smnpm or Ssnpm), U-mode consumer privilege level, and M/S-mode + software configuration that enables pointer masking for U-mode. + + DO NOT include this property in device trees targeting privile= ged + 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 P= TE A/D --=20 2.43.0