# 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 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_85xx_mpc85xx_cds_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 85xx/mpc85xx_cds_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_85xx_mpc85xx_cds_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- arch/powerpc/boot/dts/fsl/mpc8541cds.dtb: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) arch/powerpc/boot/dts/fsl/mpc8555cds.dtb: 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 0x4fe91c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) INFO: Uncompressed kernel (size 0x4fe91c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) INFO: Uncompressed kernel (size 0x4fe91c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) INFO: Uncompressed kernel (size 0x4ee1f4) 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:10:14 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2612914 Bytes = 2551.67 KiB = 2.49 MiB Load Address: 00500000 Entry Point: 005002a4 Image Name: Linux-4.20.0-gf460772291f8 Created: Sun Dec 30 16:10:14 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2612918 Bytes = 2551.68 KiB = 2.49 MiB Load Address: 00500000 Entry Point: 005002a4 Image Name: Linux-4.20.0-gf460772291f8 Created: Sun Dec 30 16:10:14 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2614307 Bytes = 2553.03 KiB = 2.49 MiB Load Address: 00500000 Entry Point: 005002a4 Image Name: Linux-4.20.0-gf460772291f8 Created: Sun Dec 30 16:10:14 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2583072 Bytes = 2522.53 KiB = 2.46 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-fixes_85xx_mpc85xx_cds_defconfig_powerpc-gcc5 # Build took: 0:00:24.035891