diff options
author | Mark Johnston <markj@FreeBSD.org> | 2021-07-20 16:06:01 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2021-07-21 13:00:55 +0000 |
commit | fa46a46a82498532f547be5f6b5a94d05f53b0be (patch) | |
tree | 53c307a11c4addb632c4c6398722fef729b62f40 | |
parent | 8bc3dc01005e56035be8807d2a559c1a86960519 (diff) |
arm64: Print CPU features slightly earlier
In particular, print them before we release APs. Otherwise they tend to
get mixed with other kernel messages.
Reviewed by: andrew, manu
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D31242
-rw-r--r-- | sys/arm64/arm64/identcpu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arm64/arm64/identcpu.c b/sys/arm64/arm64/identcpu.c index f755e004a0a8..2afad3ea8a81 100644 --- a/sys/arm64/arm64/identcpu.c +++ b/sys/arm64/arm64/identcpu.c @@ -1316,7 +1316,8 @@ cpu_features_sysinit(void *dummy __unused) CPU_FOREACH(cpu) print_cpu_features(cpu); } -SYSINIT(cpu_features, SI_SUB_SMP, SI_ORDER_ANY, cpu_features_sysinit, NULL); +/* Log features before APs are released and start printing to the dmesg. */ +SYSINIT(cpu_features, SI_SUB_SMP - 1, SI_ORDER_ANY, cpu_features_sysinit, NULL); static u_long parse_cpu_features_hwcap(void) |