]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
riscv: dts: anlogic: dr1v90: Add "b" ISA extension
authorGuodong Xu <guodong@riscstar.com>
Wed, 14 Jan 2026 23:18:58 +0000 (07:18 +0800)
committerConor Dooley <conor.dooley@microchip.com>
Mon, 19 Jan 2026 09:58:30 +0000 (09:58 +0000)
"b" is ratified (Apr/2024) much later than its components zba/zbb/zbs
(Jun/2021). With "b" added into riscv/extensions.yaml, a dependency
checking rule is now enforced, which requires that when zba, zbb, and zbs
are all specified, "b" must be added as well. Failing to do this will
cause dtbs_check schema check warnings.

According to uabi.rst, as a single-letter extension, "b" should be added
after "c" in canonical order.

Update dr1v90.dtsi to conform to this rule. Line balancing is performed
to improve readability.

Signed-off-by: Guodong Xu <guodong@riscstar.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
arch/riscv/boot/dts/anlogic/dr1v90.dtsi

index a5d0765ade3231ece0afbe8835d95cd918a44ad9..9fe183f5f5c8d3a51ef38384ea11147637aff8cd 100644 (file)
@@ -27,8 +27,9 @@
                        mmu-type = "riscv,sv39";
                        reg = <0>;
                        riscv,isa-base = "rv64i";
-                       riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "zba", "zbb", "zbc",
-                                              "zbkc", "zbs", "zicntr", "zicsr", "zifencei",
+                       riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "b",
+                                              "zba", "zbb", "zbc", "zbkc", "zbs",
+                                              "zicntr", "zicsr", "zifencei",
                                               "zihintpause", "zihpm";
 
                        cpu0_intc: interrupt-controller {