# git rev-parse -q --verify fc546faa559538fb312c77e055243ece18ab3288^{commit} fc546faa559538fb312c77e055243ece18ab3288 already have revision, skipping fetch # git checkout -q -f -B kisskb fc546faa559538fb312c77e055243ece18ab3288 # git clean -qxdf # < git log -1 # commit fc546faa559538fb312c77e055243ece18ab3288 # Author: Sourabh Jain # Date: Tue Jan 31 08:36:15 2023 +0530 # # powerpc/kexec_file: Count hot-pluggable memory in FDT estimate # # On Systems where online memory is lesser compared to max memory, the # kexec_file_load system call may fail to load the kdump kernel with the # below errors: # # "Failed to update fdt with linux,drconf-usable-memory property" # "Error setting up usable-memory property for kdump kernel" # # This happens because the size estimation for usable memory properties # for the kdump kernel's FDT is based on the online memory whereas the # usable memory properties include max memory. In short, the hot-pluggable # memory is not accounted for while estimating the size of the usable # memory properties. # # The issue is addressed by calculating usable memory property size using # max hotplug address instead of the last online memory address. # # Fixes: 2377c92e37fe ("powerpc/kexec_file: fix FDT size estimation for kdump kernel") # Signed-off-by: Sourabh Jain # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20230131030615.729894-1-sourabhjain@linux.ibm.com # < /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 fc546faa559538fb312c77e055243ece18ab3288 # < make -s -j 160 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 160 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- help # make -s -j 160 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- olddefconfig # make -s -j 160 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- /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-fixes_85xx_mpc85xx_cds_defconfig_powerpc-gcc5 # Build took: 0:00:36.806192