diff options
author | Justin Hibbits <jhibbits@FreeBSD.org> | 2022-08-06 15:35:44 +0000 |
---|---|---|
committer | Justin Hibbits <jhibbits@FreeBSD.org> | 2022-08-06 15:42:19 +0000 |
commit | 35ce7d40f9861059caa460296d1663ff172de931 (patch) | |
tree | 23718021e891ae344aa2d8127d5d7a236eab5a9b | |
parent | 1e73fbd8b28946cb1341b51292082864943f0a89 (diff) | |
download | src-35ce7d40f9861059caa460296d1663ff172de931.tar.gz src-35ce7d40f9861059caa460296d1663ff172de931.zip |
powerpc/booke: Clamp MAXCPU to 32 for Book-E platforms
Since the likelihood of new Book-E PowerPC SoCs being produced is near
zero clamp MAXCPU to around the highest number of cores/threads
available currently, for both 64-bit and 32-bit. Even though the
current highest core/thread count is 24, the cap is set at 32 in case
there is code that assumes power of 2.
-rw-r--r-- | sys/powerpc/conf/MPC85XX | 1 | ||||
-rw-r--r-- | sys/powerpc/conf/QORIQ64 | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/powerpc/conf/MPC85XX b/sys/powerpc/conf/MPC85XX index ed0dd5f8e587..e1978ba3e831 100644 --- a/sys/powerpc/conf/MPC85XX +++ b/sys/powerpc/conf/MPC85XX @@ -15,6 +15,7 @@ makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols makeoptions WITH_CTF=1 options FPU_EMU +options MAXCPU=32 options _KPOSIX_PRIORITY_SCHEDULING options ALT_BREAK_TO_DEBUGGER diff --git a/sys/powerpc/conf/QORIQ64 b/sys/powerpc/conf/QORIQ64 index 5db473c5393b..e1ef972d88eb 100644 --- a/sys/powerpc/conf/QORIQ64 +++ b/sys/powerpc/conf/QORIQ64 @@ -17,6 +17,7 @@ makeoptions WITH_CTF=1 #makeoptions WERROR="-Werror -Wno-format" options FPU_EMU +options MAXCPU=32 options _KPOSIX_PRIORITY_SCHEDULING options ALT_BREAK_TO_DEBUGGER |