# git rev-parse -q --verify 16d83a540ca4e7f1ebb2b3756869b77451d31414^{commit} 16d83a540ca4e7f1ebb2b3756869b77451d31414 already have revision, skipping fetch # git checkout -q -f -B kisskb 16d83a540ca4e7f1ebb2b3756869b77451d31414 # git clean -qxdf # < git log -1 # commit 16d83a540ca4e7f1ebb2b3756869b77451d31414 # Author: Pratik Rajesh Sampat # Date: Wed Aug 26 13:59:18 2020 +0530 # # Revert "powerpc/powernv/idle: Replace CPU feature check with PVR check" # # cpuidle stop state implementation has minor optimizations for P10 # where hardware preserves more SPR registers compared to P9. The # current P9 driver works for P10, although does few extra # save-restores. P9 driver can provide the required power management # features like SMT thread folding and core level power savings on a P10 # platform. # # Until the P10 stop driver is available, revert the commit which allows # for only P9 systems to utilize cpuidle and blocks all idle stop states # for P10. CPU idle states are enabled and tested on the P10 platform # with this fix. # # This reverts commit 8747bf36f312356f8a295a0c39ff092d65ce75ae. # # Fixes: 8747bf36f312 ("powerpc/powernv/idle: Replace CPU feature check with PVR check") # Signed-off-by: Pratik Rajesh Sampat # Reviewed-by: Vaidyanathan Srinivasan # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20200826082918.89306-1-psampat@linux.ibm.com # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 16d83a540ca4e7f1ebb2b3756869b77451d31414 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc83xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc83xx_defconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc83xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc83xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc83xx_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/block/genhd.c: In function 'diskstats_show': /kisskb/src/block/genhd.c:1667:1: warning: the frame size of 1160 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ INFO: Uncompressed kernel (size 0x6dc5bc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6dc5bc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6dc5bc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6dc5bc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6dc5bc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6dc5bc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6dc5bc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6cbed4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) Image Name: Linux-5.9.0-rc1-g16d83a540ca4 Created: Fri Aug 28 00:18:53 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3518437 Bytes = 3435.97 KiB = 3.36 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.9.0-rc1-g16d83a540ca4 Created: Fri Aug 28 00:18:53 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3548919 Bytes = 3465.74 KiB = 3.38 MiB Load Address: 00700000 Entry Point: 00700294 Image Name: Linux-5.9.0-rc1-g16d83a540ca4 Created: Fri Aug 28 00:18:53 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3548992 Bytes = 3465.81 KiB = 3.38 MiB Load Address: 00700000 Entry Point: 00700294 Image Name: Linux-5.9.0-rc1-g16d83a540ca4 Created: Fri Aug 28 00:18:53 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3549391 Bytes = 3466.20 KiB = 3.38 MiB Load Address: 00700000 Entry Point: 00700294 Image Name: Linux-5.9.0-rc1-g16d83a540ca4 Created: Fri Aug 28 00:18:53 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3548860 Bytes = 3465.68 KiB = 3.38 MiB Load Address: 00700000 Entry Point: 00700294 Image Name: Linux-5.9.0-rc1-g16d83a540ca4 Created: Fri Aug 28 00:18:53 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3548422 Bytes = 3465.26 KiB = 3.38 MiB Load Address: 00700000 Entry Point: 00700294 Image Name: Linux-5.9.0-rc1-g16d83a540ca4 Created: Fri Aug 28 00:18:53 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3549014 Bytes = 3465.83 KiB = 3.38 MiB Load Address: 00700000 Entry Point: 00700294 Completed OK # rm -rf /kisskb/build/powerpc-fixes_mpc83xx_defconfig_powerpc-gcc4.9 # Build took: 0:01:02.266820