# git rev-parse -q --verify 78807804b0854ecb7dc6906e379fc688aca36456^{commit} 78807804b0854ecb7dc6906e379fc688aca36456 already have revision, skipping fetch # git checkout -q -f -B kisskb 78807804b0854ecb7dc6906e379fc688aca36456 # git clean -qxdf # < git log -1 # commit 78807804b0854ecb7dc6906e379fc688aca36456 # Author: Sandipan Das # Date: Thu Jul 16 16:33:47 2020 +0530 # # selftests/powerpc: Add test for pkey siginfo verification # # Commit c46241a370a61 ("powerpc/pkeys: Check vma before # returning key fault error to the user") fixes a bug which # causes the kernel to set the wrong pkey in siginfo when a # pkey fault occurs after two competing threads that have # allocated different pkeys, one fully permissive and the # other restrictive, attempt to protect a common page at the # same time. This adds a test to detect the bug. # # Signed-off-by: Sandipan Das # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/af137a935684955a60f13de2eb4ca358284f3d7c.1594897099.git.sandipan@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 78807804b0854ecb7dc6906e379fc688aca36456 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc6xx_defconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_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_ppc6xx_defconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0xc05aac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc05aac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc05aac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc05aac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc05aac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc05aac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc05aac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc05aac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc05aac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc05aac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xbf53c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbf53c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-5.8.0-rc2+ Created: Mon Jul 27 04:08:39 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5630975 Bytes = 5499.00 KiB = 5.37 MiB Load Address: 00d00000 Entry Point: 00d002ac Image Name: Linux-5.8.0-rc2+ Created: Mon Jul 27 04:08:40 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5630759 Bytes = 5498.79 KiB = 5.37 MiB Load Address: 00d00000 Entry Point: 00d002ac Image Name: Linux-5.8.0-rc2+ Created: Mon Jul 27 04:08:40 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5631125 Bytes = 5499.15 KiB = 5.37 MiB Load Address: 00d00000 Entry Point: 00d002ac Image Name: Linux-5.8.0-rc2+ Created: Mon Jul 27 04:08:41 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5631515 Bytes = 5499.53 KiB = 5.37 MiB Load Address: 00d00000 Entry Point: 00d0090c Image Name: Linux-5.8.0-rc2+ Created: Mon Jul 27 04:08:40 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5630918 Bytes = 5498.94 KiB = 5.37 MiB Load Address: 00d00000 Entry Point: 00d002ac Image Name: Linux-5.8.0-rc2+ Created: Mon Jul 27 04:08:40 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5595906 Bytes = 5464.75 KiB = 5.34 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.8.0-rc2+ Created: Mon Jul 27 04:08:41 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5631573 Bytes = 5499.58 KiB = 5.37 MiB Load Address: 00d00000 Entry Point: 00d0090c Image Name: Linux-5.8.0-rc2+ Created: Mon Jul 27 04:08:41 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5630320 Bytes = 5498.36 KiB = 5.37 MiB Load Address: 00d00000 Entry Point: 00d002ac Image Name: Linux-5.8.0-rc2+ Created: Mon Jul 27 04:08:42 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5630792 Bytes = 5498.82 KiB = 5.37 MiB Load Address: 00d00000 Entry Point: 00d002ac Completed OK # rm -rf /kisskb/build/powerpc-next_ppc6xx_defconfig_powerpc-gcc9 # Build took: 0:04:24.821317