# git rev-parse -q --verify acc48fec3ae30fd2c049c39582e1c4fdf25480ee^{commit} acc48fec3ae30fd2c049c39582e1c4fdf25480ee already have revision, skipping fetch # git checkout -q -f -B kisskb acc48fec3ae30fd2c049c39582e1c4fdf25480ee # git clean -qxdf # < git log -1 # commit acc48fec3ae30fd2c049c39582e1c4fdf25480ee # Author: Ravi Bangoria # Date: Thu Mar 11 14:45:38 2021 +0530 # # powerpc/uprobes: Validation for prefixed instruction # # As per ISA 3.1, prefixed instruction should not cross 64-byte # boundary. So don't allow Uprobe on such prefixed instruction. # # There are two ways probed instruction is changed in mapped pages. # First, when Uprobe is activated, it searches for all the relevant # pages and replace instruction in them. In this case, if that probe # is on the 64-byte unaligned prefixed instruction, error out # directly. Second, when Uprobe is already active and user maps a # relevant page via mmap(), instruction is replaced via mmap() code # path. But because Uprobe is invalid, entire mmap() operation can # not be stopped. In this case just print an error and continue. # # Signed-off-by: Ravi Bangoria # Acked-by: Naveen N. Rao # Acked-by: Sandipan Das # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20210311091538.368590-1-ravi.bangoria@linux.ibm.com # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 acc48fec3ae30fd2c049c39582e1c4fdf25480ee # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc44x_defconfig # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/block/genhd.c: In function 'diskstats_show': /kisskb/src/block/genhd.c:1313:1: warning: the frame size of 1160 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/lib/zstd/compress.c: In function 'ZSTD_compressBlock_doubleFast': /kisskb/src/lib/zstd/compress.c:1393:1: warning: the frame size of 1584 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ INFO: Uncompressed kernel (size 0x613998) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x613998) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x613998) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x613998) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x613998) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x613998) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x613998) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x613998) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x613998) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x613998) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x613998) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) Image Name: Linux-5.12.0-rc2-gacc48fec3ae3 Created: Fri Mar 12 23:17:04 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3116745 Bytes = 3043.70 KiB = 2.97 MiB Load Address: 00700000 Entry Point: 007014b8 Image Name: Linux-5.12.0-rc2-gacc48fec3ae3 Created: Fri Mar 12 23:17:04 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3116771 Bytes = 3043.72 KiB = 2.97 MiB Load Address: 00700000 Entry Point: 007014a8 Image Name: Linux-5.12.0-rc2-gacc48fec3ae3 Created: Fri Mar 12 23:17:04 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3116813 Bytes = 3043.76 KiB = 2.97 MiB Load Address: 00700000 Entry Point: 00701488 Image Name: Linux-5.12.0-rc2-gacc48fec3ae3 Created: Fri Mar 12 23:17:04 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3116552 Bytes = 3043.51 KiB = 2.97 MiB Load Address: 00700000 Entry Point: 007014a8 Image Name: Linux-5.12.0-rc2-gacc48fec3ae3 Created: Fri Mar 12 23:17:04 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3116714 Bytes = 3043.67 KiB = 2.97 MiB Load Address: 00700000 Entry Point: 00701498 Image Name: Linux-5.12.0-rc2-gacc48fec3ae3 Created: Fri Mar 12 23:17:04 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3116698 Bytes = 3043.65 KiB = 2.97 MiB Load Address: 00700000 Entry Point: 007000c4 Image Name: Linux-5.12.0-rc2-gacc48fec3ae3 Created: Fri Mar 12 23:17:04 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3116774 Bytes = 3043.72 KiB = 2.97 MiB Load Address: 00700000 Entry Point: 007014a8 Image Name: Linux-5.12.0-rc2-gacc48fec3ae3 Created: Fri Mar 12 23:17:04 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3116656 Bytes = 3043.61 KiB = 2.97 MiB Load Address: 00700000 Entry Point: 007001b8 Image Name: Linux-5.12.0-rc2-gacc48fec3ae3 Created: Fri Mar 12 23:17:04 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3116839 Bytes = 3043.79 KiB = 2.97 MiB Load Address: 00700000 Entry Point: 007014a0 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc4.9 # Build took: 0:00:39.396879