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
         */
_______________________________________________
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