# 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/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 f4a7996d700589ff79b521b62ef410cf3fdbe7d6 # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_defconfig # Added to kconfig CONFIG_PPC_E500MC=y # Added to kconfig CONFIG_VIRTUALIZATION=y # Added to kconfig CONFIG_KVM_E500MC=y # Added to kconfig # yes \n | make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/include/linux/kernel.h:11, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/module.h:9, from /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:15: /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/include/linux/err.h:22:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) ^ /kisskb/src/include/linux/compiler.h:78:42: note: in definition of macro 'unlikely' # define unlikely(x) __builtin_expect(!!(x), 0) ^ /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: note: in expansion of macro 'IS_ERR_VALUE' if (IS_ERR_VALUE(fep->ring_mem_addr)) ^~~~~~~~~~~~ /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8541cds.dts:334.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8555cds.dts:334.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) INFO: Uncompressed kernel (size 0xd8a4c0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd8a4c0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd8a4c0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd8a4c0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd8a4c0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd8a4c0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd8a4c0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd8a4c0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd8a4c0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd8a4c0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd8a4c0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd8a4c0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd8a4c0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd8a4c0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd8a4c0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) INFO: Uncompressed kernel (size 0xd79c8c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) Image Name: Linux-5.2.0-rc2-gf4a7996d7005 Created: Fri Jul 12 03:02:08 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6377626 Bytes = 6228.15 KiB = 6.08 MiB Load Address: 00e00000 Entry Point: 00e00314 Image Name: Linux-5.2.0-rc2-gf4a7996d7005 Created: Fri Jul 12 03:02:08 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6377175 Bytes = 6227.71 KiB = 6.08 MiB Load Address: 00e00000 Entry Point: 00e00314 Image Name: Linux-5.2.0-rc2-gf4a7996d7005 Created: Fri Jul 12 03:02:08 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6377053 Bytes = 6227.59 KiB = 6.08 MiB Load Address: 00e00000 Entry Point: 00e002b4 Image Name: Linux-5.2.0-rc2-gf4a7996d7005 Created: Fri Jul 12 03:02:08 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6379126 Bytes = 6229.62 KiB = 6.08 MiB Load Address: 00e00000 Entry Point: 00e002b4 Image Name: Linux-5.2.0-rc2-gf4a7996d7005 Created: Fri Jul 12 03:02:08 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6377697 Bytes = 6228.22 KiB = 6.08 MiB Load Address: 00e00000 Entry Point: 00e00314 Image Name: Linux-5.2.0-rc2-gf4a7996d7005 Created: Fri Jul 12 03:02:08 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6377107 Bytes = 6227.64 KiB = 6.08 MiB Load Address: 00e00000 Entry Point: 00e002b4 Image Name: Linux-5.2.0-rc2-gf4a7996d7005 Created: Fri Jul 12 03:02:08 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6377804 Bytes = 6228.32 KiB = 6.08 MiB Load Address: 00e00000 Entry Point: 00e002b4 Image Name: Linux-5.2.0-rc2-gf4a7996d7005 Created: Fri Jul 12 03:02:08 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6377905 Bytes = 6228.42 KiB = 6.08 MiB Load Address: 00e00000 Entry Point: 00e002b4 Image Name: Linux-5.2.0-rc2-gf4a7996d7005 Created: Fri Jul 12 03:02:08 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6377173 Bytes = 6227.71 KiB = 6.08 MiB Load Address: 00e00000 Entry Point: 00e00314 Image Name: Linux-5.2.0-rc2-gf4a7996d7005 Created: Fri Jul 12 03:02:08 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6377623 Bytes = 6228.15 KiB = 6.08 MiB Load Address: 00e00000 Entry Point: 00e002b4 Image Name: Linux-5.2.0-rc2-gf4a7996d7005 Created: Fri Jul 12 03:02:08 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6377504 Bytes = 6228.03 KiB = 6.08 MiB Load Address: 00e00000 Entry Point: 00e00314 Image Name: Linux-5.2.0-rc2-gf4a7996d7005 Created: Fri Jul 12 03:02:08 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6379738 Bytes = 6230.21 KiB = 6.08 MiB Load Address: 00e00000 Entry Point: 00e002b4 Image Name: Linux-5.2.0-rc2-gf4a7996d7005 Created: Fri Jul 12 03:02:08 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6379947 Bytes = 6230.42 KiB = 6.08 MiB Load Address: 00e00000 Entry Point: 00e002b4 Image Name: Linux-5.2.0-rc2-gf4a7996d7005 Created: Fri Jul 12 03:02:08 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6377627 Bytes = 6228.15 KiB = 6.08 MiB Load Address: 00e00000 Entry Point: 00e002b4 Image Name: Linux-5.2.0-rc2-gf4a7996d7005 Created: Fri Jul 12 03:02:08 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6379611 Bytes = 6230.09 KiB = 6.08 MiB Load Address: 00e00000 Entry Point: 00e002b4 Image Name: Linux-5.2.0-rc2-gf4a7996d7005 Created: Fri Jul 12 03:02:08 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6342213 Bytes = 6193.57 KiB = 6.05 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc8 # Build took: 0:01:28.471053