[PATCH 01/28] riscv: abstract envcfg CSR