# 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 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pq2fads_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pq2fads_defconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pq2fads_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_32.S: Assembler messages: /kisskb/src/arch/powerpc/kernel/head_32.S:934: Warning: invalid register expression INFO: Uncompressed kernel (size 0x59d7dc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x58d164) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.4.0-rc2-gd10f60ae27d2 Created: Thu Oct 17 16:00:10 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2886758 Bytes = 2819.10 KiB = 2.75 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.4.0-rc2-gd10f60ae27d2 Created: Thu Oct 17 16:00:10 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2917127 Bytes = 2848.76 KiB = 2.78 MiB Load Address: 00600000 Entry Point: 00600894 Completed OK # rm -rf /kisskb/build/powerpc-fixes_pq2fads_defconfig_powerpc-gcc5 # Build took: 0:01:05.589109