# 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-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-9.2.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_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_defconfig # Added to kconfig CONFIG_PPC_E500MC=y # Added to kconfig CONFIG_VIRTUALIZATION=y # Added to kconfig CONFIG_KVM_E500MC=y # Added to kconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4194:warning: override: reassigning to symbol PPC_E500MC .config:4195:warning: override: reassigning to symbol VIRTUALIZATION # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/drivers/net/phy/phy_device.c:293:12: warning: 'mdio_bus_phy_resume' defined but not used [-Wunused-function] 293 | static int mdio_bus_phy_resume(struct device *dev) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/phy/phy_device.c:273:12: warning: 'mdio_bus_phy_suspend' defined but not used [-Wunused-function] 273 | static int mdio_bus_phy_suspend(struct device *dev) | ^~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/kernel.h:10, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:12, from /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:15: /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/include/linux/err.h:22:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 22 | #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) | ^ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: note: in expansion of macro 'IS_ERR_VALUE' 139 | if (IS_ERR_VALUE(fep->ring_mem_addr)) | ^~~~~~~~~~~~ /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) /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) INFO: Uncompressed kernel (size 0xf4ab84) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4ab84) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4ab84) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4ab84) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4ab84) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4ab84) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4ab84) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4ab84) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4ab84) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4ab84) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4ab84) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4ab84) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4ab84) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4ab84) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf4ab84) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) INFO: Uncompressed kernel (size 0xf3a458) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) Image Name: Linux-5.12.0-rc2-gacc48fec3ae3 Created: Fri Mar 12 21:44:18 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7050877 Bytes = 6885.62 KiB = 6.72 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.12.0-rc2-gacc48fec3ae3 Created: Fri Mar 12 21:44:20 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7085911 Bytes = 6919.83 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.12.0-rc2-gacc48fec3ae3 Created: Fri Mar 12 21:44:20 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7086454 Bytes = 6920.37 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.12.0-rc2-gacc48fec3ae3 Created: Fri Mar 12 21:44:21 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7086232 Bytes = 6920.15 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.12.0-rc2-gacc48fec3ae3 Created: Fri Mar 12 21:44:21 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7086468 Bytes = 6920.38 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 0100031c Image Name: Linux-5.12.0-rc2-gacc48fec3ae3 Created: Fri Mar 12 21:44:20 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7086930 Bytes = 6920.83 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.12.0-rc2-gacc48fec3ae3 Created: Fri Mar 12 21:44:21 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7088158 Bytes = 6922.03 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 0100031c Image Name: Linux-5.12.0-rc2-gacc48fec3ae3 Created: Fri Mar 12 21:44:21 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7086954 Bytes = 6920.85 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.12.0-rc2-gacc48fec3ae3 Created: Fri Mar 12 21:44:21 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7086612 Bytes = 6920.52 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.12.0-rc2-gacc48fec3ae3 Created: Fri Mar 12 21:44:22 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7085902 Bytes = 6919.83 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.12.0-rc2-gacc48fec3ae3 Created: Fri Mar 12 21:44:22 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7086467 Bytes = 6920.38 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 0100031c Image Name: Linux-5.12.0-rc2-gacc48fec3ae3 Created: Fri Mar 12 21:44:22 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7085898 Bytes = 6919.82 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 0100031c Image Name: Linux-5.12.0-rc2-gacc48fec3ae3 Created: Fri Mar 12 21:44:22 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7085943 Bytes = 6919.87 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.12.0-rc2-gacc48fec3ae3 Created: Fri Mar 12 21:44:22 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7085867 Bytes = 6919.79 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 010002cc Image Name: Linux-5.12.0-rc2-gacc48fec3ae3 Created: Fri Mar 12 21:44:22 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7088554 Bytes = 6922.42 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 0100031c Image Name: Linux-5.12.0-rc2-gacc48fec3ae3 Created: Fri Mar 12 21:44:22 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 7086441 Bytes = 6920.35 KiB = 6.76 MiB Load Address: 01000000 Entry Point: 010002cc Completed OK # rm -rf /kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc9 # Build took: 0:02:45.632090