summaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2016-09-25 12:35:41 (GMT)
committerMichael Ellerman <mpe@ellerman.id.au>2016-10-04 05:15:00 (GMT)
commite2ad477cb26360532da7ee9ffc9631d6c0006a1d (patch)
treea1abc0eae89fc0dbd24d90ca42b866f9db0ca956 /arch/powerpc
parent8a18cc0c2c36ee49d70a620ac0190d30897c15fb (diff)
downloadlinux-e2ad477cb26360532da7ee9ffc9631d6c0006a1d.tar.xz
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/powerpc')
-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 c0dbdb0..ca2da30 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.