# git rev-parse -q --verify 8bc086899816214fbc6047c9c7e15fcab49552bf^{commit} 8bc086899816214fbc6047c9c7e15fcab49552bf already have revision, skipping fetch # git checkout -q -f -B kisskb 8bc086899816214fbc6047c9c7e15fcab49552bf # git clean -qxdf # < git log -1 # commit 8bc086899816214fbc6047c9c7e15fcab49552bf # Author: Ben Hutchings # Date: Sun Mar 17 01:17:56 2019 +0000 # # powerpc/mm: Only define MAX_PHYSMEM_BITS in SPARSEMEM configurations # # MAX_PHYSMEM_BITS only needs to be defined if CONFIG_SPARSEMEM is # enabled, and that was the case before commit 4ffe713b7587 # ("powerpc/mm: Increase the max addressable memory to 2PB"). # # On 32-bit systems, where CONFIG_SPARSEMEM is not enabled, we now # define it as 46. That is larger than the real number of physical # address bits, and breaks calculations in zsmalloc: # # mm/zsmalloc.c:130:49: warning: right shift count is negative # MAX(32, (ZS_MAX_PAGES_PER_ZSPAGE << PAGE_SHIFT >> OBJ_INDEX_BITS)) # ^~ # ... # mm/zsmalloc.c:253:21: error: variably modified 'size_class' at file scope # struct size_class *size_class[ZS_SIZE_CLASSES]; # ^~~~~~~~~~ # # Fixes: 4ffe713b7587 ("powerpc/mm: Increase the max addressable memory to 2PB") # Cc: stable@vger.kernel.org # v4.20+ # Signed-off-by: Ben Hutchings # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-ld --version # < git log --format=%s --max-count=1 8bc086899816214fbc6047c9c7e15fcab49552bf # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_smp_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- mpc85xx_smp_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_smp_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- :1478:2: warning: #warning syscall pidfd_send_signal not implemented [-Wcpp] :1481:2: warning: #warning syscall io_uring_setup not implemented [-Wcpp] :1484:2: warning: #warning syscall io_uring_enter not implemented [-Wcpp] :1487:2: warning: #warning syscall io_uring_register not implemented [-Wcpp] /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:187:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/trace/trace_dynevent.c: In function 'create_dyn_event': /kisskb/src/kernel/trace/trace_dynevent.c:89:5: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:337:21: note: 'pdeo' was declared here /kisskb/src/drivers/base/regmap/regmap.c: In function 'regmap_raw_read': /kisskb/src/drivers/base/regmap/regmap.c:2594:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function '_regmap_raw_write': /kisskb/src/drivers/base/regmap/regmap.c:1855:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/mm/hugetlb.c: In function 'alloc_pool_huge_page': /kisskb/src/mm/hugetlb.c:1435:5: warning: 'page' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/udf/unicode.c: In function 'udf_name_conv_char': /kisskb/src/fs/udf/unicode.c:132:8: warning: 'c' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/wm8960.c: In function 'wm8960_configure_clocking': /kisskb/src/sound/soc/codecs/wm8960.c:803:70: warning: 'j' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/wm8960.c:800:68: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/fs_parser.c: In function 'fs_validate_description': /kisskb/src/fs/fs_parser.c:413:6: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat] /kisskb/src/drivers/i2c/i2c-core-base.c: In function 'i2c_generic_scl_recovery': /kisskb/src/drivers/i2c/i2c-core-base.c:235:5: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:247:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:227:19: note: 'i' was declared here /kisskb/src/net/sunrpc/xprtsock.c: In function 'xs_stream_data_receive_workfn': /kisskb/src/net/sunrpc/xprtsock.c:529:2: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/sunrpc/xprtsock.c:499:10: note: 'ret' was declared here /kisskb/src/net/sunrpc/xprtsock.c:529:2: warning: 'read' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/sunrpc/xprtsock.c:498:15: note: 'read' was declared here /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8541cds.dts:334.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8555cds.dts:334.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) INFO: Uncompressed kernel (size 0xc5b1c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc5b1c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc5b1c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc5b1c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc5b1c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc5b1c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc5b1c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc5b1c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc5b1c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc5b1c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc5b1c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc5b1c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc5b1c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc5b1c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc5b1c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc4a9c8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-5.1.0-rc1-g8bc086899816 Created: Thu Mar 21 00:44:48 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6004779 Bytes = 5864.04 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.1.0-rc1-g8bc086899816 Created: Thu Mar 21 00:44:48 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6004652 Bytes = 5863.92 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.1.0-rc1-g8bc086899816 Created: Thu Mar 21 00:44:48 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6005053 Bytes = 5864.31 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.1.0-rc1-g8bc086899816 Created: Thu Mar 21 00:44:48 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6007231 Bytes = 5866.44 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.1.0-rc1-g8bc086899816 Created: Thu Mar 21 00:44:48 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6005135 Bytes = 5864.39 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.1.0-rc1-g8bc086899816 Created: Thu Mar 21 00:44:48 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6004569 Bytes = 5863.84 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.1.0-rc1-g8bc086899816 Created: Thu Mar 21 00:44:48 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6004654 Bytes = 5863.92 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.1.0-rc1-g8bc086899816 Created: Thu Mar 21 00:44:48 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6007220 Bytes = 5866.43 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.1.0-rc1-g8bc086899816 Created: Thu Mar 21 00:44:48 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6004652 Bytes = 5863.92 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.1.0-rc1-g8bc086899816 Created: Thu Mar 21 00:44:48 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6004462 Bytes = 5863.73 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.1.0-rc1-g8bc086899816 Created: Thu Mar 21 00:44:48 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6005051 Bytes = 5864.31 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.1.0-rc1-g8bc086899816 Created: Thu Mar 21 00:44:48 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6006692 Bytes = 5865.91 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.1.0-rc1-g8bc086899816 Created: Thu Mar 21 00:44:48 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6004461 Bytes = 5863.73 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.1.0-rc1-g8bc086899816 Created: Thu Mar 21 00:44:48 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6005723 Bytes = 5864.96 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.1.0-rc1-g8bc086899816 Created: Thu Mar 21 00:44:48 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6004532 Bytes = 5863.80 KiB = 5.73 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.1.0-rc1-g8bc086899816 Created: Thu Mar 21 00:44:48 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5973465 Bytes = 5833.46 KiB = 5.70 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-fixes_mpc85xx_smp_defconfig_powerpc-gcc4.6 # Build took: 0:01:06.880308