# git rev-parse -q --verify f460772291f8171988b2b60141a45706123d0c69^{commit} f460772291f8171988b2b60141a45706123d0c69 already have revision, skipping fetch # git checkout -q -f -B kisskb f460772291f8171988b2b60141a45706123d0c69 # git clean -qxdf # < git log -1 # commit f460772291f8171988b2b60141a45706123d0c69 # Author: Michael Ellerman # Date: Sun Dec 30 14:05:13 2018 +1100 # # KVM: PPC: Book3S HV: radix: Fix uninitialized var build error # # Old GCCs (4.6.3 at least), aren't able to follow the logic in # __kvmhv_copy_tofrom_guest_radix() and warn that old_pid is used # uninitialized: # # arch/powerpc/kvm/book3s_64_mmu_radix.c:75:3: error: 'old_pid' may be # used uninitialized in this function # # The logic is OK, we only use old_pid if quadrant == 1, and in that # case it has definitely be initialised, eg: # # if (quadrant == 1) { # old_pid = mfspr(SPRN_PID); # ... # if (quadrant == 1 && pid != old_pid) # mtspr(SPRN_PID, old_pid); # # Annotate it to fix the error. # # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 f460772291f8171988b2b60141a45706123d0c69 # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-fixes_85xx_ksi8560_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 85xx/ksi8560_defconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-fixes_85xx_ksi8560_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0x4bf380) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) INFO: Uncompressed kernel (size 0x4aecc0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) Image Name: Linux-4.20.0-gf460772291f8 Created: Sun Dec 30 16:09:41 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2453026 Bytes = 2395.53 KiB = 2.34 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.20.0-gf460772291f8 Created: Sun Dec 30 16:09:41 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2483686 Bytes = 2425.47 KiB = 2.37 MiB Load Address: 00500000 Entry Point: 00500314 Completed OK # rm -rf /kisskb/build/powerpc-fixes_85xx_ksi8560_defconfig_powerpc-gcc5 # Build took: 0:00:39.767279