svn commit: r332808 - head/sys/powerpc/aim
Justin Hibbits
jhibbits at FreeBSD.org
Fri Apr 20 03:23:20 UTC 2018
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;
More information about the svn-src-head
mailing list