Re: [PATCH 1/7] MIPS: sync-r4k: Rework to be many cores firendly

2020-08-17 Thread peterz
On Mon, Aug 17, 2020 at 11:46:40AM +0800, Jiaxun Yang wrote: > Here we reworked the whole procdure. Now the synchronise event on CPU0 > is triggered by smp call function, and we won't touch the count on CPU0 > at all. Are you telling me, that in 2020 you're building chips that need horrible crap l

[PATCH 1/7] MIPS: sync-r4k: Rework to be many cores firendly

2020-08-16 Thread Jiaxun Yang
The original sync-r4k did a good job on reducing jitter by determine the "next time value", but it has a limitation that when we have lots of cores, the timewrap on CPU0 will become unaccpetable. That will also happen when CPU Hotplug is enabled and the counter needs to be synchronised at every plu