# git rev-parse -q --verify 2c7645b0f7d1014f2636393de7906c6bfd25939f^{commit} 2c7645b0f7d1014f2636393de7906c6bfd25939f already have revision, skipping fetch # git checkout -q -f -B kisskb 2c7645b0f7d1014f2636393de7906c6bfd25939f # git clean -qxdf # < git log -1 # commit 2c7645b0f7d1014f2636393de7906c6bfd25939f # Author: Michael Ellerman # Date: Mon Nov 12 13:46:06 2018 +1100 # # selftests/powerpc: Fix wild_bctr test to work on ppc64 # # The selftest I recently added to test branching to an out-of-bounds # NIP doesn't work on 64-bit big endian. It does fail but not in the # right way. That is it SEGVs trying to load from the opd at BAD_NIP, # but it never gets as far as branching to BAD_NIP. # # To fix it we need to create an opd which is reachable but which holds # the bad address. # # Fixes: b7683fc66eba ("selftests/powerpc: Add a test of wild bctr") # 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 2c7645b0f7d1014f2636393de7906c6bfd25939f # < make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc83xx_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- mpc83xx_defconfig # make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc83xx_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:186:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /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/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:341:21: note: 'pdeo' was declared here /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/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 arch/powerpc/boot/dts/mpc832x_rdb.dtb: Warning (interrupts_property): /qe@e0100000/mdio@3120/ethernet-phy@0:#interrupt-cells: size is (4), expected multiple of 8 arch/powerpc/boot/dts/mpc832x_rdb.dtb: Warning (interrupts_property): /qe@e0100000/mdio@3120/ethernet-phy@4:#interrupt-cells: size is (4), expected multiple of 8 INFO: Uncompressed kernel (size 0x62198c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x62198c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x62198c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x62198c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x62198c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x62198c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6112e0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x62198c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) Image Name: Linux-4.20.0-rc1-g2c7645b0f7d1 Created: Tue Nov 13 19:46:26 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3076694 Bytes = 3004.58 KiB = 2.93 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.20.0-rc1-g2c7645b0f7d1 Created: Tue Nov 13 19:46:26 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3106268 Bytes = 3033.46 KiB = 2.96 MiB Load Address: 00700000 Entry Point: 0070029c Image Name: Linux-4.20.0-rc1-g2c7645b0f7d1 Created: Tue Nov 13 19:46:26 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3106494 Bytes = 3033.69 KiB = 2.96 MiB Load Address: 00700000 Entry Point: 0070029c Image Name: Linux-4.20.0-rc1-g2c7645b0f7d1 Created: Tue Nov 13 19:46:26 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3106085 Bytes = 3033.29 KiB = 2.96 MiB Load Address: 00700000 Entry Point: 0070029c Image Name: Linux-4.20.0-rc1-g2c7645b0f7d1 Created: Tue Nov 13 19:46:26 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3106259 Bytes = 3033.46 KiB = 2.96 MiB Load Address: 00700000 Entry Point: 0070029c Image Name: Linux-4.20.0-rc1-g2c7645b0f7d1 Created: Tue Nov 13 19:46:26 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3106201 Bytes = 3033.40 KiB = 2.96 MiB Load Address: 00700000 Entry Point: 0070029c Image Name: Linux-4.20.0-rc1-g2c7645b0f7d1 Created: Tue Nov 13 19:46:26 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3106055 Bytes = 3033.26 KiB = 2.96 MiB Load Address: 00700000 Entry Point: 0070029c Completed OK # rm -rf /kisskb/build/powerpc-fixes_mpc83xx_defconfig_powerpc # Build took: 0:00:20.387987