Re: [PATCH] RISC-V: Define get_cycles64() regardless of M-mode

2020-11-25 Thread Atish Patra
On Wed, Nov 25, 2020 at 11:58 AM Palmer Dabbelt wrote: > > From: Palmer Dabbelt > > The timer driver uses get_cycles64() unconditionally to obtain the current > time. A recent refactoring lost the common definition for some configs, which > is now the only one we need. > > Fixes: d5be89a8d118 ("

[PATCH] RISC-V: Define get_cycles64() regardless of M-mode

2020-11-25 Thread Palmer Dabbelt
From: Palmer Dabbelt The timer driver uses get_cycles64() unconditionally to obtain the current time. A recent refactoring lost the common definition for some configs, which is now the only one we need. Fixes: d5be89a8d118 ("RISC-V: Resurrect the MMIO timer implementation for M-mode systems")