# 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/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-ld --version # < git log --format=%s --max-count=1 d10f60ae27d26d811e2a1bb39ded47df96d7499f # < make -s -j 10 ARCH=powerpc O=/kisskb/build/powerpc-fixes_85xx_sbc8548_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- 85xx/sbc8548_defconfig # make -s -j 10 ARCH=powerpc O=/kisskb/build/powerpc-fixes_85xx_sbc8548_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:204:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:338:21: note: 'pdeo' was declared here /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:248:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:228:19: note: 'i' was declared here INFO: Uncompressed kernel (size 0x47c2f0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) INFO: Uncompressed kernel (size 0x46bc68) 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 14:54:54 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2254249 Bytes = 2201.42 KiB = 2.15 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.4.0-rc2-gd10f60ae27d2 Created: Thu Oct 17 14:54:54 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2284801 Bytes = 2231.25 KiB = 2.18 MiB Load Address: 00500000 Entry Point: 005002a8 Completed OK # rm -rf /kisskb/build/powerpc-fixes_85xx_sbc8548_defconfig_powerpc-gcc4.6 # Build took: 0:00:39.288957