# git rev-parse -q --verify dbbd7a68c8d47293bd8d027841b06dd5137e0fcc^{commit} dbbd7a68c8d47293bd8d027841b06dd5137e0fcc already have revision, skipping fetch # git checkout -q -f -B kisskb dbbd7a68c8d47293bd8d027841b06dd5137e0fcc # git clean -qxdf # < git log -1 # commit dbbd7a68c8d47293bd8d027841b06dd5137e0fcc # Author: Michael Neuling # Date: Mon Aug 3 13:56:00 2020 +1000 # # powerpc: Fix P10 PVR revision in /proc/cpuinfo for SMT4 cores # # On POWER10 bit 12 in the PVR indicates if the core is SMT4 or # SMT8. Bit 12 is set for SMT4. # # Without this patch, /proc/cpuinfo on a SMT4 DD1 POWER10 looks like # this: # cpu : POWER10, altivec supported # revision : 17.0 (pvr 0080 1100) # # Signed-off-by: Michael Neuling # Reviewed-by: Vaidyanathan Srinivasan # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20200803035600.1820371-1-mikey@neuling.org # < /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 dbbd7a68c8d47293bd8d027841b06dd5137e0fcc # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_chrp32_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- chrp32_defconfig # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_chrp32_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_chrp32_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_chrp32_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:1623:1: warning: the frame size of 1168 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ Completed OK # rm -rf /kisskb/build/powerpc-next_chrp32_defconfig_powerpc-gcc4.9 # Build took: 0:00:56.971616