svn commit: r348267 - head/sys/powerpc/aim

Justin Hibbits jhibbits at FreeBSD.org
Sat May 25 04:56:07 UTC 2019


Author: jhibbits
Date: Sat May 25 04:56:06 2019
New Revision: 348267
URL: https://svnweb.freebsd.org/changeset/base/348267

Log:
  powerpc64/pmap: Reapply r334235 to OEA64 pmap, clearing HID0_RADIX
  
  This was lost in the re-merger of ISA3 MMU into moea64_native.

Modified:
  head/sys/powerpc/aim/moea64_native.c

Modified: head/sys/powerpc/aim/moea64_native.c
==============================================================================
--- head/sys/powerpc/aim/moea64_native.c	Sat May 25 04:31:04 2019	(r348266)
+++ head/sys/powerpc/aim/moea64_native.c	Sat May 25 04:56:06 2019	(r348267)
@@ -401,6 +401,12 @@ moea64_cpu_bootstrap_native(mmu_t mmup, int ap)
 
 	mtmsr(mfmsr() & ~PSL_DR & ~PSL_IR);
 
+	switch(mfpvr() >> 16) {
+	case IBMPOWER9:
+		mtspr(SPR_HID0, mfspr(SPR_HID0) & ~HID0_RADIX);
+		break;
+	}
+
 	/*
 	 * Install kernel SLB entries
 	 */


More information about the svn-src-head mailing list