diff options
author | Birger Koblitz <git@birger-koblitz.de> | 2022-01-06 20:27:01 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2022-02-17 15:21:47 +0000 |
commit | 775d903216a08c2a8009863d2f9c33f62657ba94 (patch) | |
tree | b16ff251bb9024bbdfa098d77277556c48952546 /target/linux/realtek/rtl838x | |
parent | 0536c582e673aa292377f4b8cb11002238a39d32 (diff) | |
download | upstream-775d903216a08c2a8009863d2f9c33f62657ba94.tar.gz upstream-775d903216a08c2a8009863d2f9c33f62657ba94.tar.bz2 upstream-775d903216a08c2a8009863d2f9c33f62657ba94.zip |
realtek: Replace the RTL9300 generic timer with a CEVT timer
The RTL9300 has a broken R4K MIPS timer interrupt, however, the
R4K clocksource works. We replace the RTL9300 timer with a
Clock Event Timer (CEVT), which is VSMP aware and can be instantiated
as part of brining a VSMTP cpu up instead of the R4K CEVT source.
For this we place the RTL9300 CEVT timer in arch/mips/kernel
together with other MIPS CEVT timers, initialize the SoC IRQs
from a modified smp-mt.c and instantiate each timer as part
of the MIPS time setup in arch/mips/include/asm/time.h instead
of the R4K CEVT, similarly as is done by other MIPS CEVT timers.
Signed-off-by: Birger Koblitz <git@birger-koblitz.de>
Diffstat (limited to 'target/linux/realtek/rtl838x')
0 files changed, 0 insertions, 0 deletions