CVSROOT:        /cvs
Module name:    src
Changes by:     v...@cvs.openbsd.org    2020/07/11 09:18:08

Modified files:
        sys/arch/mips64/include: cpu.h 
        sys/arch/mips64/mips64: cpu.c mips64_machdep.c 
        sys/arch/octeon/include: octeonreg.h 
        sys/arch/octeon/octeon: locore.S machdep.c 

Log message:
Synchronize each core's CP0 cycle counter using the IO clock counter.
This makes the cycle counter usable as timecounter on multiprocessor
machines.

Idea from Linux.

Tested on CN5020, CN6120, CN7130 and CN7360.

Looks reasonable to kettenis@

Reply via email to