aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2016-09-25 22:35:41 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2016-10-04 16:15:00 +1100
commite2ad477cb26360532da7ee9ffc9631d6c0006a1d (patch)
treea1abc0eae89fc0dbd24d90ca42b866f9db0ca956 /arch
parentpowerpc: Only disable HAVE_EFFICIENT_UNALIGNED_ACCESS on POWER7 little endian (diff)
downloadwireguard-linux-e2ad477cb26360532da7ee9ffc9631d6c0006a1d.tar.xz
wireguard-linux-e2ad477cb26360532da7ee9ffc9631d6c0006a1d.zip
powerpc: Set default CPU type to POWER8 for little endian builds
We supported POWER7 CPUs for bootstrapping little endian, but the target was always POWER8. Now that POWER7 specific issues are impacting performance, change the default target to POWER8. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/platforms/Kconfig.cputype1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype
index c0dbdb004f49..ca2da30ad2ab 100644
--- a/arch/powerpc/platforms/Kconfig.cputype
+++ b/arch/powerpc/platforms/Kconfig.cputype
@@ -87,6 +87,7 @@ endchoice
choice
prompt "CPU selection"
depends on PPC64
+ default POWER8_CPU if CPU_LITTLE_ENDIAN
default GENERIC_CPU
help
This will create a kernel which is optimised for a particular CPU.