# 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/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 4ffe713b7587b14695c9bec26a000fc88ef54895 # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64_book3e_allmodconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64_book3e_allmodconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64_book3e_allmodconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/scripts/unifdef.c: In function 'Mpass': /kisskb/src/scripts/unifdef.c:453:28: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] static void Mpass (void) { strncpy(keyword, "if ", 4); Pelif(); } ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/paca.h:19, from /kisskb/src/arch/powerpc/include/asm/current.h:16, from /kisskb/src/include/linux/sched.h:12, from /kisskb/src/kernel/debug/kdb/kdb_support.c:15: In function 'strncpy', inlined from 'kallsyms_symbol_next' at /kisskb/src/kernel/debug/kdb/kdb_support.c:239:4: /kisskb/src/include/linux/string.h:246:9: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] return __builtin_strncpy(p, q, size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/kernel/debug/kdb/kdb_support.c: In function 'kallsyms_symbol_next': /kisskb/src/include/linux/string.h:267:10: note: length computed here return __builtin_strlen(p); ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/paca.h:19, from /kisskb/src/arch/powerpc/include/asm/hw_irq.h:64, from /kisskb/src/arch/powerpc/include/asm/irqflags.h:12, from /kisskb/src/include/linux/irqflags.h:16, from /kisskb/src/include/linux/spinlock.h:54, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:10, from /kisskb/src/lib/test_hexdump.c:8: In function 'strncpy', inlined from 'test_hexdump_prepare_test.isra.0' at /kisskb/src/lib/test_hexdump.c:102:3: /kisskb/src/include/linux/string.h:246:9: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] return __builtin_strncpy(p, q, size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_hexdump.c: In function 'test_hexdump_prepare_test.isra.0': /kisskb/src/include/linux/string.h:267:10: note: length computed here return __builtin_strlen(p); ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/net/ethernet/aurora/nb8800.c:40: /kisskb/src/drivers/net/ethernet/aurora/nb8800.h:92: warning: "TCR_DIE" redefined #define TCR_DIE BIT(7) In file included from /kisskb/src/arch/powerpc/include/asm/reg.h:21, from /kisskb/src/arch/powerpc/include/asm/processor.h:13, from /kisskb/src/arch/powerpc/include/asm/thread_info.h:28, from /kisskb/src/include/linux/thread_info.h:38, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:81, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:10, from /kisskb/src/drivers/net/ethernet/aurora/nb8800.c:23: /kisskb/src/arch/powerpc/include/asm/reg_booke.h:554: note: this is the location of the previous definition #define TCR_DIE TCR_PIE /* DEC Interrupt Enable */ /kisskb/src/drivers/scsi/esas2r/esas2r_ioctl.c: In function 'esas2r_write_vda': /kisskb/src/drivers/scsi/esas2r/esas2r_ioctl.c:1910:19: warning: 'dma_addr' may be used uninitialized in this function [-Wmaybe-uninitialized] a->ppvda_buffer = dma_addr; ~~~~~~~~~~~~~~~~^~~~~~~~~~ /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning: orphan section `.gnu.hash' from `linker stubs' being placed in section `.gnu.hash'. drivers/usb/phy/phy-fsl-usb.o: In function `.fsl_otg_ioctl': phy-fsl-usb.c:(.text.fsl_otg_ioctl+0xb4): undefined reference to `.otg_statemachine' drivers/usb/phy/phy-fsl-usb.o: In function `.fsl_otg_start_srp': phy-fsl-usb.c:(.text.fsl_otg_start_srp+0x4c): undefined reference to `.otg_statemachine' drivers/usb/phy/phy-fsl-usb.o: In function `.fsl_otg_set_host': phy-fsl-usb.c:(.text.fsl_otg_set_host+0xd0): undefined reference to `.otg_statemachine' drivers/usb/phy/phy-fsl-usb.o: In function `.fsl_otg_start_hnp': phy-fsl-usb.c:(.text.fsl_otg_start_hnp+0x68): undefined reference to `.otg_statemachine' drivers/usb/phy/phy-fsl-usb.o: In function `.show_fsl_usb2_otg_state': phy-fsl-usb.c:(.text.show_fsl_usb2_otg_state+0x154): undefined reference to `.usb_otg_state_string' drivers/usb/phy/phy-fsl-usb.o: In function `.a_wait_enum': (.text.a_wait_enum+0x4c): undefined reference to `.otg_statemachine' drivers/usb/phy/phy-fsl-usb.o: In function `.fsl_otg_set_peripheral': phy-fsl-usb.c:(.text.fsl_otg_set_peripheral+0x84): undefined reference to `.usb_gadget_vbus_disconnect' phy-fsl-usb.c:(.text.fsl_otg_set_peripheral+0x9c): undefined reference to `.otg_statemachine' make[1]: *** [/kisskb/src/Makefile:1036: vmlinux] Error 1 make: *** [Makefile:146: sub-make] Error 2 Command 'make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64_book3e_allmodconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-next_ppc64_book3e_allmodconfig_powerpc-gcc8 # Build took: 0:12:59.342961