From nobody Sun Feb 8 05:07:29 2026 Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) (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 07B3A2DA75F for ; Mon, 22 Dec 2025 13:07:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766408861; cv=none; b=YP5nTDkagGYytyf9h+0iHkZeq1X9a/MZF5MH2cBUtyOiFmTJdf5N4qMA+0ctRTUVZFp6XqF2tboJZP2J+WvtgLD04yZwEmLBifLe7dHit94Gssvr9gHjrKT7eoalxbI96uMNGaBSHjGSrbCpl8919CKirGGYMFeotvj/6I8MNLs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766408861; c=relaxed/simple; bh=5SA3J65WlN60QjZ8eAnYw9T14G42qcDvprvwz4v2MDM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=GqWCmchlPSRmURJpLnnuN6ZPCRwAnwPlgMUOhBxN/8sseNhFXqrUEYXwWoM1xmo3WYasErIfB/tCKdYy6EvzXXHmXhUkIiWsw/jM14RLYFq62EosA4SDoBoVC9+BWyKF7dWqG3dG4DawYw3xzTnuyMNElkc7lqjhPQqxPFUVVlA= 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=DskmzHSF; arc=none smtp.client-ip=209.85.216.48 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="DskmzHSF" Received: by mail-pj1-f48.google.com with SMTP id 98e67ed59e1d1-34c1d84781bso4460286a91.2 for ; Mon, 22 Dec 2025 05:07:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=riscstar-com.20230601.gappssmtp.com; s=20230601; t=1766408859; x=1767013659; 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=mGQTfjuLcO04tKg5qOE8aVGf71IAU9Gz/ZUJidQ1+vM=; b=DskmzHSFT9AQPHHcpNw9CtIsEnD6WBmCzxi75Tqc8A0R2siOsgtW+ru2BmiA2jT5na bKOrJUCkmRGGUh1JdBomwCh64Ra1nbG4gR4qz/sBKYLHdI7DyPvjemoCSB/vfN5lfITP /CXvCxENz4qRhM7XtC3NsCCymFq7vHVV5yVNbROWN+H7oR7mfcW5FNYd0OUbrmMbVkVm zh/NbpYctFLGNgmhpJIQSEltvSutV/wWGXn3LG/N8oT5ToRfnJVTYvwrxq3/om/GtQwg Bsk8LLaJceley48cTKJ7qyYX1IxMrrowiCJqXDniWfQmR4ekCgRoz+lxRcM5MQc2/YHT AUqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766408859; x=1767013659; 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=mGQTfjuLcO04tKg5qOE8aVGf71IAU9Gz/ZUJidQ1+vM=; b=U43JsoxgkXGx360dYjK11N84DTSOjoc9nZxYG1/KJ2SmGp2tO4RYTMI/D0VoQnLIP0 z5VqksmpQ/N3NVjIgQRR/ROfNMLSwjm0pM+e2X0+Ibr/VN2mE5WHa1zgHyFg2zs8e6iR TOKYPZMqOL+RAYRkquHHOvS92zMg95H96DjuY535LLfpVOA+sLraa9xehH8dSIi4BzE3 9L31/v/7RAYyysydwd8hslJS09PJU3FnPonJZu31gSxCTrZNnQ7q4A1l7p3fWOHvCdir aagiKZ23Ew4MDzz/paofaF2L1+9XM/kSRKtjEUTguLv44BMKgnyaWDfNs1gmB1MBkpeV 6KfA== X-Forwarded-Encrypted: i=1; AJvYcCXKxgE2hBUTmQL8RFdHAPQFgCFLXKwhclwTfnZ8KZfNEjkImyWvg6fV/yUG/5wM/w2nbZfHPElQ0Wdvssg=@vger.kernel.org X-Gm-Message-State: AOJu0Yw8LPY0P64qN986qVzPNom4MeNiTvJAqlUiC91ZHkYmqT4YHWy1 KMwSoWsloaMTz0mafX1dm3RAJ+b4U3jW7pp+ytLgh+KdlS5zRZ4KgzwvLUieDjDLvgw= X-Gm-Gg: AY/fxX6usot+7fpE28HWSldn7cPttSNKNFxTWSd6RUTZ4T5pXLd84LnTErb57sYrRkv 5IGq7YdWKxp+yV5IF3gK680qXpxqJX50hk31NGl5d4hILZauXiPK9KZI3g3xmTa0+mcgb9PjKVi mQHjix1UYscDuHTB8H2vVyQp4FXN+9/vbaj7/xC4ZK9u4C81PGmbApIHbT9FG8VJIKbRTWmxXzG iv5DVETWfvoZxdEY4o00ffaDMj0ETZYKg+80QhaCuH2Dto8Z1nOHBXxGwzEWfGr5d8vR8jzr31y RfCwYUWQxVg9yEPSFb69tXVwFysJdHaL8+hRQOD1U0Ickk1KIcBJG2q4ApVCJid8ny8db6l/uG6 xYcNCINh0YCjd0cA5d8DH8WS8McvZzDNMIPew3+n2mU0MLARl1JnUnMB23tJe3wGIoYOtruDY6F TxcQaAI5OOeGqXggLzHjZB7HVwT4+mGKA= X-Google-Smtp-Source: AGHT+IH9e82inTfTfBy9JIkcZ+jC/BVvaACK9Mh7FCCtZMLW3mXb8WEQ8z1KSPITq0+87R6HI/oygg== X-Received: by 2002:a17:90b:1dc6:b0:343:b610:901c with SMTP id 98e67ed59e1d1-34e921bb683mr10198388a91.26.1766408859410; Mon, 22 Dec 2025 05:07:39 -0800 (PST) Received: from [127.0.1.1] ([2a12:a305:4::402f]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-34e70c932casm12970405a91.0.2025.12.22.05.07.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Dec 2025 05:07:39 -0800 (PST) From: Guodong Xu Date: Mon, 22 Dec 2025 21:04:17 +0800 Subject: [PATCH v2 07/13] dt-bindings: riscv: Add B ISA 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: <20251222-k3-basic-dt-v2-7-3af3f3cd0f8a@riscstar.com> References: <20251222-k3-basic-dt-v2-0-3af3f3cd0f8a@riscstar.com> In-Reply-To: <20251222-k3-basic-dt-v2-0-3af3f3cd0f8a@riscstar.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Yixun Lan , Daniel Lezcano , Thomas Gleixner , Samuel Holland , Anup Patel , Greg Kroah-Hartman , Jiri Slaby , Lubomir Rintel , Yangyu Chen Cc: Paul Walmsley , Conor Dooley , Heinrich Schuchardt , Kevin Meng Zhang , Anup Patel , Andrew Jones , devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, spacemit@lists.linux.dev, linux-serial@vger.kernel.org, Guodong Xu X-Mailer: b4 0.14.2 Add description of the single-letter "B" extennsion for Bit Manipulation. B is mandatory for RVA23U64. The B extension is ratified in the 20240411 version of the unprivileged ISA specification. According to the ratified spec, "the B standard extension comprises instructions provided by the Zba, Zbb, and Zbs extensions. Hence add a schema check rule to enforce that B implies Zba, Zbb and Zbs. Signed-off-by: Guodong Xu --- v2: New patch. --- .../devicetree/bindings/riscv/extensions.yaml | 19 +++++++++++++++= ++++ 1 file changed, 19 insertions(+) diff --git a/Documentation/devicetree/bindings/riscv/extensions.yaml b/Docu= mentation/devicetree/bindings/riscv/extensions.yaml index 565cb2cbb49b552959392810a9b731b43346a594..385e1deb23996d294e7662693f1= 257f910a6e129 100644 --- a/Documentation/devicetree/bindings/riscv/extensions.yaml +++ b/Documentation/devicetree/bindings/riscv/extensions.yaml @@ -109,6 +109,13 @@ properties: The standard C extension for compressed instructions, as ratif= ied in the 20191213 version of the unprivileged ISA specification. =20 + - const: b + description: + The standard B extension for bit manipulation instructions, as + ratified in the 20240411 version of the unprivileged ISA + specification. The B standard extension comprises instructions + provided by the Zba, Zbb, and Zbs extensions. + - const: v description: The standard V extension for vector operations, as ratified @@ -735,6 +742,18 @@ properties: then: contains: const: f + # b comprises the following extensions + - if: + contains: + const: b + then: + allOf: + - contains: + const: zba + - contains: + const: zbb + - contains: + const: zbs # Zcb depends on Zca - if: contains: --=20 2.43.0