[Differential] [Closed] D3095: Add identify_cpu to ARMv8 init_secondary routine

zbb (Zbigniew Bodek) phabric-noreply at FreeBSD.org
Wed Jul 15 09:25:05 UTC 2015


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3095.6963.patch
Type: text/x-patch
Size: 523 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20150715/6b2075bc/attachment.bin>


More information about the freebsd-arm mailing list