[PATCH v2 1/7] riscv: Rework riscv timer driver to only support S-mode