# git rev-parse -q --verify 4cfa6ff24a9744ba484521c38bea613134fbfcb3^{commit} 4cfa6ff24a9744ba484521c38bea613134fbfcb3 already have revision, skipping fetch # git checkout -q -f -B kisskb 4cfa6ff24a9744ba484521c38bea613134fbfcb3 # git clean -qxdf # < git log -1 # commit 4cfa6ff24a9744ba484521c38bea613134fbfcb3 # Author: Michael Ellerman # Date: Wed Aug 3 16:29:41 2022 +1000 # # powerpc/64e: Fix kexec build error # # When building ppc64_book3e_allmodconfig the build fails with: # # arch/powerpc/kexec/file_load_64.c:1063:14: error: implicit declaration of function ‘firmware_has_feature’ # 1063 | if (!firmware_has_feature(FW_FEATURE_LPAR)) # | ^~~~~~~~~~~~~~~~~~~~ # # Add a direct include of asm/firmware.h to fix the error. # # Fixes: b1fc44eaa9ba ("pseries/iommu/ddw: Fix kdump to work in absence of ibm,dma-window") # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20220803063152.1249270-1-mpe@ellerman.id.au # < /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 4cfa6ff24a9744ba484521c38bea613134fbfcb3 # < make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-next_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 40 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_mpc85xx_cds_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_mpc85xx_cds_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_mpc85xx_cds_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8541cds.dts:341.15-350.5: Warning (pci_device_reg): /pci@e0008000/i8259@19000: PCI unit address format error, expected "12,0" /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8541cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8555cds.dts:341.15-350.5: Warning (pci_device_reg): /pci@e0008000/i8259@19000: PCI unit address format error, expected "12,0" /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8555cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) Completed OK # rm -rf /kisskb/build/powerpc-next_85xx_mpc85xx_cds_defconfig_powerpc-gcc5 # Build took: 0:00:29.498432