summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/aim
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2015-01-21 19:11:15 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2015-01-21 19:11:15 +0000
commit67dd11691fe562a60913cd7107db2de9b75b97bb (patch)
tree6fb85b99d7cb77c79856e6c89cd9c5690a69cb97 /sys/powerpc/aim
parent6978841146a402d9acc3df8ce89744084f38a3e4 (diff)
downloadFreeBSD-src-67dd11691fe562a60913cd7107db2de9b75b97bb.zip
FreeBSD-src-67dd11691fe562a60913cd7107db2de9b75b97bb.tar.gz
Add POWER7+ and POWER8 to the list of CPUs with 32 SLB slots. This is
mostly a no-op since all currently-supported instances of these CPUs give the number of SLB slots in the device tree, but keep it here as well just in case.
Diffstat (limited to 'sys/powerpc/aim')
-rw-r--r--sys/powerpc/aim/machdep.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/powerpc/aim/machdep.c b/sys/powerpc/aim/machdep.c
index b463c48..82a7232 100644
--- a/sys/powerpc/aim/machdep.c
+++ b/sys/powerpc/aim/machdep.c
@@ -394,6 +394,9 @@ powerpc_init(vm_offset_t fdt, vm_offset_t toc, vm_offset_t ofentry, void *mdp)
break;
#ifdef __powerpc64__
case IBMPOWER7:
+ case IBMPOWER7PLUS:
+ case IBMPOWER8:
+ case IBMPOWER8E:
/* XXX: get from ibm,slb-size in device tree */
n_slbs = 32;
break;
OpenPOWER on IntegriCloud