# 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 32 ARCH=powerpc O=/kisskb/build/powerpc-next_40x_walnut_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 40x/walnut_defconfig # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_40x_walnut_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_40x_walnut_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_40x_walnut_defconfig_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_40x_walnut_defconfig_powerpc-gcc5 # Build took: 0:00:30.695137