# 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-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 9c1a41149230e5e2d48c8948943306b8c0c9f242 # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc44x_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc44x_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc44x_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0x579e60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x579e60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x579e60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x579e60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x579e60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x579e60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x579e60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x579e60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x579e60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x569748) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x579e60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x579e60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-4.16.0-rc2-g9c1a411 Created: Sat Mar 24 23:54:29 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2677864 Bytes = 2615.10 kB = 2.55 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.16.0-rc2-g9c1a411 Created: Sat Mar 24 23:54:30 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2702334 Bytes = 2639.00 kB = 2.58 MB Load Address: 00600000 Entry Point: 006010f8 Image Name: Linux-4.16.0-rc2-g9c1a411 Created: Sat Mar 24 23:54:30 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2701975 Bytes = 2638.65 kB = 2.58 MB Load Address: 00600000 Entry Point: 0060110c Image Name: Linux-4.16.0-rc2-g9c1a411 Created: Sat Mar 24 23:54:30 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2702864 Bytes = 2639.52 kB = 2.58 MB Load Address: 00600000 Entry Point: 006010fc Image Name: Linux-4.16.0-rc2-g9c1a411 Created: Sat Mar 24 23:54:30 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2701994 Bytes = 2638.67 kB = 2.58 MB Load Address: 00600000 Entry Point: 0060018c Image Name: Linux-4.16.0-rc2-g9c1a411 Created: Sat Mar 24 23:54:30 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2702829 Bytes = 2639.48 kB = 2.58 MB Load Address: 00600000 Entry Point: 006000a8 Image Name: Linux-4.16.0-rc2-g9c1a411 Created: Sat Mar 24 23:54:30 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2702364 Bytes = 2639.03 kB = 2.58 MB Load Address: 00600000 Entry Point: 00601110 Image Name: Linux-4.16.0-rc2-g9c1a411 Created: Sat Mar 24 23:54:30 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2702919 Bytes = 2639.57 kB = 2.58 MB Load Address: 00600000 Entry Point: 00601104 Image Name: Linux-4.16.0-rc2-g9c1a411 Created: Sat Mar 24 23:54:30 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2702930 Bytes = 2639.58 kB = 2.58 MB Load Address: 00600000 Entry Point: 006010ec Image Name: Linux-4.16.0-rc2-g9c1a411 Created: Sat Mar 24 23:54:30 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2702501 Bytes = 2639.16 kB = 2.58 MB Load Address: 00600000 Entry Point: 00601104 Completed OK # rm -rf /kisskb/build/powerpc-fixes_ppc44x_defconfig_powerpc-5.3 # Build took: 0:00:30.874749