Re: [PATCH v4 2/4] clocksource/drivers: Add CLINT timer driver

2020-07-21 Thread Anup Patel
On Tue, Jul 21, 2020 at 5:45 PM Daniel Lezcano wrote: > > On 21/07/2020 13:49, Anup Patel wrote: > > On Tue, Jul 21, 2020 at 4:32 PM Daniel Lezcano > > wrote: > >> > >> On 17/07/2020 09:50, Anup Patel wrote: > >>> We add a separate CLINT timer driver for Linux RISC-V M-mode (i.e. > >>> RISC-V

Re: [PATCH v4 2/4] clocksource/drivers: Add CLINT timer driver

2020-07-21 Thread Atish Patra
On Tue, Jul 21, 2020 at 4:44 AM Anup Patel wrote: > > On Tue, Jul 21, 2020 at 6:41 AM Atish Patra wrote: > > > > On Fri, Jul 17, 2020 at 12:52 AM Anup Patel wrote: > > > > > > We add a separate CLINT timer driver for Linux RISC-V M-mode (i.e. > > > RISC-V NoMMU kernel). > > > > > > The CLINT

Re: [PATCH v4 2/4] clocksource/drivers: Add CLINT timer driver

2020-07-21 Thread Daniel Lezcano
On 21/07/2020 13:49, Anup Patel wrote: > On Tue, Jul 21, 2020 at 4:32 PM Daniel Lezcano > wrote: >> >> On 17/07/2020 09:50, Anup Patel wrote: >>> We add a separate CLINT timer driver for Linux RISC-V M-mode (i.e. >>> RISC-V NoMMU kernel). >>> >>> The CLINT MMIO device provides three things: >>>

Re: [PATCH v4 2/4] clocksource/drivers: Add CLINT timer driver

2020-07-21 Thread Anup Patel
On Tue, Jul 21, 2020 at 4:32 PM Daniel Lezcano wrote: > > On 17/07/2020 09:50, Anup Patel wrote: > > We add a separate CLINT timer driver for Linux RISC-V M-mode (i.e. > > RISC-V NoMMU kernel). > > > > The CLINT MMIO device provides three things: > > 1. 64bit free running counter register > > 2.

Re: [PATCH v4 2/4] clocksource/drivers: Add CLINT timer driver

2020-07-21 Thread Anup Patel
On Tue, Jul 21, 2020 at 6:41 AM Atish Patra wrote: > > On Fri, Jul 17, 2020 at 12:52 AM Anup Patel wrote: > > > > We add a separate CLINT timer driver for Linux RISC-V M-mode (i.e. > > RISC-V NoMMU kernel). > > > > The CLINT MMIO device provides three things: > > 1. 64bit free running counter

Re: [PATCH v4 2/4] clocksource/drivers: Add CLINT timer driver

2020-07-21 Thread Daniel Lezcano
On 17/07/2020 09:50, Anup Patel wrote: > We add a separate CLINT timer driver for Linux RISC-V M-mode (i.e. > RISC-V NoMMU kernel). > > The CLINT MMIO device provides three things: > 1. 64bit free running counter register > 2. 64bit per-CPU time compare registers > 3. 32bit per-CPU

Re: [PATCH v4 2/4] clocksource/drivers: Add CLINT timer driver

2020-07-20 Thread Atish Patra
On Fri, Jul 17, 2020 at 12:52 AM Anup Patel wrote: > > We add a separate CLINT timer driver for Linux RISC-V M-mode (i.e. > RISC-V NoMMU kernel). > > The CLINT MMIO device provides three things: > 1. 64bit free running counter register > 2. 64bit per-CPU time compare registers > 3. 32bit per-CPU

[PATCH v4 2/4] clocksource/drivers: Add CLINT timer driver

2020-07-17 Thread Anup Patel
We add a separate CLINT timer driver for Linux RISC-V M-mode (i.e. RISC-V NoMMU kernel). The CLINT MMIO device provides three things: 1. 64bit free running counter register 2. 64bit per-CPU time compare registers 3. 32bit per-CPU inter-processor interrupt registers Unlike other timer devices,