diff options
author | Conor Dooley <conor.dooley@microchip.com> | 2022-12-05 18:44:59 +0100 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2023-01-06 19:31:09 +0100 |
commit | ec64efc4966edf19fa1bc398a26bddfbadc1605f (patch) | |
tree | fcbf016b4b2f81a2b67e8fc53f0978ad76dbaa15 /mm/page_idle.c | |
parent | Linux 6.1-rc1 (diff) | |
download | linux-ec64efc4966edf19fa1bc398a26bddfbadc1605f.tar.xz linux-ec64efc4966edf19fa1bc398a26bddfbadc1605f.zip |
dt-bindings: riscv: fix underscore requirement for multi-letter extensions
The RISC-V ISA Manual allows the first multi-letter extension to avoid
a leading underscore. Underscores are only required between multi-letter
extensions.
The dt-binding does not validate that a multi-letter extension is
canonically ordered, as that'd need an even worse regex than is here,
but it should not fail validation for valid ISA strings.
Allow the first multi-letter extension to appear immediately after
the single-letter extensions.
Link: https://github.com/riscv/riscv-isa-manual/releases/tag/riscv-unpriv-pdf-from-asciidoc-15112022 # Chapter 29.5
Fixes: 299824e68bd0 ("dt-bindings: riscv: add new riscv,isa strings for emulators")
Acked-by: Guo Ren <guoren@kernel.org>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com>
Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
Link: https://lore.kernel.org/r/20221205174459.60195-2-conor@kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'mm/page_idle.c')
0 files changed, 0 insertions, 0 deletions