Skip to content

Commit 6710e07

Browse files
Merge patch series "riscv,isa fixups"
Conor Dooley <[email protected]> says: From: Conor Dooley <[email protected]> I noticed ~today~ while looking at the isa manual that I had not accounted for another couple of edge cases with my regex. As before, I think attempting to validate the canonical order for multiletter stuff makes no sense - but we should totally try to avoid false-positives for combinations that are known to be valid. * b4-shazam-merge: dt-bindings: riscv: fix single letter canonical order dt-bindings: riscv: fix underscore requirement for multi-letter extensions Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
2 parents b9b916a + a943385 commit 6710e07

File tree

1 file changed

+1
-1
lines changed
  • Documentation/devicetree/bindings/riscv

1 file changed

+1
-1
lines changed

Documentation/devicetree/bindings/riscv/cpus.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ properties:
8383
insensitive, letters in the riscv,isa string must be all
8484
lowercase to simplify parsing.
8585
$ref: "/schemas/types.yaml#/definitions/string"
86-
pattern: ^rv(?:64|32)imaf?d?q?c?b?v?k?h?(?:_[hsxz](?:[a-z])+)*$
86+
pattern: ^rv(?:64|32)imaf?d?q?c?b?k?j?p?v?h?(?:[hsxz](?:[a-z])+)?(?:_[hsxz](?:[a-z])+)*$
8787

8888
# RISC-V requires 'timebase-frequency' in /cpus, so disallow it here
8989
timebase-frequency: false

0 commit comments

Comments
 (0)