Author: mmel
Date: Thu Jan 11 15:03:01 2018
New Revision: 327827
URL: https://svnweb.freebsd.org/changeset/base/327827

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

Modified:
  head/sys/arm64/arm64/locore.S

Modified: head/sys/arm64/arm64/locore.S
==============================================================================
--- head/sys/arm64/arm64/locore.S       Thu Jan 11 15:01:48 2018        
(r327826)
+++ head/sys/arm64/arm64/locore.S       Thu Jan 11 15:03:01 2018        
(r327827)
@@ -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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to