Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Nov 2021 15:11:27 GMT
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 44ca3690519b - main - Move the arm64 identify_cpu SYSINIT earlier
Message-ID:  <202111231511.1ANFBRBn092247@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by andrew:

URL: https://cgit.FreeBSD.org/src/commit/?id=44ca3690519b653c7293c2366b6c47d8f510ff26

commit 44ca3690519b653c7293c2366b6c47d8f510ff26
Author:     Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2021-11-22 10:25:01 +0000
Commit:     Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2021-11-23 15:03:51 +0000

    Move the arm64 identify_cpu SYSINIT earlier
    
    It is used by late ifunc resolvers so needs to be at an earlier stage
    of the boot. Previously it was at the same stage so may not have run
    before the ifunc resolvers.
    
    Sponsored by:   The FreeBSD Foundation
---
 sys/arm64/arm64/identcpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/arm64/arm64/identcpu.c b/sys/arm64/arm64/identcpu.c
index dabfe6f99d3a..29a438b0a2db 100644
--- a/sys/arm64/arm64/identcpu.c
+++ b/sys/arm64/arm64/identcpu.c
@@ -1743,7 +1743,7 @@ identify_cpu_sysinit(void *dummy __unused)
 
 	install_undef_handler(true, user_mrs_handler);
 }
-SYSINIT(identify_cpu, SI_SUB_CPU, SI_ORDER_ANY, identify_cpu_sysinit, NULL);
+SYSINIT(identify_cpu, SI_SUB_CPU, SI_ORDER_MIDDLE, identify_cpu_sysinit, NULL);
 
 static void
 cpu_features_sysinit(void *dummy __unused)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111231511.1ANFBRBn092247>