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

2020-08-20 Thread Bin Meng
On Wed, Jul 29, 2020 at 5:56 PM Sean Anderson wrote: > > The riscv-timer driver currently serves as a shim for several riscv timer > drivers. This is not too desirable because it bypasses the usual timer > selection via the driver model. There is no easy way to specify an > alternate timing driver

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

2020-07-29 Thread Sean Anderson
The riscv-timer driver currently serves as a shim for several riscv timer drivers. This is not too desirable because it bypasses the usual timer selection via the driver model. There is no easy way to specify an alternate timing driver, or have the tick rate depend on the cpu's configured frequency