# git rev-parse -q --verify 4ffe713b7587b14695c9bec26a000fc88ef54895^{commit} 4ffe713b7587b14695c9bec26a000fc88ef54895 already have revision, skipping fetch # git checkout -q -f -B kisskb 4ffe713b7587b14695c9bec26a000fc88ef54895 # git clean -qxdf # < git log -1 # commit 4ffe713b7587b14695c9bec26a000fc88ef54895 # Author: Aneesh Kumar K.V # Date: Thu Sep 20 14:03:58 2018 +0530 # # powerpc/mm: Increase the max addressable memory to 2PB # # Currently we limit the max addressable memory to 128TB. This patch increase the # limit to 2PB. We can have devices like nvdimm which adds memory above 512TB # limit. # # We still don't support regular system ram above 512TB. One of the challenge with # that is the percpu allocator, that allocates per node memory and use the max # distance between them as the percpu offsets. This means with large gap in # address space ( system ram above 1PB) we will run out of vmalloc space to map # the percpu allocation. # # In order to support addressable memory above 512TB, kernel should be able to # linear map this range. To do that with hash translation we now add 4 context # to kernel linear map region. Our per context addressable range is 512TB. We # still keep VMALLOC and VMEMMAP region to old size. SLB miss handlers is updated # to validate these limit. # # We also limit this update to SPARSEMEM_VMEMMAP and SPARSEMEM_EXTREME # # Signed-off-by: Aneesh Kumar K.V # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < git log --format=%s --max-count=1 4ffe713b7587b14695c9bec26a000fc88ef54895 # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- randconfig KCONFIG_SEED=0x414E6A0 # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_LD_HEAD_STUB_CATCH=y # Added to kconfig # yes \n | make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- oldconfig yes: standard output: Broken pipe # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/arch/powerpc/crypto/md5-glue.c: In function 'ppc_md5_final': /kisskb/src/arch/powerpc/crypto/md5-glue.c:111:1: internal compiler error: in change_address_1, at emit-rtl.c:1933 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[2]: *** [/kisskb/src/scripts/Makefile.build:306: arch/powerpc/crypto/md5-glue.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1060: arch/powerpc/crypto] Error 2 make[1]: *** Waiting for unfinished jobs.... /kisskb/src/arch/powerpc/platforms/cell/spufs/sched.c:1077:12: warning: 'show_spu_loadavg' defined but not used [-Wunused-function] /kisskb/src/arch/powerpc/lib/sstep.c: In function 'do_fp_load': /kisskb/src/arch/powerpc/lib/sstep.c:510:1: internal compiler error: in change_address_1, at emit-rtl.c:1933 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[2]: *** [/kisskb/src/scripts/Makefile.build:305: arch/powerpc/lib/sstep.o] Error 1 make[2]: *** Waiting for unfinished jobs.... {standard input}: Assembler messages: {standard input}:235: Error: Unrecognized opcode: `slbfee.' {standard input}:461: Error: Unrecognized opcode: `slbfee.' {standard input}:571: Error: Unrecognized opcode: `slbfee.' {standard input}:1340: Error: Unrecognized opcode: `slbfee.' {standard input}:1529: Error: Unrecognized opcode: `slbfee.' make[2]: *** [/kisskb/src/scripts/Makefile.build:305: arch/powerpc/mm/slb.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/arch/powerpc/xmon/xmon.c:67:0: /kisskb/src/arch/powerpc/xmon/dis-asm.h: In function 'print_insn_powerpc': /kisskb/src/arch/powerpc/xmon/dis-asm.h:20:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat] /kisskb/src/arch/powerpc/xmon/dis-asm.h: In function 'print_insn_spu': /kisskb/src/arch/powerpc/xmon/dis-asm.h:26:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat] make[1]: *** [/kisskb/src/Makefile:1060: arch/powerpc/lib] Error 2 /kisskb/src/arch/powerpc/kernel/traps.c: In function 'p9_hmi_special_emu': /kisskb/src/arch/powerpc/kernel/traps.c:962:1: internal compiler error: in change_address_1, at emit-rtl.c:1933 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make[2]: *** [/kisskb/src/scripts/Makefile.build:305: arch/powerpc/kernel/traps.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1060: arch/powerpc/mm] Error 2 /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:185:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] make[1]: *** [/kisskb/src/Makefile:1060: arch/powerpc/kernel] Error 2 make: *** [Makefile:146: sub-make] Error 2 Command 'make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-next-rand_powerpc-randconfig_powerpc # Build took: 0:00:10.863858