Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Apr 2018 02:22:57 +0000 (UTC)
From:      Michal Meloun <mmel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r331972 - stable/11/sys/arm64/arm64
Message-ID:  <201804040222.w342MvNX056989@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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