# 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_mpc83xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc83xx_defconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc83xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0x63bbe4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x63bbe4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x63bbe4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x63bbe4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x63bbe4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x63bbe4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x63bbe4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x62b4cc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) Image Name: Linux-4.20.0-gf460772291f8 Created: Sun Dec 30 15:54:29 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3166967 Bytes = 3092.74 KiB = 3.02 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.20.0-gf460772291f8 Created: Sun Dec 30 15:54:29 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3197418 Bytes = 3122.48 KiB = 3.05 MiB Load Address: 00700000 Entry Point: 00700294 Image Name: Linux-4.20.0-gf460772291f8 Created: Sun Dec 30 15:54:29 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3195727 Bytes = 3120.83 KiB = 3.05 MiB Load Address: 00700000 Entry Point: 00700294 Image Name: Linux-4.20.0-gf460772291f8 Created: Sun Dec 30 15:54:29 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3195761 Bytes = 3120.86 KiB = 3.05 MiB Load Address: 00700000 Entry Point: 00700294 Image Name: Linux-4.20.0-gf460772291f8 Created: Sun Dec 30 15:54:29 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3195434 Bytes = 3120.54 KiB = 3.05 MiB Load Address: 00700000 Entry Point: 00700294 Image Name: Linux-4.20.0-gf460772291f8 Created: Sun Dec 30 15:54:29 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3196015 Bytes = 3121.11 KiB = 3.05 MiB Load Address: 00700000 Entry Point: 00700294 Image Name: Linux-4.20.0-gf460772291f8 Created: Sun Dec 30 15:54:29 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3196022 Bytes = 3121.12 KiB = 3.05 MiB Load Address: 00700000 Entry Point: 00700294 Completed OK # rm -rf /kisskb/build/powerpc-fixes_mpc83xx_defconfig_powerpc-gcc5 # Build took: 0:00:47.594782