Skip to content

Handle multi-letter extensions starting with caps in riscv,isa

Conor Dooley linux-devicetree linux-riscv 1 version In review

Get series with b4
b4 am 20230426-satin-avenging-086d4e79a8dd@wendy

Versions newest first

  1. v1 Latest2 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2RISC-V: skip parsing multi-letter extensions starting with capsarch/riscv/kernel/cpufeature.c+14 -310 replies
2/2dt-bindings: riscv: drop invalid comment about riscv,isa lower-case reasoningDocumentation/devicetree/bindings/riscv/cpus.yaml+1 -12 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchAndrew JonesRob Herring
1/2
2/2R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 0/2] Handle multi-letter extensions starting with caps in riscv,isa

Hey,

Following on from [1] in which Yangyu reported kernel panics for a riscv,isa string containing "rv64ima_Zifencei", as the parser got confused by the capital letter, here's a small change to the parser to handle invalid extensions starting with capital & the removal of some inaccurate wording from the dt-binding.

Cheers,
Conor.

1 - https://lore.kernel.org/all/[email protected]/

CC Paul Walmsley <[email protected]>
CC Palmer Dabbelt <[email protected]>
CC Rob Herring <[email protected]>
CC Krzysztof Kozlowski <[email protected]>
CC Wende Tan <[email protected]>
CC Soha Jin <[email protected]>
CC Hongren Zheng <[email protected]>
CC Yangyu Chen <[email protected]>

Conor Dooley (2):
RISC-V: skip parsing multi-letter extensions starting with caps
dt-bindings: riscv: drop invalid comment about riscv,isa lower-case
reasoning

 .../devicetree/bindings/riscv/cpus.yaml         |  2 +-
 arch/riscv/kernel/cpufeature.c                  | 17 ++++++++++++++---
 2 files changed, 15 insertions(+), 4 deletions(-)
Signature · 7 lines
2.39.2


_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv