Re: [PATCH v3 0/4] Dedicated CLINT timer driver

2020-07-15 Thread Emil Renner Berthing
On Wed, 15 Jul 2020 at 09:15, Anup Patel wrote: > The current RISC-V timer driver is convoluted and implements two > distinct timers: > 1. S-mode timer: This is for Linux RISC-V S-mode with MMU. The > clocksource is implemented using TIME CSR and clockevent device > is implemented using S

[PATCH v3 0/4] Dedicated CLINT timer driver

2020-07-15 Thread Anup Patel
The current RISC-V timer driver is convoluted and implements two distinct timers: 1. S-mode timer: This is for Linux RISC-V S-mode with MMU. The clocksource is implemented using TIME CSR and clockevent device is implemented using SBI Timer calls. 2. M-mode timer: This is for Linux RISC-V