Skip to content

riscv: dts: Add "b" ISA extension to existing devicetrees

Guodong Xu linux-devicetree linux-doc linux-riscv lkml sophgo spacemit 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected] change-id 20260113-adding-b-dtsi-148714533f07

Versions newest first

  1. v2 Latest4 patches 8 repliesApplied
  2. v12 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- Patch 1: Add Acked-by from Paul Walmsley.
- Patch 2/3/4: These are splits from the v1 Patch 2. Split into three different patches for each SoC.
- Link to v1: https://lore.kernel.org/r/[email protected]

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4Documentation: riscv: uabi: Clarify ISA spec version for canonical orderDocumentation/arch/riscv/uabi.rst+3 -11 reply
2/4riscv: dts: anlogic: dr1v90: Add "b" ISA extensionarch/riscv/boot/dts/anlogic/dr1v90.dtsi+3 -21 reply
3/4riscv: dts: sophgo: sg2044: Add "b" ISA extensionarch/riscv/boot/dts/sophgo/sg2044-cpus.dtsi+128 -1281 reply
4/4riscv: dts: spacemit: k1: Add "b" ISA extensionarch/riscv/boot/dts/spacemit/k1.dtsi+16 -161 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchPaul WalmsleyInochi AmaotoYixun LanJunhui Liu
1/4A-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/4] riscv: dts: Add "b" ISA extension to existing devicetrees

The RISC-V "b" (Bit-manipulation) extension was ratified in April 2024, much later than its component extensions zba/zbb/zbs (June 2021). Recent updates to the device tree bindings [2] enforce that when all three component extensions are present, "b" must also be specified. Related discussion can also be found in [1].

Patch 1 clarifies the ISA spec version for canonical ordering in uabi.rst. It is a trivial update, but can help readers reference the correct document version. Acked-by Paul Walmsley in v1.

Patch 2, 3 and 4 adds "b" after "c" in 3 different device tree files respectivly, anlogic, sophgo and spacemit, fixing the related dtbs_check warnings.

This patchset is based on top of linux-next, tag: next-20260109, and depends on [2].

Changes in v2:
- Patch 1: Add Acked-by from Paul Walmsley.
- Patch 2/3/4: These are splits from the v1 Patch 2. Split into three different patches for each SoC.
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Guodong Xu (4):
Documentation: riscv: uabi: Clarify ISA spec version for canonical order
riscv: dts: anlogic: dr1v90: Add "b" ISA extension
riscv: dts: sophgo: sg2044: Add "b" ISA extension
riscv: dts: spacemit: k1: Add "b" ISA extension

 Documentation/arch/riscv/uabi.rst           |   4 +-
 arch/riscv/boot/dts/anlogic/dr1v90.dtsi     |   5 +-
 arch/riscv/boot/dts/sophgo/sg2044-cpus.dtsi | 256 ++++++++++++++--------------
 arch/riscv/boot/dts/spacemit/k1.dtsi        |  32 ++--
 4 files changed, 150 insertions(+), 147 deletions(-)

---
base-commit: 31d167f54de93f14fa8e4bc6cbc4adaf7019fd94
change-id: 20260113-adding-b-dtsi-148714533f07
prerequisite-message-id: <[email protected]>
prerequisite-patch-id: 0c859b4d131b3360875c795c6148c6176b55fb91
prerequisite-patch-id: 2ed98dc1ab0f5ed923cc252415c345dc8caf6f17
prerequisite-patch-id: 1be1a031763fac029076a768f012af31e455be66
prerequisite-patch-id: 21bb8387c946e050910440e7a7622305d46d946d
prerequisite-patch-id: f3bdc2c74b230663710086bd770a755d56cb8b9c
prerequisite-patch-id: 1f162c02f8bdb5bbc8ce52ead4fcb76258f5c2b9
prerequisite-patch-id: 76e1ff26c2f1fe4019cfa574942b568000e6ca1f
prerequisite-patch-id: 77ddc9e5dc85495adc803cdc605bdda2ddc7fa47
prerequisite-patch-id: a75c798383b46a14d40436357c769c3671184768
prerequisite-patch-id: 781fc10dcae2c38c84c25bee887ef7474786dd36
prerequisite-patch-id: 5be5d3e62aa73024bf9e1de6aad155be6d618f40

Best regards,

Signature · 1 line
Guodong Xu <[email protected]>