Re: SMP and clock

From: Mori Hiroki <yamori813_at_yahoo.co.jp>
Date: Sat, 15 Feb 2025 04:10:33 UTC
Hi

This is my misunderstanding. Every core get self CP0 timer compare interrupt.

I found this log.

https://dmesgd.nycbug.org/index.cgi?do=view&id=3842

This kernel have other timecounter.

I also make timecounter by soc timer.

I have fixed problem.

I seem timcounter in tick.c is not compatible SMP.

Hiroki Mori

> ----- Original Message -----
> 
> From: "や もり" <yamori813@yahoo.co.jp>
> To: "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>
> Date: 2025/02/12 水 09:10
> Subject: SMP and clock
> 
> 
> Hi
> 
> I try SMP on Mediatek MT7621.
> 
> This SOC is 1004K core and 4 thread. Interrupt controller is GIC.
> 
> This SOC is MIPS clock interrupt only get core0.
> 
> I seem FreeBSD SMP support need clock interrupt every core.
> 
> How do I implement SMP on this SOC ?
> 
> Thanks
> 
> Hiroki Mori
> 
> 
>