# 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-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 acc48fec3ae30fd2c049c39582e1c4fdf25480ee # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_mpc85xx_cds_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 85xx/mpc85xx_cds_defconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_mpc85xx_cds_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_mpc85xx_cds_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_mpc85xx_cds_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8541cds.dts:330.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:330.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 0x5bdaf8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5bdaf8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5bdaf8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5ad4d8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.12.0-rc2-95082-gacc48fec Created: Fri Mar 12 20:48:42 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2954491 Bytes = 2885.25 KiB = 2.82 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.12.0-rc2-95082-gacc48fec Created: Fri Mar 12 20:48:43 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2984172 Bytes = 2914.23 KiB = 2.85 MiB Load Address: 00600000 Entry Point: 006002a4 Image Name: Linux-5.12.0-rc2-95082-gacc48fec Created: Fri Mar 12 20:48:43 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2982989 Bytes = 2913.08 KiB = 2.84 MiB Load Address: 00600000 Entry Point: 006002a4 Image Name: Linux-5.12.0-rc2-95082-gacc48fec Created: Fri Mar 12 20:48:43 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2982989 Bytes = 2913.08 KiB = 2.84 MiB Load Address: 00600000 Entry Point: 006002a4 Completed OK # rm -rf /kisskb/build/powerpc-next_85xx_mpc85xx_cds_defconfig_powerpc-gcc5 # Build took: 0:00:47.025726