# 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-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 78807804b0854ecb7dc6906e379fc688aca36456 # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc5200_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc5200_defconfig # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc5200_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc5200_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc5200_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/platforms/52xx/lite5200_sleep.S: Assembler messages: /kisskb/src/arch/powerpc/platforms/52xx/lite5200_sleep.S:184: Warning: invalid register expression /kisskb/src/block/genhd.c: In function 'diskstats_show': /kisskb/src/block/genhd.c:1623: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 1384 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ INFO: Uncompressed kernel (size 0x7314ec) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) INFO: Uncompressed kernel (size 0x7314ec) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) INFO: Uncompressed kernel (size 0x7314ec) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) INFO: Uncompressed kernel (size 0x720e34) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x800000) Image Name: Linux-5.8.0-rc2-g78807804b085 Created: Mon Jul 27 05:00:48 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3694369 Bytes = 3607.78 KiB = 3.52 MiB Load Address: 00800000 Entry Point: 00800274 Image Name: Linux-5.8.0-rc2-g78807804b085 Created: Mon Jul 27 05:00:48 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3694288 Bytes = 3607.70 KiB = 3.52 MiB Load Address: 00800000 Entry Point: 00800274 Image Name: Linux-5.8.0-rc2-g78807804b085 Created: Mon Jul 27 05:00:48 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3664300 Bytes = 3578.42 KiB = 3.49 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.8.0-rc2-g78807804b085 Created: Mon Jul 27 05:00:48 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3694410 Bytes = 3607.82 KiB = 3.52 MiB Load Address: 00800000 Entry Point: 00800274 Completed OK # rm -rf /kisskb/build/powerpc-next_mpc5200_defconfig_powerpc-gcc4.9 # Build took: 0:01:20.015400