svn commit: r331972 - stable/11/sys/arm64/arm64

Michal Meloun mmel at FreeBSD.org
Wed Apr 4 02:22:57 UTC 2018


Author: mmel
Date: Wed Apr  4 02:22:56 2018
New Revision: 331972
URL: https://svnweb.freebsd.org/changeset/base/331972

Log:
  MFC r327827:
  
    Initialize CONTEXTIDR register on secondary cores by zero, not with undefined
    value from X1 register.

Modified:
  stable/11/sys/arm64/arm64/locore.S
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/arm64/arm64/locore.S
==============================================================================
--- stable/11/sys/arm64/arm64/locore.S	Wed Apr  4 02:17:26 2018	(r331971)
+++ stable/11/sys/arm64/arm64/locore.S	Wed Apr  4 02:22:56 2018	(r331972)
@@ -167,7 +167,7 @@ ENTRY(mpentry)
 	bl	drop_to_el1
 
 	/* Set the context id */
-	msr	contextidr_el1, x1
+	msr	contextidr_el1, xzr
 
 	/* Load the kernel page table */
 	adr	x24, pagetable_l0_ttbr1


More information about the svn-src-stable mailing list