Date: Wed, 15 Jul 2015 09:25:05 +0000 From: "zbb (Zbigniew Bodek)" <phabric-noreply@FreeBSD.org> To: freebsd-arm@freebsd.org Subject: [Differential] [Closed] D3095: Add identify_cpu to ARMv8 init_secondary routine Message-ID: <59ca74d4d6e5e89d21e9973dfdfb6a90@localhost.localdomain> In-Reply-To: <differential-rev-PHID-DREV-ewqzgojr3v2msg27bmc4-req@FreeBSD.org> References: <differential-rev-PHID-DREV-ewqzgojr3v2msg27bmc4-req@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--b1_59ca74d4d6e5e89d21e9973dfdfb6a90 Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: 8bit This revision was automatically updated to reflect the committed changes. Closed by commit rS285597: Add identify_cpu() to ARM64 init_secondary routine (authored by zbb). CHANGED PRIOR TO COMMIT https://reviews.freebsd.org/D3095?vs=6961&id=6963#toc REPOSITORY rS FreeBSD src repository CHANGES SINCE LAST UPDATE https://reviews.freebsd.org/D3095?vs=6961&id=6963 REVISION DETAIL https://reviews.freebsd.org/D3095 AFFECTED FILES head/sys/arm64/arm64/mp_machdep.c CHANGE DETAILS diff --git a/head/sys/arm64/arm64/mp_machdep.c b/head/sys/arm64/arm64/mp_machdep.c --- a/head/sys/arm64/arm64/mp_machdep.c +++ b/head/sys/arm64/arm64/mp_machdep.c @@ -229,6 +229,13 @@ pcpup->pc_curthread = pcpup->pc_idlethread; pcpup->pc_curpcb = pcpup->pc_idlethread->td_pcb; + /* + * Identify current CPU. This is necessary to setup + * affinity registers and to provide support for + * runtime chip identification. + */ + identify_cpu(); + /* Configure the interrupt controller */ arm_init_secondary(); EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: wma_semihalf.com, emaste, zbb, andrew Cc: imp, andrew, freebsd-arm-list, emaste --b1_59ca74d4d6e5e89d21e9973dfdfb6a90 Content-Type: text/x-patch; charset=utf-8; name="D3095.6963.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="D3095.6963.patch" ZGlmZiAtLWdpdCBhL2hlYWQvc3lzL2FybTY0L2FybTY0L21wX21hY2hkZXAuYyBiL2hlYWQvc3lz L2FybTY0L2FybTY0L21wX21hY2hkZXAuYwotLS0gYS9oZWFkL3N5cy9hcm02NC9hcm02NC9tcF9t YWNoZGVwLmMKKysrIGIvaGVhZC9zeXMvYXJtNjQvYXJtNjQvbXBfbWFjaGRlcC5jCkBAIC0yMjks NiArMjI5LDEzIEBACiAJcGNwdXAtPnBjX2N1cnRocmVhZCA9IHBjcHVwLT5wY19pZGxldGhyZWFk OwogCXBjcHVwLT5wY19jdXJwY2IgPSBwY3B1cC0+cGNfaWRsZXRocmVhZC0+dGRfcGNiOwogCisJ LyoKKwkgKiBJZGVudGlmeSBjdXJyZW50IENQVS4gVGhpcyBpcyBuZWNlc3NhcnkgdG8gc2V0dXAK KwkgKiBhZmZpbml0eSByZWdpc3RlcnMgYW5kIHRvIHByb3ZpZGUgc3VwcG9ydCBmb3IKKwkgKiBy dW50aW1lIGNoaXAgaWRlbnRpZmljYXRpb24uCisJICovCisJaWRlbnRpZnlfY3B1KCk7CisKIAkv KiBDb25maWd1cmUgdGhlIGludGVycnVwdCBjb250cm9sbGVyICovCiAJYXJtX2luaXRfc2Vjb25k YXJ5KCk7CiAKCg== --b1_59ca74d4d6e5e89d21e9973dfdfb6a90--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59ca74d4d6e5e89d21e9973dfdfb6a90>