Author: jhibbits
Date: Fri Apr 20 03:23:19 2018
New Revision: 332808
URL: https://svnweb.freebsd.org/changeset/base/332808

Log:
  powerpc64: Set n_slbs = 32 for POWER9
  
  Summary:
  POWER9 also contains 32 slbs entries as explained by the POWER9 User Manual:
  
   "For HPT translation, the POWER9 core contains a unified (combined for both
     instruction and data), 32-entry, fully-associative SLB per thread"
  
  Submitted by: Breno Leitao
  Differential Revision: https://reviews.freebsd.org/D15128

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

Modified: head/sys/powerpc/aim/aim_machdep.c
==============================================================================
--- head/sys/powerpc/aim/aim_machdep.c  Fri Apr 20 03:19:44 2018        
(r332807)
+++ head/sys/powerpc/aim/aim_machdep.c  Fri Apr 20 03:23:19 2018        
(r332808)
@@ -212,6 +212,7 @@ aim_early_init(vm_offset_t fdt, vm_offset_t toc, vm_of
                case IBMPOWER7PLUS:
                case IBMPOWER8:
                case IBMPOWER8E:
+               case IBMPOWER9:
                        /* XXX: get from ibm,slb-size in device tree */
                        n_slbs = 32;
                        break;
_______________________________________________
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