Skip to content

Commit e0776dd

Browse files
docularxuPaul Walmsley
authored andcommitted
dt-bindings: riscv: sort multi-letter Z extensions alphanumerically
The multi-letter extension enum is documented as being sorted alphanumerically (see the "multi-letter extensions, sorted alphanumerically" comment), but several Z entries have drifted out of order. Reorder the affected entries so the multi-letter Z list is sorted alphanumerically again. Acked-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: Guodong Xu <docular.xu@gmail.com> Link: https://patch.msgid.link/20260701-rva23u64-hwprobe-v2-v5-1-2c61f94a695a@gmail.com Signed-off-by: Paul Walmsley <pjw@kernel.org>
1 parent 70b439e commit e0776dd

1 file changed

Lines changed: 92 additions & 92 deletions

File tree

Documentation/devicetree/bindings/riscv/extensions.yaml

Lines changed: 92 additions & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,13 @@ properties:
457457
merged in the riscv-isa-manual by commit dbc79cf28a2 ("Initial seed
458458
of zc.adoc to src tree.").
459459
460+
- const: zclsd
461+
description:
462+
The Zclsd extension implements the compressed (16-bit) version of the
463+
Load/Store Pair for RV32. As with Zilsd, this extension was ratified
464+
in commit f88abf1 ("Integrating load/store pair for RV32 with the
465+
main manual") of riscv-isa-manual.
466+
460467
- const: zcmop
461468
description:
462469
The standard Zcmop extension version 1.0, as ratified in commit
@@ -487,6 +494,22 @@ properties:
487494
in commit 64074bc ("Update version numbers for Zfh/Zfinx") of
488495
riscv-isa-manual.
489496

497+
- const: zicbom
498+
description:
499+
The standard Zicbom extension for base cache management operations as
500+
ratified in commit 3dd606f ("Create cmobase-v1.0.pdf") of riscv-CMOs.
501+
502+
- const: zicbop
503+
description:
504+
The standard Zicbop extension for cache-block prefetch instructions
505+
as ratified in commit 3dd606f ("Create cmobase-v1.0.pdf") of
506+
riscv-CMOs.
507+
508+
- const: zicboz
509+
description:
510+
The standard Zicboz extension for cache-block zeroing as ratified
511+
in commit 3dd606f ("Create cmobase-v1.0.pdf") of riscv-CMOs.
512+
490513
- const: ziccamoa
491514
description:
492515
The standard Ziccamoa extension for main memory (cacheability and
@@ -514,19 +537,77 @@ properties:
514537
guarantee on LR/SC sequences, as ratified in commit b1d806605f87
515538
("Updated to ratified state.") of the riscv profiles specification.
516539

540+
- const: zicfilp
541+
description: |
542+
The standard Zicfilp extension for enforcing forward edge
543+
control-flow integrity as ratified in commit 3f8e450 ("merge
544+
pull request #227 from ved-rivos/0709") of riscv-cfi
545+
github repo.
546+
547+
- const: zicfiss
548+
description: |
549+
The standard Zicfiss extension for enforcing backward edge
550+
control-flow integrity as ratified in commit 3f8e450 ("merge
551+
pull request #227 from ved-rivos/0709") of riscv-cfi
552+
github repo.
553+
554+
- const: zicntr
555+
description:
556+
The standard Zicntr extension for base counters and timers, as
557+
ratified in the 20191213 version of the unprivileged ISA
558+
specification.
559+
560+
- const: zicond
561+
description:
562+
The standard Zicond extension for conditional arithmetic and
563+
conditional-select/move operations as ratified in commit 95cf1f9
564+
("Add changes requested by Ved during signoff") of riscv-zicond.
565+
566+
- const: zicsr
567+
description: |
568+
The standard Zicsr extension for control and status register
569+
instructions, as ratified in the 20191213 version of the
570+
unprivileged ISA specification.
571+
572+
This does not include Chapter 10, "Counters", which documents
573+
special case read-only CSRs, that were moved into the Zicntr and
574+
Zihpm extensions after the ratification of the 20191213 version of
575+
the unprivileged specification.
576+
577+
- const: zifencei
578+
description:
579+
The standard Zifencei extension for instruction-fetch fence, as
580+
ratified in the 20191213 version of the unprivileged ISA
581+
specification.
582+
583+
- const: zihintntl
584+
description:
585+
The standard Zihintntl extension for non-temporal locality hints, as
586+
ratified in commit 0dc91f5 ("Zihintntl is ratified") of the
587+
riscv-isa-manual.
588+
589+
- const: zihintpause
590+
description:
591+
The standard Zihintpause extension for pause hints, as ratified in
592+
commit d8ab5c7 ("Zihintpause is ratified") of the riscv-isa-manual.
593+
594+
- const: zihpm
595+
description:
596+
The standard Zihpm extension for hardware performance counters, as
597+
ratified in the 20191213 version of the unprivileged ISA
598+
specification.
599+
517600
- const: zilsd
518601
description:
519602
The standard Zilsd extension which provides support for aligned
520603
register-pair load and store operations in 32-bit instruction
521604
encodings, as ratified in commit f88abf1 ("Integrating
522605
load/store pair for RV32 with the main manual") of riscv-isa-manual.
523606

524-
- const: zclsd
607+
- const: zimop
525608
description:
526-
The Zclsd extension implements the compressed (16-bit) version of the
527-
Load/Store Pair for RV32. As with Zilsd, this extension was ratified
528-
in commit f88abf1 ("Integrating load/store pair for RV32 with the
529-
main manual") of riscv-isa-manual.
609+
The standard Zimop extension version 1.0, as ratified in commit
610+
58220614a5f ("Zimop is ratified/1.0") of the riscv-isa-manual.
530611

531612
- const: zk
532613
description:
@@ -590,87 +671,6 @@ properties:
590671
in version 1.0 of RISC-V Cryptography Extensions Volume I
591672
specification.
592673

593-
- const: zicbom
594-
description:
595-
The standard Zicbom extension for base cache management operations as
596-
ratified in commit 3dd606f ("Create cmobase-v1.0.pdf") of riscv-CMOs.
597-
598-
- const: zicbop
599-
description:
600-
The standard Zicbop extension for cache-block prefetch instructions
601-
as ratified in commit 3dd606f ("Create cmobase-v1.0.pdf") of
602-
riscv-CMOs.
603-
604-
- const: zicboz
605-
description:
606-
The standard Zicboz extension for cache-block zeroing as ratified
607-
in commit 3dd606f ("Create cmobase-v1.0.pdf") of riscv-CMOs.
608-
609-
- const: zicfilp
610-
description: |
611-
The standard Zicfilp extension for enforcing forward edge
612-
control-flow integrity as ratified in commit 3f8e450 ("merge
613-
pull request #227 from ved-rivos/0709") of riscv-cfi
614-
github repo.
615-
616-
- const: zicfiss
617-
description: |
618-
The standard Zicfiss extension for enforcing backward edge
619-
control-flow integrity as ratified in commit 3f8e450 ("merge
620-
pull request #227 from ved-rivos/0709") of riscv-cfi
621-
github repo.
622-
623-
- const: zicntr
624-
description:
625-
The standard Zicntr extension for base counters and timers, as
626-
ratified in the 20191213 version of the unprivileged ISA
627-
specification.
628-
629-
- const: zicond
630-
description:
631-
The standard Zicond extension for conditional arithmetic and
632-
conditional-select/move operations as ratified in commit 95cf1f9
633-
("Add changes requested by Ved during signoff") of riscv-zicond.
634-
635-
- const: zicsr
636-
description: |
637-
The standard Zicsr extension for control and status register
638-
instructions, as ratified in the 20191213 version of the
639-
unprivileged ISA specification.
640-
641-
This does not include Chapter 10, "Counters", which documents
642-
special case read-only CSRs, that were moved into the Zicntr and
643-
Zihpm extensions after the ratification of the 20191213 version of
644-
the unprivileged specification.
645-
646-
- const: zifencei
647-
description:
648-
The standard Zifencei extension for instruction-fetch fence, as
649-
ratified in the 20191213 version of the unprivileged ISA
650-
specification.
651-
652-
- const: zihintpause
653-
description:
654-
The standard Zihintpause extension for pause hints, as ratified in
655-
commit d8ab5c7 ("Zihintpause is ratified") of the riscv-isa-manual.
656-
657-
- const: zihintntl
658-
description:
659-
The standard Zihintntl extension for non-temporal locality hints, as
660-
ratified in commit 0dc91f5 ("Zihintntl is ratified") of the
661-
riscv-isa-manual.
662-
663-
- const: zihpm
664-
description:
665-
The standard Zihpm extension for hardware performance counters, as
666-
ratified in the 20191213 version of the unprivileged ISA
667-
specification.
668-
669-
- const: zimop
670-
description:
671-
The standard Zimop extension version 1.0, as ratified in commit
672-
58220614a5f ("Zimop is ratified/1.0") of the riscv-isa-manual.
673-
674674
- const: ztso
675675
description:
676676
The standard Ztso extension for total store ordering, as ratified
@@ -809,18 +809,18 @@ properties:
809809
instructions, as ratified in commit 56ed795 ("Update
810810
riscv-crypto-spec-vector.adoc") of riscv-crypto.
811811
812-
- const: zvksh
813-
description: |
814-
The standard Zvksh extension for ShangMi suite: SM3 secure hash
815-
instructions, as ratified in commit 56ed795 ("Update
816-
riscv-crypto-spec-vector.adoc") of riscv-crypto.
817-
818812
- const: zvksg
819813
description:
820814
The standard Zvksg extension for ShangMi algorithm suite with GCM
821815
instructions, as ratified in commit 56ed795 ("Update
822816
riscv-crypto-spec-vector.adoc") of riscv-crypto.
823817

818+
- const: zvksh
819+
description: |
820+
The standard Zvksh extension for ShangMi suite: SM3 secure hash
821+
instructions, as ratified in commit 56ed795 ("Update
822+
riscv-crypto-spec-vector.adoc") of riscv-crypto.
823+
824824
- const: zvkt
825825
description:
826826
The standard Zvkt extension for vector data-independent execution

0 commit comments

Comments
 (0)