aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Whitehorn <nwhitehorn@FreeBSD.org>2015-01-21 19:11:15 +0000
committerNathan Whitehorn <nwhitehorn@FreeBSD.org>2015-01-21 19:11:15 +0000
commit88a6aee146f324d2849f5cc8b11c19e9178c478c (patch)
tree6fb85b99d7cb77c79856e6c89cd9c5690a69cb97
parent7a28efd9eee50ee4314aa101663a5d52e6367c59 (diff)
downloadsrc-88a6aee146f324d2849f5cc8b11c19e9178c478c.tar.gz
src-88a6aee146f324d2849f5cc8b11c19e9178c478c.zip
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.
Notes
Notes: svn path=/head/; revision=277500
-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 b463c48bee2d..82a72328d63e 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;