# 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 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc6xx_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc6xx_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc6xx_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/sound/ppc/pmac.h:25:0, from /kisskb/src/sound/ppc/awacs.c:29: /kisskb/src/sound/ppc/awacs.c: In function 'snd_pmac_awacs_init': /kisskb/src/include/sound/control.h:220:9: warning: 'speaker_vol' may be used uninitialized in this function [-Wmaybe-uninitialized] return _snd_ctl_add_slave(master, slave, 0); ^ /kisskb/src/sound/ppc/awacs.c:886:36: note: 'speaker_vol' was declared here struct snd_kcontrol *master_vol, *speaker_vol; ^ /kisskb/src/drivers/input/joystick/analog.c:176:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] #warning Precise timer not defined for this architecture. ^ WARNING: modpost: Found 1 section mismatch(es). To see full details build your kernel with: 'make CONFIG_DEBUG_SECTION_MISMATCH=y' arch/powerpc/boot/mpc832x_rdb.dtb: Warning (interrupts_property): interrupts size is (4), expected multiple of 8 in /qe@e0100000/mdio@3120/ethernet-phy@0 arch/powerpc/boot/mpc832x_rdb.dtb: Warning (interrupts_property): interrupts size is (4), expected multiple of 8 in /qe@e0100000/mdio@3120/ethernet-phy@4 INFO: Uncompressed kernel (size 0xa556c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa556c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa556c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa556c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa556c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa556c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa556c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa556c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa556c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa44f6c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa556c4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) INFO: Uncompressed kernel (size 0xa44f6c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xb00000) Image Name: Linux-4.16.0-rc2+ Created: Sat Mar 24 23:58:27 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4871390 Bytes = 4757.22 kB = 4.65 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.16.0-rc2+ Created: Sat Mar 24 23:58:27 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4894923 Bytes = 4780.20 kB = 4.67 MB Load Address: 00b00000 Entry Point: 00b001f4 Image Name: Linux-4.16.0-rc2+ Created: Sat Mar 24 23:58:28 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4894853 Bytes = 4780.13 kB = 4.67 MB Load Address: 00b00000 Entry Point: 00b001f4 Image Name: Linux-4.16.0-rc2+ Created: Sat Mar 24 23:58:29 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4894808 Bytes = 4780.09 kB = 4.67 MB Load Address: 00b00000 Entry Point: 00b001f4 Image Name: Linux-4.16.0-rc2+ Created: Sat Mar 24 23:58:29 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4895363 Bytes = 4780.63 kB = 4.67 MB Load Address: 00b00000 Entry Point: 00b001f4 Image Name: Linux-4.16.0-rc2+ Created: Sat Mar 24 23:58:30 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4895231 Bytes = 4780.50 kB = 4.67 MB Load Address: 00b00000 Entry Point: 00b007a0 Image Name: Linux-4.16.0-rc2+ Created: Sat Mar 24 23:58:30 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4895416 Bytes = 4780.68 kB = 4.67 MB Load Address: 00b00000 Entry Point: 00b007a0 Image Name: Linux-4.16.0-rc2+ Created: Sat Mar 24 23:58:31 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4894857 Bytes = 4780.13 kB = 4.67 MB Load Address: 00b00000 Entry Point: 00b001f4 Image Name: Linux-4.16.0-rc2+ Created: Sat Mar 24 23:58:31 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 4894526 Bytes = 4779.81 kB = 4.67 MB Load Address: 00b00000 Entry Point: 00b001f4 Completed OK # rm -rf /kisskb/build/powerpc-fixes_ppc6xx_defconfig_powerpc-5.3 # Build took: 0:03:04.951481