# git rev-parse -q --verify 9c1a41149230e5e2d48c8948943306b8c0c9f242^{commit} 9c1a41149230e5e2d48c8948943306b8c0c9f242 already have revision, skipping fetch # git checkout -q -f -B kisskb 9c1a41149230e5e2d48c8948943306b8c0c9f242 # git clean -qxdf # < git log -1 # commit 9c1a41149230e5e2d48c8948943306b8c0c9f242 # Author: Nicholas Piggin # Date: Fri Mar 23 15:53:38 2018 +1000 # # powerpc/64s: Fix i-side SLB miss bad address handler saving nonvolatile GPRs # # The SLB bad address handler's trap number fixup does not preserve the # low bit that indicates nonvolatile GPRs have not been saved. This # leads save_nvgprs to skip saving them, and subsequent functions and # return from interrupt will think they are saved. # # This causes kernel branch-to-garbage debugging to not have correct # registers, can also cause userspace to have its registers clobbered # after a segfault. # # Fixes: f0f558b131 ("powerpc/mm: Preserve CFAR value on SLB miss caused by access to bogus address") # Cc: Paul Mackerras # Signed-off-by: Nicholas Piggin # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < git log --format=%s --max-count=1 9c1a41149230e5e2d48c8948943306b8c0c9f242 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_c2k_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- c2k_defconfig warning: (PPC_C2K && AMIGAONE) selects NOT_COHERENT_CACHE which has unmet direct dependencies (4xx || PPC_8xx || E200 || PPC_MPC512x || GAMECUBE_COMMON) warning: (PPC_C2K && AMIGAONE) selects NOT_COHERENT_CACHE which has unmet direct dependencies (4xx || PPC_8xx || E200 || PPC_MPC512x || GAMECUBE_COMMON) # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_c2k_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- warning: (PPC_C2K && AMIGAONE) selects NOT_COHERENT_CACHE which has unmet direct dependencies (4xx || PPC_8xx || E200 || PPC_MPC512x || GAMECUBE_COMMON) warning: (PPC_C2K && AMIGAONE) selects NOT_COHERENT_CACHE which has unmet direct dependencies (4xx || PPC_8xx || E200 || PPC_MPC512x || GAMECUBE_COMMON) /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:183:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/bridge/br_netlink.c: In function 'br_afspec': /kisskb/src/net/bridge/br_netlink.c:635:7: warning: 'err' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c: In function 'tun_get_user': /kisskb/src/drivers/net/tun.c:1820:30: warning: 'copylen' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c:1730:46: warning: 'linear' may be used uninitialized in this function [-Wuninitialized] INFO: Uncompressed kernel (size 0x6b3e94) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) Image Name: Linux-4.16.0-rc2-g9c1a411 Created: Sat Mar 24 23:29:22 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3245113 Bytes = 3169.06 kB = 3.09 MB Load Address: 00700000 Entry Point: 007004fc Completed OK # rm -rf /kisskb/build/powerpc-fixes_c2k_defconfig_powerpc # Build took: 0:01:25.623197