# 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_pseries_defconfig+FA_DUMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pseries_defconfig # Added to kconfig CONFIG_CRASH_DUMP=y # Added to kconfig CONFIG_FA_DUMP=y # < make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-next_pseries_defconfig+FA_DUMP_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_pseries_defconfig+FA_DUMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4276:warning: override: reassigning to symbol CRASH_DUMP .config:4277:warning: override: reassigning to symbol FA_DUMP # make -s -j 40 ARCH=powerpc O=/kisskb/build/powerpc-next_pseries_defconfig+FA_DUMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/powerpc-next_pseries_defconfig+FA_DUMP_powerpc-gcc5 # Build took: 0:01:44.282378