Date: Wed, 28 Jul 2021 12:40:29 GMT From: Mark Johnston <markj@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: e504e98ab5e6 - stable/13 - arm64: Print CPU features slightly earlier Message-ID: <202107281240.16SCeT7s069157@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=e504e98ab5e6a3155054a98660a244075609db0b commit e504e98ab5e6a3155054a98660a244075609db0b Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2021-07-20 16:06:01 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2021-07-28 12:40:25 +0000 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 Sponsored by: The FreeBSD Foundation (cherry picked from commit fa46a46a82498532f547be5f6b5a94d05f53b0be) --- sys/arm64/arm64/identcpu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/arm64/arm64/identcpu.c b/sys/arm64/arm64/identcpu.c index c3544e9de9aa..5dc3a91031b6 100644 --- a/sys/arm64/arm64/identcpu.c +++ b/sys/arm64/arm64/identcpu.c @@ -1241,7 +1241,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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107281240.16SCeT7s069157>