From: Aurelien Jarno <aurelien@aurel32.net>
To: linux-riscv@lists.infradead.org
Subject: Fail to bring hart online on HiFive Unleashed
Date: Thu, 3 Oct 2019 22:07:35 +0200 [thread overview]
Message-ID: <20191003200735.GA26760@aurel32.net> (raw)
Hi all,
I have just upgraded the bootloaders and kernel on an HiFive Unleashed
board to:
- OpenSBI v0.4-50-g30f09fb
- U-Boot 2019.10-rc4
- Linux v5.3.2
Most of the time, the kernel only brings online 3 of the 4 RV64GC harts:
| # getconf _NPROCESSORS_CONF
| 4
| # getconf _NPROCESSORS_ONLN
| 3
This can also be seen in /proc/cpuinfo:
| processor : 0
| hart : 1
| isa : rv64imafdc
| mmu : sv39
| uarch : sifive,u54-mc
|
| processor : 1
| hart : 2
| isa : rv64imafdc
| mmu : sv39
| uarch : sifive,u54-mc
|
| processor : 3
| hart : 4
| isa : rv64imafdc
| mmu : sv39
| uarch : sifive,u54-mc
When it happens, the kernel logs contain:
| [ 0.049851] smp: Bringing up secondary CPUs ...
| [ 1.082530] CPU2: failed to come online
| [ 1.086267] smp: Brought up 1 node, 3 CPUs
I have also seen the issue with CPU1 but not with CPU3 and CPU4 (might
be a statistical effect).
Any idea what could be the issue?
Thanks,
Aurelien
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien@aurel32.net http://www.aurel32.net
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
next reply other threads:[~2019-10-03 20:07 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-03 20:07 Aurelien Jarno [this message]
2019-10-03 23:13 ` Fail to bring hart online on HiFive Unleashed Atish Patra
2019-10-03 23:16 ` Troy Benjegerdes
2019-10-05 10:25 ` Aurelien Jarno
2019-10-05 10:54 ` Aurelien Jarno
2019-10-06 12:28 ` Aurelien Jarno
2019-10-07 22:19 ` Atish Patra
2019-10-08 4:30 ` Aurelien Jarno
2019-10-08 6:14 ` David Abdurachmanov
2019-10-08 6:33 ` Aurelien Jarno
2019-10-08 7:17 ` Anup Patel
2019-10-08 22:21 ` Troy Benjegerdes
2019-10-10 19:59 ` Aurelien Jarno
2019-10-11 14:05 ` David Abdurachmanov
2019-10-09 1:34 ` Atish Patra
2019-10-10 19:58 ` Aurelien Jarno
2019-10-15 21:38 ` Auer, Lukas
2019-10-15 22:22 ` Aurelien Jarno
2019-10-16 20:49 ` Auer, Lukas
2019-10-17 15:45 ` David Abdurachmanov
2019-10-17 20:42 ` Aurelien Jarno
2019-10-20 18:57 ` Auer, Lukas
2019-10-08 7:06 ` Anup Patel
2019-10-14 9:23 ` Andreas Schwab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191003200735.GA26760@aurel32.net \
--to=aurelien@aurel32.net \
--cc=linux-riscv@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.