Documentation: riscv: add a section about ISA string ordering in /proc/cpuinfo
authorConor Dooley <conor.dooley@microchip.com>
Mon, 5 Dec 2022 14:45:26 +0000 (14:45 +0000)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 18 Jan 2023 06:05:33 +0000 (22:05 -0800)
commitf07b2b3f9d47fea308af3ae05613b6b4801e68a3
tree9261f2c931cb0639cc1019dfd1c4ed7a9bd663ba
parent80c200b34ee8a0a3378d2073bd8eaae09651c60e
Documentation: riscv: add a section about ISA string ordering in /proc/cpuinfo

The RISC-V specs are permissive in what they allow as the ISA string,
but how we output this to userspace in /proc/cpuinfo is quasi uABI.

Formalise this as part of the uABI, by documenting the list of rules
we use at this point in time.

Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20221205144525.2148448-4-conor.dooley@microchip.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Documentation/riscv/uabi.rst