Smp fail information[solved]

[ 0.000992] smp: Bringing up secondary CPUs …
[ 1.057750] CPU1: failed to come online

i rebuild the os(linux 5.4.2), using opensbi directly, without uboot.
single core works perfectly, but smp failed…
no idea now!
can anyone give any help?

BTW:

cat possible

0-3

cat offline

1-3

another question:
can’t opensbi boot smp directly ?

thanks

I’m having the same issue with 5.6-rc6. Have you applied any patches?

something wrong with smp activation. irq can’t be sent to cpu. just fix smp boot code directly

Can you share how you fixed this issue? I’m having the same issue with 5.6

too long ago, u search for smp boot code that active core from wfi status . only several codes in that function , which just send irq to cores(except boot one) .
btw, i suggest you update your opensbi to solve this problem.

Maybe this is the same problem as this?
https://github.com/riscv/opensbi/issues/150
In that case it was due to mismatched opensbi and linux kernel versions.

sounds same… sugguest try this solution firstly.