aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/patches-5.10/309-cevt-rtl9300-support.patch
Commit message (Collapse)AuthorAgeFilesLines
* realtek: Replace the RTL9300 generic timer with a CEVT timerBirger Koblitz2022-02-171-0/+54
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>