Anup Patel
2ac6795fcc
clocksource/drivers: Add CLINT timer driver
...
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, CLINT provides IPI registers along with
timer registers. To use CLINT IPI registers, the CLINT timer driver
provides IPI related callbacks to arch/riscv.
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Tested-by: Emil Renner Berhing <kernel@esmil.dk>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
2020-08-20 10:57:29 -07:00
..
2019-06-19 17:09:07 +02:00
2020-05-22 23:58:56 +02:00
2020-07-08 21:57:51 +01:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:29:22 -07:00
2019-11-04 10:40:10 +01:00
2020-02-27 12:15:24 +01:00
2020-02-27 12:15:24 +01:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:29:22 -07:00
2019-05-30 11:26:32 -07:00
2019-06-19 17:09:55 +02:00
2020-05-23 00:02:59 +02:00
2020-05-23 00:02:41 +02:00
2020-01-16 19:06:57 +01:00
2020-02-27 12:15:24 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2020-03-30 18:51:47 -07:00
2018-11-04 11:04:46 +01:00
2020-02-27 09:37:29 +01:00
2020-07-23 16:58:09 +02:00
2020-07-23 16:57:19 +02:00
2017-06-14 11:58:45 +02:00
2020-08-20 10:57:29 -07:00
2020-08-20 10:57:29 -07:00
2020-05-23 00:03:16 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2020-02-27 12:15:24 +01:00
2020-07-23 16:57:43 +02:00
2019-06-05 17:36:37 +02:00
2019-11-04 10:38:46 +01:00
2020-02-27 12:15:24 +01:00
2019-05-30 11:26:32 -07:00
2020-07-23 16:57:43 +02:00
2020-01-06 09:45:59 +01:00
2020-01-06 09:45:59 +01:00
2018-10-03 14:37:02 +02:00
2018-07-26 11:26:30 +02:00
2020-02-27 12:15:24 +01:00
2019-06-19 17:09:55 +02:00
2020-04-15 10:57:15 +02:00
2020-07-11 18:58:24 +02:00
2020-01-16 19:06:57 +01:00
2020-08-20 10:57:29 -07:00
2020-03-12 19:23:06 +01:00
2020-04-09 12:13:20 +02:00
2017-06-14 11:58:45 +02:00
2020-02-27 12:15:24 +01:00
2020-02-27 12:15:24 +01:00
2020-02-21 09:28:38 +01:00
2018-11-02 19:41:12 +01:00
2020-02-27 12:15:24 +01:00
2020-03-17 10:11:45 +01:00
2020-04-09 16:24:50 +02:00
2020-02-27 12:15:24 +01:00
2019-06-25 19:49:18 +02:00
2019-06-19 17:09:55 +02:00
2018-10-03 14:37:02 +02:00
2019-10-16 17:04:50 +02:00
2020-02-27 12:15:24 +01:00
2020-03-16 11:19:37 +01:00
2019-05-02 21:55:58 +02:00
2018-12-31 23:17:23 +08:00
2019-08-27 00:31:39 +02:00
2017-06-14 11:58:45 +02:00
2019-11-04 18:49:13 +01:00
2018-01-08 17:57:24 +01:00
2020-02-27 12:15:24 +01:00
2020-02-27 09:42:00 +01:00
2019-05-30 11:29:52 -07:00
2018-10-03 14:37:02 +02:00
2020-02-27 12:15:24 +01:00
2020-03-28 11:25:44 +01:00
2020-02-27 12:15:24 +01:00
2019-06-05 17:36:37 +02:00
2018-12-18 22:22:23 +01:00
2020-06-09 19:11:22 -07:00
2019-06-19 17:09:55 +02:00
2020-02-27 12:15:24 +01:00
2017-11-02 11:10:55 +01:00
2018-07-26 11:26:34 +02:00
2020-06-18 11:19:58 +01:00
2019-05-30 11:29:22 -07:00
2019-08-27 00:31:39 +02:00
2019-02-23 12:13:45 +01:00
2019-02-23 12:13:45 +01:00
2019-06-25 19:49:18 +02:00
2020-07-23 16:57:43 +02:00
2020-07-21 15:48:33 +02:00
2020-07-23 16:57:43 +02:00
2020-02-27 12:15:24 +01:00
2020-05-23 00:03:25 +02:00
2020-04-05 09:24:58 +02:00
2020-02-27 12:15:24 +01:00
2020-02-27 12:15:24 +01:00