# git rev-parse -q --verify f4a7996d700589ff79b521b62ef410cf3fdbe7d6^{commit} f4a7996d700589ff79b521b62ef410cf3fdbe7d6 already have revision, skipping fetch # git checkout -q -f -B kisskb f4a7996d700589ff79b521b62ef410cf3fdbe7d6 # git clean -qxdf # < git log -1 # commit f4a7996d700589ff79b521b62ef410cf3fdbe7d6 # Author: Athira Rajeev # Date: Tue Jul 2 16:28:36 2019 +0530 # # powerpc/powernv/idle: Fix restore of SPRN_LDBAR for POWER9 stop state. # # commit 10d91611f426 ("powerpc/64s: Reimplement book3s idle code in C") # reimplemented book3S code to pltform/powernv/idle.c. But when doing so # missed to add the per-thread LDBAR update in the core_woken path of # the power9_idle_stop(). Patch fixes the same. # # Fixes: 10d91611f426 ("powerpc/64s: Reimplement book3s idle code in C") # Cc: stable@vger.kernel.org # v5.2+ # Signed-off-by: Athira Rajeev # Signed-off-by: Madhavan Srinivasan # Reviewed-by: Nicholas Piggin # Link: https://lore.kernel.org/r/20190702105836.26695-1-maddy@linux.vnet.ibm.com # < /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 f4a7996d700589ff79b521b62ef410cf3fdbe7d6 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc8272_ads_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- mpc8272_ads_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc8272_ads_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:194: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:331:21: note: 'pdeo' was declared here /kisskb/src/kernel/futex.c: In function 'do_futex': /kisskb/src/kernel/futex.c:1658:3: warning: 'oldval' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/futex.c:1633:6: note: 'oldval' was declared here /kisskb/src/drivers/net/tun.c: In function 'tun_get_user': /kisskb/src/drivers/net/tun.c:1851:30: warning: 'copylen' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c:1764:46: warning: 'linear' may be used uninitialized in this function [-Wuninitialized] INFO: Uncompressed kernel (size 0x575238) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x564c60) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.2.0-rc2-gf4a7996d7005 Created: Fri Jul 12 01:37:11 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2778703 Bytes = 2713.58 KiB = 2.65 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.2.0-rc2-gf4a7996d7005 Created: Fri Jul 12 01:37:11 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2811615 Bytes = 2745.72 KiB = 2.68 MiB Load Address: 00600000 Entry Point: 00600888 Completed OK # rm -rf /kisskb/build/powerpc-next_mpc8272_ads_defconfig_powerpc-gcc4.6 # Build took: 0:00:51.594070