Skip to content

Commit 41ebfc9

Browse files
ConchuODpalmer-dabbelt
authored andcommitted
dt-bindings: riscv: explicitly mention assumption of Zicsr & Zifencei support
The dt-binding was defined before the extraction of csr access and fence.i into their own extensions, and thus the presence of the I base extension implies Zicsr and Zifencei. There's no harm in adding them obviously, but for backwards compatibility with DTs that existed prior to that extraction, software is unable to differentiate between "i" and "i_zicsr_zifencei" without any further information. Signed-off-by: Conor Dooley <conor.dooley@microchip.com> Acked-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20230427-fence-blurred-c92fb69d4137@wendy Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
1 parent f9c4bbd commit 41ebfc9

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • Documentation/devicetree/bindings/riscv

Documentation/devicetree/bindings/riscv/cpus.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,12 @@ properties:
8686
User-Level ISA document, available from
8787
https://riscv.org/specifications/
8888

89+
Due to revisions of the ISA specification, some deviations
90+
have arisen over time.
91+
Notably, riscv,isa was defined prior to the creation of the
92+
Zicsr and Zifencei extensions and thus "i" implies
93+
"zicsr_zifencei".
94+
8995
While the isa strings in ISA specification are case
9096
insensitive, letters in the riscv,isa string must be all
9197
lowercase to simplify parsing.

0 commit comments

Comments
 (0)