From nobody Tue Feb 10 01:31:36 2026 Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) (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 5D11030FC1A for ; Sun, 25 Jan 2026 05:48:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.173 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769320109; cv=none; b=esHlzbleQv2rBdKjKu5KnxeYmQqUyVougCZ1a64C9JitARKWPYdxOy9UF8iqFgqyq6Y2t1UL+OUCJyZNOCTu8qwGi2521ER6HR9UwaG9C2OmrVXH1znO2mNvhtGNQaBG0pSnbrCCiipIZvNhk7A1jezE5GEUQMv/N2gTolQdZp8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769320109; c=relaxed/simple; bh=ilP0oUEcgLbC49kjj4ZBFmbRYl5pSdW30oe15mM7XC0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=XjRVWVlZ+De3yasgIKfTD/XL/avrd2BVrcMTrQFAcfuiuNnzRPPmgEsy0AioY8LOWo/DdjnqckZpubMU6ZLxQiRaD94B4qFVCwT5IZjTKePn0aTBLPdBwsDsXnw3tlZ0WwBsPLOHHKD+xbtT33mZZBE9eR+Lz7a8xxf/FKI4pO4= 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=aEr69hPO; arc=none smtp.client-ip=209.85.210.173 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="aEr69hPO" Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-8230f8f27cfso1456515b3a.0 for ; Sat, 24 Jan 2026 21:48:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=riscstar-com.20230601.gappssmtp.com; s=20230601; t=1769320104; x=1769924904; 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=U+hFQkKCXgC1aoBhH/+QMxC/tTL+ChXS3LVeT09Vue4=; b=aEr69hPO1s8Y2HfQdleG6XVPyOfZiA31VoHkw8SFB6pt8r2j0h/BCIbOC3su8ulxlz iZj1181aNa6WF0fvs8Jgus6uCSDN8NUdv2wwoLotPjWnVT9VkMEIKXbdIenIkad7m83l wxuRdcr/5Ecu3etEBi8JgR7YLXMVvCHuIYhVrIouIlV9RSmQvNtbvKydoUN740ZG/KJX mSDbf8gi1PmCo14C2uBkqVf8xNT/OjZB5Rmuq93DFsO27WOWR0b8XOW0BLDoCnOwqEgp zQoJqqigUuFxTcdnYVLvvzmibewHWSvVDNDOuw6WZ9jSO/ykosS3hR+1gmS1lXnH3yZa 5XIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769320104; x=1769924904; 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=U+hFQkKCXgC1aoBhH/+QMxC/tTL+ChXS3LVeT09Vue4=; b=v6N4ue77mOijS1RAX3NWxGYHy+HlUX+Zbo4ZdPzh8WGpE55ST7x6OWfU/cv8N1L3ui zKEMB8yUOT2zDrjm6Fv03pGo5gYZ+nEMAFRhObBF9GKNCXfhY1xZXUdQiFeMPkLKVCmZ hrVnlpFB1+08CPGjMx6rtKKOuhIkP/7HjIAIkFNWcSBZlqNBk0DY2RdJfxao/QIlGlOI sACEIX6SYNj4oyQSxE82i52K94nTHul3Mjf6m01f3Y689nTarRRSnyq8mVUb7uRBrCMn Rl7CKqTWIAbI6GhZon8tUmsldETh2DtF7GThBvINbEp1PYWki04kdkuEpji1W1ZGNoCE 5r1Q== X-Forwarded-Encrypted: i=1; AJvYcCW8K7aD+qLRt/hoIe/3pHxkl5+PJg/7xYYg0PfVUpd3TBk9xLXkvj93jcfayApIb+ZA865X8MQqbhTFdy8=@vger.kernel.org X-Gm-Message-State: AOJu0YxiCLim3DUCT3sEo8rswhFVT5UhjmBXgOlKYHffGgyEAet5ozA1 AZwr98ZOgTbRcO9c8hsZEqnVFH86/CQgSe0/E4sKx+l3nezoMHi3KnmEgCmqBCRsbWQ= X-Gm-Gg: AZuq6aIOuE7mz3hDMLzFqh2hUs9fWTEU/20l6y2v33WYAmet10V4ZCeBjwq20HkY/U/ wWRW4kDpXpquJawhU/wcm5mHaKOQb2XeXDngmUEb173YI1gIKs0jcEFwozPfVhNasqRqpvHBk/B 1pzq2lKmX13kqXNBNCTGuWRK2RJx5Yz+WVXwvOw/YnFYyfFnAPz1a10WeNqekdT7Mi6IQ6YKerd 0VcCOYHrPU9iUWFG8G9ZmGi5mR99nIErV6SkZxkQyGbM1U4IwsALuqwgUBDRv0q83CS18YQncly pFuwpzBIffRDgiZl4DSBg0NlLaVKxtVw2CKCVpYpNyoM4h9KBPw7JSScynRmB6Qym7UnMJJje9j U1hFxWz1IsdLcrpCFvArMGWDy0DiJkJjnGjKK7Be/o2hVFkT7rsIGLU5UikzG3R769BvEHi/7m7 CTVB9DsPt+Izb7K/ukBDjH7t2hSg2/hz4= X-Received: by 2002:a05:6a21:790:b0:2bf:183c:ac86 with SMTP id adf61e73a8af0-38e9f114abemr636293637.25.1769320103914; Sat, 24 Jan 2026 21:48:23 -0800 (PST) Received: from [127.0.1.1] ([2a12:a305:4::30fc]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-c635a3f1ebesm5680016a12.19.2026.01.24.21.48.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Jan 2026 21:48:23 -0800 (PST) From: Guodong Xu Date: Sun, 25 Jan 2026 09:36:06 +0800 Subject: [PATCH v2 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: <20260125-supm-ext-id-v2-1-1e3b9714c860@riscstar.com> References: <20260125-supm-ext-id-v2-0-1e3b9714c860@riscstar.com> In-Reply-To: <20260125-supm-ext-id-v2-0-1e3b9714c860@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 , Conor Dooley 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. Add dependency check that Supm requires either Smnpm or Ssnpm. The Supm extension is ratified in commit d70011dde6c2 ("Update to ratified state") of riscv-j-extension. Signed-off-by: Guodong Xu Acked-by: Conor Dooley --- v2: Add dependency check for Sump. Put the check blok after single-letters and before Z*. --- .../devicetree/bindings/riscv/extensions.yaml | 27 ++++++++++++++++++= ++++ 1 file changed, 27 insertions(+) diff --git a/Documentation/devicetree/bindings/riscv/extensions.yaml b/Docu= mentation/devicetree/bindings/riscv/extensions.yaml index c6ec9290fe07..2b0a8a93bb21 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 @@ -907,6 +924,16 @@ properties: then: contains: const: b + # Supm depends on Smnpm or Ssnpm + - if: + contains: + const: supm + then: + oneOf: + - contains: + const: smnpm + - contains: + const: ssnpm # Za64rs and Ziccrse depend on Zalrsc or A - if: contains: --=20 2.43.0