diff options
| author | Anup Patel <[email protected]> | 2020-08-17 12:42:49 +0000 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2020-08-20 17:57:29 +0000 |
| commit | 2ac6795fcc085e8d03649f1bbd0d70aaff612cad (patch) | |
| tree | dfefdd222a88f7c4fae17de7affd5c954a42dd91 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | |
| parent | RISC-V: Add mechanism to provide custom IPI operations (diff) | |
| download | kernel-2ac6795fcc085e8d03649f1bbd0d70aaff612cad.tar.gz kernel-2ac6795fcc085e8d03649f1bbd0d70aaff612cad.zip | |
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 <[email protected]>
Tested-by: Emil Renner Berhing <[email protected]>
Acked-by: Daniel Lezcano <[email protected]>
Reviewed-by: Atish Patra <[email protected]>
Reviewed-by: Palmer Dabbelt <[email protected]>
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions
