Skip to content

Commit a65e0f6

Browse files
clementlegerAlexandre Ghiti
authored andcommitted
dt-bindings: riscv: add Zaamo and Zalrsc ISA extension description
Add description for the Zaamo and Zalrsc ISA extension[1]. Link: https://github.com/riscv/riscv-zaamo-zalrsc [1] Signed-off-by: Clément Léger <cleger@rivosinc.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20240619153913.867263-2-cleger@rivosinc.com Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
1 parent 67a5ba8 commit a65e0f6

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Documentation/devicetree/bindings/riscv/extensions.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,12 @@ properties:
224224
as ratified at commit 4a69197e5617 ("Update to ratified state") of
225225
riscv-svvptc.
226226

227+
- const: zaamo
228+
description: |
229+
The standard Zaamo extension for atomic memory operations as
230+
ratified at commit e87412e621f1 ("integrate Zaamo and Zalrsc text
231+
(#1304)") of the unprivileged ISA specification.
232+
227233
- const: zabha
228234
description: |
229235
The Zabha extension for Byte and Halfword Atomic Memory Operations
@@ -236,6 +242,12 @@ properties:
236242
is supported as ratified at commit 5059e0ca641c ("update to
237243
ratified") of the riscv-zacas.
238244
245+
- const: zalrsc
246+
description: |
247+
The standard Zalrsc extension for load-reserved/store-conditional as
248+
ratified at commit e87412e621f1 ("integrate Zaamo and Zalrsc text
249+
(#1304)") of the unprivileged ISA specification.
250+
239251
- const: zawrs
240252
description: |
241253
The Zawrs extension for entering a low-power state or for trapping
@@ -718,6 +730,13 @@ properties:
718730
const: zfbfmin
719731
- contains:
720732
const: zvfbfmin
733+
# Zacas depends on Zaamo
734+
- if:
735+
contains:
736+
const: zacas
737+
then:
738+
contains:
739+
const: zaamo
721740

722741
allOf:
723742
# Zcf extension does not exist on rv64

0 commit comments

Comments
 (0)