diff options
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r-- | arch/powerpc/Kconfig | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 587da5e0990f..380baa1780e9 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -22,6 +22,9 @@ config WORD_SIZE | |||
22 | config PPC_MERGE | 22 | config PPC_MERGE |
23 | def_bool y | 23 | def_bool y |
24 | 24 | ||
25 | config ARCH_PHYS_ADDR_T_64BIT | ||
26 | def_bool PPC64 || PHYS_64BIT | ||
27 | |||
25 | config MMU | 28 | config MMU |
26 | bool | 29 | bool |
27 | default y | 30 | default y |
@@ -415,8 +418,11 @@ config PPC_64K_PAGES | |||
415 | 418 | ||
416 | config FORCE_MAX_ZONEORDER | 419 | config FORCE_MAX_ZONEORDER |
417 | int "Maximum zone order" | 420 | int "Maximum zone order" |
421 | range 9 64 if PPC_64K_PAGES | ||
418 | default "9" if PPC_64K_PAGES | 422 | default "9" if PPC_64K_PAGES |
423 | range 13 64 if PPC64 && !PPC_64K_PAGES | ||
419 | default "13" if PPC64 && !PPC_64K_PAGES | 424 | default "13" if PPC64 && !PPC_64K_PAGES |
425 | range 11 64 | ||
420 | default "11" | 426 | default "11" |
421 | help | 427 | help |
422 | The kernel memory allocator divides physically contiguous memory | 428 | The kernel memory allocator divides physically contiguous memory |
@@ -806,6 +812,19 @@ config PIN_TLB | |||
806 | endmenu | 812 | endmenu |
807 | 813 | ||
808 | if PPC64 | 814 | if PPC64 |
815 | config RELOCATABLE | ||
816 | bool "Build a relocatable kernel" | ||
817 | help | ||
818 | This builds a kernel image that is capable of running anywhere | ||
819 | in the RMA (real memory area) at any 16k-aligned base address. | ||
820 | The kernel is linked as a position-independent executable (PIE) | ||
821 | and contains dynamic relocations which are processed early | ||
822 | in the bootup process. | ||
823 | |||
824 | One use is for the kexec on panic case where the recovery kernel | ||
825 | must live at a different physical address than the primary | ||
826 | kernel. | ||
827 | |||
809 | config PAGE_OFFSET | 828 | config PAGE_OFFSET |
810 | hex | 829 | hex |
811 | default "0xc000000000000000" | 830 | default "0xc000000000000000" |