RISC-V: rework comments in ISA string parser
authorConor Dooley <conor.dooley@microchip.com>
Wed, 7 Jun 2023 20:28:28 +0000 (21:28 +0100)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 21 Jun 2023 14:45:16 +0000 (07:45 -0700)
commit6b913e3da87da1be57096c068b4d2e7d4b31f457
treec1dfb3a28c4b67fdc4daddd4b65b30082e4cd132
parent069b0d51707721d5ab2001df866b66b82e4c1c35
RISC-V: rework comments in ISA string parser

I have found these comments to not be at all helpful whenever I look at
the parser. Further, the comments in the default case (single letter
parser) are not quite right either.
Group the comments into a larger one at the start of each case, that
attempts to explain things at a higher level.

Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230607-headpiece-tannery-83ed5cc4856a@spud
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/kernel/cpufeature.c