I think this should be merged with the next patch. Also please only add the CSRs that we actually use.
- [PATCH 0/3] Allow accessing CSR using CSR number Anup Patel
- [PATCH 3/3] RISC-V: Access CSRs using CSR numbers Anup Patel
- Re: [PATCH 3/3] RISC-V: Access CSRs using CSR n... Christoph Hellwig
- [PATCH 1/3] RISC-V: Add separate asm/encoding.h for... Anup Patel
- Re: [PATCH 1/3] RISC-V: Add separate asm/encodi... Christoph Hellwig
- [PATCH 2/3] RISC-V: Add defines for CSR numbers Anup Patel
- Re: [PATCH 2/3] RISC-V: Add defines for CSR num... Christoph Hellwig