aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r--arch/powerpc/Kconfig29
1 files changed, 25 insertions, 4 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 3bf72cd2c8fc..a4e3a93bf2d4 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -312,6 +312,26 @@ config MATH_EMULATION
312 such as fsqrt on cores that do have an FPU but do not implement 312 such as fsqrt on cores that do have an FPU but do not implement
313 them (such as Freescale BookE). 313 them (such as Freescale BookE).
314 314
315choice
316 prompt "Math emulation options"
317 default MATH_EMULATION_FULL
318 depends on MATH_EMULATION
319
320config MATH_EMULATION_FULL
321 bool "Emulate all the floating point instructions"
322 ---help---
323 Select this option will enable the kernel to support to emulate
324 all the floating point instructions. If your SoC doesn't have
325 a FPU, you should select this.
326
327config MATH_EMULATION_HW_UNIMPLEMENTED
328 bool "Just emulate the FPU unimplemented instructions"
329 ---help---
330 Select this if you know there does have a hardware FPU on your
331 SoC, but some floating point instructions are not implemented by that.
332
333endchoice
334
315config PPC_TRANSACTIONAL_MEM 335config PPC_TRANSACTIONAL_MEM
316 bool "Transactional Memory support for POWERPC" 336 bool "Transactional Memory support for POWERPC"
317 depends on PPC_BOOK3S_64 337 depends on PPC_BOOK3S_64
@@ -369,9 +389,9 @@ config KEXEC
369 389
370 It is an ongoing process to be certain the hardware in a machine 390 It is an ongoing process to be certain the hardware in a machine
371 is properly shutdown, so do not be surprised if this code does not 391 is properly shutdown, so do not be surprised if this code does not
372 initially work for you. It may help to enable device hotplugging 392 initially work for you. As of this writing the exact hardware
373 support. As of this writing the exact hardware interface is 393 interface is strongly in flux, so no good recommendation can be
374 strongly in flux, so no good recommendation can be made. 394 made.
375 395
376config CRASH_DUMP 396config CRASH_DUMP
377 bool "Build a kdump crash kernel" 397 bool "Build a kdump crash kernel"
@@ -566,7 +586,7 @@ config SCHED_SMT
566config PPC_DENORMALISATION 586config PPC_DENORMALISATION
567 bool "PowerPC denormalisation exception handling" 587 bool "PowerPC denormalisation exception handling"
568 depends on PPC_BOOK3S_64 588 depends on PPC_BOOK3S_64
569 default "n" 589 default "y" if PPC_POWERNV
570 ---help--- 590 ---help---
571 Add support for handling denormalisation of single precision 591 Add support for handling denormalisation of single precision
572 values. Useful for bare metal only. If unsure say Y here. 592 values. Useful for bare metal only. If unsure say Y here.
@@ -979,6 +999,7 @@ config RELOCATABLE
979 must live at a different physical address than the primary 999 must live at a different physical address than the primary
980 kernel. 1000 kernel.
981 1001
1002# This value must have zeroes in the bottom 60 bits otherwise lots will break
982config PAGE_OFFSET 1003config PAGE_OFFSET
983 hex 1004 hex
984 default "0xc000000000000000" 1005 default "0xc000000000000000"