# git rev-parse -q --verify d10f60ae27d26d811e2a1bb39ded47df96d7499f^{commit} d10f60ae27d26d811e2a1bb39ded47df96d7499f already have revision, skipping fetch # git checkout -q -f -B kisskb d10f60ae27d26d811e2a1bb39ded47df96d7499f # git clean -qxdf # < git log -1 # commit d10f60ae27d26d811e2a1bb39ded47df96d7499f # Author: Christophe Leroy # Date: Mon Oct 14 16:51:28 2019 +0000 # # powerpc/32s: fix allow/prevent_user_access() when crossing segment boundaries. # # Make sure starting addr is aligned to segment boundary so that when # incrementing the segment, the starting address of the new segment is # below the end address. Otherwise the last segment might get missed. # # Fixes: a68c31fc01ef ("powerpc/32s: Implement Kernel Userspace Access Protection") # Signed-off-by: Christophe Leroy # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/067a1b09f15f421d40797c2d04c22d4049a1cee8.1571071875.git.christophe.leroy@c-s.fr # < /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 d10f60ae27d26d811e2a1bb39ded47df96d7499f # < make -s -j 10 ARCH=powerpc O=/kisskb/build/powerpc-fixes_40x_obs600_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 40x/obs600_defconfig # make -s -j 10 ARCH=powerpc O=/kisskb/build/powerpc-fixes_40x_obs600_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/kernel/head_40x.S: Assembler messages: /kisskb/src/arch/powerpc/kernel/head_40x.S:802: Warning: invalid register expression INFO: Uncompressed kernel (size 0x4c9e6c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) Image Name: Linux-5.4.0-rc2-gd10f60ae27d2 Created: Thu Oct 17 16:08:40 2019 Image Type: PowerPC Linux Multi-File Image (gzip compressed) Data Size: 2461562 Bytes = 2403.87 KiB = 2.35 MiB Load Address: 00000000 Entry Point: 00000000 Contents: Image 0: 2454674 Bytes = 2397.14 KiB = 2.34 MiB Image 1: 2 Bytes = 0.00 KiB = 0.00 MiB Image 2: 6866 Bytes = 6.71 KiB = 0.01 MiB Completed OK # rm -rf /kisskb/build/powerpc-fixes_40x_obs600_defconfig_powerpc-gcc5 # Build took: 0:01:14.718360