# 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/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 2c7645b0f7d1014f2636393de7906c6bfd25939f # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc44x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc44x_defconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc44x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- arch/powerpc/boot/dts/katmai.dtb: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' INFO: Uncompressed kernel (size 0x553f08) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553f08) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553f08) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553f08) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553f08) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553f08) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553f08) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553f08) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553f08) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5437f0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553f08) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x553f08) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-4.20.0-rc1-g2c7645b0f7d1 Created: Tue Nov 13 20:14:20 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2713047 Bytes = 2649.46 KiB = 2.59 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.20.0-rc1-g2c7645b0f7d1 Created: Tue Nov 13 20:14:20 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2744771 Bytes = 2680.44 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601520 Image Name: Linux-4.20.0-rc1-g2c7645b0f7d1 Created: Tue Nov 13 20:14:20 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2744601 Bytes = 2680.27 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601540 Image Name: Linux-4.20.0-rc1-g2c7645b0f7d1 Created: Tue Nov 13 20:14:20 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2744553 Bytes = 2680.23 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601530 Image Name: Linux-4.20.0-rc1-g2c7645b0f7d1 Created: Tue Nov 13 20:14:20 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2744523 Bytes = 2680.20 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 006001c4 Image Name: Linux-4.20.0-rc1-g2c7645b0f7d1 Created: Tue Nov 13 20:14:20 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2744626 Bytes = 2680.30 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601540 Image Name: Linux-4.20.0-rc1-g2c7645b0f7d1 Created: Tue Nov 13 20:14:20 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2744735 Bytes = 2680.41 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601540 Image Name: Linux-4.20.0-rc1-g2c7645b0f7d1 Created: Tue Nov 13 20:14:20 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2744618 Bytes = 2680.29 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601550 Image Name: Linux-4.20.0-rc1-g2c7645b0f7d1 Created: Tue Nov 13 20:14:20 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2744604 Bytes = 2680.28 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 00601538 Image Name: Linux-4.20.0-rc1-g2c7645b0f7d1 Created: Tue Nov 13 20:14:20 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2744650 Bytes = 2680.32 KiB = 2.62 MiB Load Address: 00600000 Entry Point: 006000d0 Completed OK # rm -rf /kisskb/build/powerpc-fixes_ppc44x_defconfig_powerpc-gcc5 # Build took: 0:00:49.837939