Searched hist:d5be89a8d118a8e8d09cd74a921a808f17fbdd09 (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/arch/riscv/include/asm/ |
H A D | clint.h | diff d5be89a8d118a8e8d09cd74a921a808f17fbdd09 Mon Sep 14 11:56:30 CDT 2020 Palmer Dabbelt <palmerdabbelt@google.com> RISC-V: Resurrect the MMIO timer implementation for M-mode systems
The K210 doesn't implement rdtime in M-mode, and since that's where Linux runs in the NOMMU systems that means we can't use rdtime. The K210 is the only system that anyone is currently running NOMMU or M-mode on, so here we're just inlining the timer read directly.
This also adds the CLINT driver as an !MMU dependency, as it's currently the only timer driver availiable for these systems and without it we get a build failure for some configurations.
Tested-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
|
H A D | timex.h | diff d5be89a8d118a8e8d09cd74a921a808f17fbdd09 Mon Sep 14 11:56:30 CDT 2020 Palmer Dabbelt <palmerdabbelt@google.com> RISC-V: Resurrect the MMIO timer implementation for M-mode systems
The K210 doesn't implement rdtime in M-mode, and since that's where Linux runs in the NOMMU systems that means we can't use rdtime. The K210 is the only system that anyone is currently running NOMMU or M-mode on, so here we're just inlining the timer read directly.
This also adds the CLINT driver as an !MMU dependency, as it's currently the only timer driver availiable for these systems and without it we get a build failure for some configurations.
Tested-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
|
/openbmc/linux/drivers/clocksource/ |
H A D | timer-clint.c | diff d5be89a8d118a8e8d09cd74a921a808f17fbdd09 Mon Sep 14 11:56:30 CDT 2020 Palmer Dabbelt <palmerdabbelt@google.com> RISC-V: Resurrect the MMIO timer implementation for M-mode systems
The K210 doesn't implement rdtime in M-mode, and since that's where Linux runs in the NOMMU systems that means we can't use rdtime. The K210 is the only system that anyone is currently running NOMMU or M-mode on, so here we're just inlining the timer read directly.
This also adds the CLINT driver as an !MMU dependency, as it's currently the only timer driver availiable for these systems and without it we get a build failure for some configurations.
Tested-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
|
/openbmc/linux/arch/riscv/ |
H A D | Kconfig | diff d5be89a8d118a8e8d09cd74a921a808f17fbdd09 Mon Sep 14 11:56:30 CDT 2020 Palmer Dabbelt <palmerdabbelt@google.com> RISC-V: Resurrect the MMIO timer implementation for M-mode systems
The K210 doesn't implement rdtime in M-mode, and since that's where Linux runs in the NOMMU systems that means we can't use rdtime. The K210 is the only system that anyone is currently running NOMMU or M-mode on, so here we're just inlining the timer read directly.
This also adds the CLINT driver as an !MMU dependency, as it's currently the only timer driver availiable for these systems and without it we get a build failure for some configurations.
Tested-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
|