# git rev-parse -q --verify eaa567ccaf3a2a7b14ffa38af4bd09613aa1830f^{commit} eaa567ccaf3a2a7b14ffa38af4bd09613aa1830f already have revision, skipping fetch # git checkout -q -f -B kisskb eaa567ccaf3a2a7b14ffa38af4bd09613aa1830f # git clean -qxdf # < git log -1 # commit eaa567ccaf3a2a7b14ffa38af4bd09613aa1830f # Author: Hari Bathini # Date: Mon Jul 27 01:10:28 2020 +0530 # # ppc64/kexec_file: fix kexec load failure with lack of memory hole # # The kexec purgatory has to run in real mode. Only the first memory # block maybe accessible in real mode. And, unlike the case with panic # kernel, no memory is set aside for regular kexec load. Another thing # to note is, the memory for crashkernel is reserved at an offset of # 128MB. So, when crashkernel memory is reserved, the memory ranges to # load kexec segments shrink further as the generic code only looks for # memblock free memory ranges and in all likelihood only a tiny bit of # memory from 0 to 128MB would be available to load kexec segments. # # With kdump being used by default in general, kexec file load is likely # to fail almost always. This can be fixed by changing the memory hole # lookup logic for regular kexec to use the same method as kdump. This # would mean that most kexec segments will overlap with crashkernel # memory region. That should still be ok as the pages, whose destination # address isn't available while loading, are placed in an intermediate # location till a flush to the actual destination address happens during # kexec boot sequence. # # Signed-off-by: Hari Bathini # Tested-by: Pingfan Liu # Reviewed-by: Thiago Jung Bauermann # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/159579242226.5790.13933486642004084417.stgit@hbathini # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 eaa567ccaf3a2a7b14ffa38af4bd09613aa1830f # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64_book3e_allmodconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64_book3e_allmodconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64_book3e_allmodconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64_book3e_allmodconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc64_book3e_allmodconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/boot/dts/stxssa8555.dts:329.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/p2020rdb.dts:251.22-254.4: Warning (pci_bridge): /pcie@ffe08000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/p2020si-post.dtsi:43.7-68.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p2020si-post.dtsi:52.9-67.4: Warning (pci_bridge): /pcie@ffe08000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2020rdb.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2dnt2.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/o2d.dtsi:32.12-43.5 arch/powerpc/boot/dts/o2dnt2.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/fsl/mvme7100.dts:135.22-137.4: Warning (pci_bridge): /pcie@f1008000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:92.7-117.3 /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:102.9-116.4: Warning (pci_bridge): /pcie@f1008000/pcie@0: missing ranges for PCI bridge (or not a bridge) /kisskb/src/arch/powerpc/boot/dts/fsl/mvme7100.dts:139.22-141.4: Warning (pci_bridge): /pcie@f1009000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:119.7-144.3 /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:129.9-143.4: Warning (pci_bridge): /pcie@f1009000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/mvme7100.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/mvme7100.dts:30.11-32.6: Warning (i2c_bus_reg): /soc@f1000000/i2c@3000/rtc@68: missing or empty reg property /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/uc101.dts:100.15-102.4 arch/powerpc/boot/dts/uc101.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc8610_hpcd.dts:420.3-21: Warning (pci_device_bus_num): /pcie@e000a000/pcie@0:bus-range: PCI bus number 0 out of range, expected (1 - 1) /kisskb/src/arch/powerpc/boot/dts/fsl/p1020rdb-pd.dts:189.11-193.6: Warning (spi_bus_reg): /soc@ffe00000/spi@7000/slic@0: SPI bus unit address format error, expected "1" /kisskb/src/arch/powerpc/boot/dts/fsl/p1020rdb-pd.dts:195.11-199.6: Warning (spi_bus_reg): /soc@ffe00000/spi@7000/slic@1: SPI bus unit address format error, expected "2" /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) /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2i.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/o2d.dtsi:32.12-43.5 arch/powerpc/boot/dts/o2i.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/bluestone.dts:272.13-277.7: Warning (i2c_bus_reg): /plb/opb/i2c@ef600700/sttm@4C: I2C bus unit address format error, expected "4c" /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/a3m071.dts:135.15-137.4 arch/powerpc/boot/dts/a3m071.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/fsl/gef_sbc610.dts:209.22-211.4: Warning (pci_bridge): /pcie@fef09000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:119.7-144.3 /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:129.9-143.4: Warning (pci_bridge): /pcie@fef09000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/gef_sbc610.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2d300.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/o2d.dtsi:32.12-43.5 arch/powerpc/boot/dts/o2d300.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/kmcoge4.dts:196.23-198.4: Warning (pci_bridge): /pcie@ffe201000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/p2041si-post.dtsi:87.7-113.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p2041si-post.dtsi:97.9-112.4: Warning (pci_bridge): /pcie@ffe201000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/kmcoge4.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5121.dtsi:397.13-406.5: Warning (spi_bus_bridge): /soc@80000000/psc@11400: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/ac14xx.dts:305.19-326.5 /kisskb/src/arch/powerpc/boot/dts/mpc5121.dtsi:409.13-418.5: Warning (spi_bus_bridge): /soc@80000000/psc@11500: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/ac14xx.dts:329.19-344.5 arch/powerpc/boot/dts/ac14xx.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2d.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/o2d.dtsi:32.12-43.5 arch/powerpc/boot/dts/o2d.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/cm5200.dts:70.15-72.4 arch/powerpc/boot/dts/cm5200.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/gef_ppc9a.dts:211.22-213.4: Warning (pci_bridge): /pcie@fef09000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:119.7-144.3 /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:129.9-143.4: Warning (pci_bridge): /pcie@fef09000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/gef_ppc9a.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5121.dtsi:457.13-466.5: Warning (spi_bus_bridge): /soc@80000000/psc@11900: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/pdm360ng.dts:172.13-185.5 arch/powerpc/boot/dts/pdm360ng.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' /kisskb/src/arch/powerpc/boot/dts/mgcoge.dts:230.14-234.7: Warning (spi_bus_reg): /soc@f0000000/cpm@119c0/spi@11aa0/ds3106@1: SPI bus unit address format error, expected "0" /kisskb/src/arch/powerpc/boot/dts/fsl/oca4080.dts:132.23-134.4: Warning (pci_bridge): /pcie@ffe200000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:58.7-84.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:68.9-83.4: Warning (pci_bridge): /pcie@ffe200000/pcie@0: missing ranges for PCI bridge (or not a bridge) /kisskb/src/arch/powerpc/boot/dts/fsl/oca4080.dts:136.23-138.4: Warning (pci_bridge): /pcie@ffe201000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:87.7-113.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:97.9-112.4: Warning (pci_bridge): /pcie@ffe201000/pcie@0: missing ranges for PCI bridge (or not a bridge) /kisskb/src/arch/powerpc/boot/dts/fsl/oca4080.dts:140.23-142.4: Warning (pci_bridge): /pcie@ffe202000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:116.7-142.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:126.9-141.4: Warning (pci_bridge): /pcie@ffe202000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/oca4080.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/p2020rdb-pc_36b.dts:59.23-62.4: Warning (pci_bridge): /pcie@fffe08000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/p2020si-post.dtsi:100.7-126.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p2020si-post.dtsi:109.9-125.4: Warning (pci_bridge): /pcie@fffe08000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2020rdb-pc_36b.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/ppa8548.dts:34.22-37.4: Warning (pci_bridge): /pci@fe0008000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8548si-post.dtsi:43.7-51.3 /kisskb/src/arch/powerpc/boot/dts/fsl/ppa8548.dts:39.22-42.4: Warning (pci_bridge): /pci@fe0009000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8548si-post.dtsi:54.7-62.3 /kisskb/src/arch/powerpc/boot/dts/fsl/ppa8548.dts:44.23-47.4: Warning (pci_bridge): /pcie@fe000a000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8548si-post.dtsi:65.7-90.3 /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8548si-post.dtsi:74.9-89.4: Warning (pci_bridge): /pcie@fe000a000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/ppa8548.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/p2020rdb-pc_32b.dts:59.22-62.4: Warning (pci_bridge): /pcie@ffe08000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/p2020si-post.dtsi:100.7-126.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p2020si-post.dtsi:109.9-125.4: Warning (pci_bridge): /pcie@ffe08000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2020rdb-pc_32b.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/xpedite5200.dts:135.11-138.6: Warning (i2c_bus_reg): /soc@ef000000/i2c@3000/dtt@48: I2C bus unit address format error, expected "34" /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/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o3dnt.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/o2d.dtsi:32.12-43.5 arch/powerpc/boot/dts/o3dnt.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2mnt.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/o2d.dtsi:32.12-43.5 arch/powerpc/boot/dts/o2mnt.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/motionpro.dts:84.15-86.4 arch/powerpc/boot/dts/motionpro.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/xpedite5200_xmon.dts:139.11-142.6: Warning (i2c_bus_reg): /soc@ef000000/i2c@3000/dtt@48: I2C bus unit address format error, expected "34" In file included from /kisskb/src/drivers/net/ethernet/aurora/nb8800.c:30: /kisskb/src/drivers/net/ethernet/aurora/nb8800.h:92: warning: "TCR_DIE" redefined 92 | #define TCR_DIE BIT(7) | In file included from /kisskb/src/arch/powerpc/include/asm/reg.h:21, from /kisskb/src/arch/powerpc/include/asm/processor.h:9, from /kisskb/src/arch/powerpc/include/asm/thread_info.h:40, from /kisskb/src/include/linux/thread_info.h:38, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:13, from /kisskb/src/drivers/net/ethernet/aurora/nb8800.c:13: /kisskb/src/arch/powerpc/include/asm/reg_booke.h:551: note: this is the location of the previous definition 551 | #define TCR_DIE TCR_PIE /* DEC Interrupt Enable */ | /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c: In function 'qe_ep0_rx': /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:836:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 836 | vaddr = (u32)phys_to_virt(in_be32(&bd->buf)); | ^ In file included from /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:41: /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:837:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 837 | frame_set_data(pframe, (u8 *)vaddr); | ^ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.h:229:47: note: in definition of macro 'frame_set_data' 229 | #define frame_set_data(frm, dat) (frm->data = dat) | ^~~ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c: In function 'ep_rx_tasklet': /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:964:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 964 | vaddr = (u32)phys_to_virt(in_be32(&bd->buf)); | ^ In file included from /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:41: /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:965:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 965 | frame_set_data(pframe, (u8 *)vaddr); | ^ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.h:229:47: note: in definition of macro 'frame_set_data' 229 | #define frame_set_data(frm, dat) (frm->data = dat) | ^~~ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c: In function 'ep_req_rx': /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:1490:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1490 | vaddr = (u32)phys_to_virt(in_be32(&bd->buf)); | ^ In file included from /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:41: /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:1491:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1491 | frame_set_data(pframe, (u8 *)vaddr); | ^ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.h:229:47: note: in definition of macro 'frame_set_data' 229 | #define frame_set_data(frm, dat) (frm->data = dat) | ^~~ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c: In function 'qe_ep_init': /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:542:37: warning: this statement may fall through [-Wimplicit-fallthrough=] 542 | if ((max == 128) || (max == 256) || (max == 512)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:544:4: note: here 544 | default: | ^~~~~~~ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:563:8: warning: this statement may fall through [-Wimplicit-fallthrough=] 563 | if (max <= 1024) | ^ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:565:4: note: here 565 | case USB_SPEED_FULL: | ^~~~ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:566:8: warning: this statement may fall through [-Wimplicit-fallthrough=] 566 | if (max <= 64) | ^ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:568:4: note: here 568 | default: | ^~~~~~~ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:580:8: warning: this statement may fall through [-Wimplicit-fallthrough=] 580 | if (max <= 1024) | ^ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:582:4: note: here 582 | case USB_SPEED_FULL: | ^~~~ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:596:5: warning: this statement may fall through [-Wimplicit-fallthrough=] 596 | switch (max) { | ^~~~~~ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:608:4: note: here 608 | case USB_SPEED_LOW: | ^~~~ WARNING: 140 bad relocations c000000000033e56 R_PPC64_ADDR16_HIGHEST .head.text+0x0000000000033e70 c000000000033e5a R_PPC64_ADDR16_HIGH .head.text+0x0000000000033e70 c000000000033e5e R_PPC64_ADDR16_HIGHER .head.text+0x0000000000033e70 c000000000033e62 R_PPC64_ADDR16_LO .head.text+0x0000000000033e70 c000000001b4537b R_PPC64_UADDR64 .rodata+0x000000000056b5e8 c000000001b45396 R_PPC64_UADDR64 .rodata+0x000000000056b630 c000000001b453b1 R_PPC64_UADDR64 .rodata+0x000000000056b640 c000000001b453cc R_PPC64_UADDR64 .rodata+0x000000000056b650 c000000001b453e7 R_PPC64_UADDR64 .rodata+0x000000000056b660 c000000001b45402 R_PPC64_UADDR64 .rodata+0x000000000056b670 c000000001b4541d R_PPC64_UADDR64 .rodata+0x000000000056b680 c000000001b45453 R_PPC64_UADDR64 .rodata+0x000000000056b6a0 c000000001b4546e R_PPC64_UADDR64 .rodata+0x000000000056b6b0 c000000001b45489 R_PPC64_UADDR64 .rodata+0x000000000056b6b8 c000000001b454a4 R_PPC64_UADDR64 .rodata+0x000000000056b6c0 c000000001b454bf R_PPC64_UADDR64 .rodata+0x000000000056b6d0 c000000001b454da R_PPC64_UADDR64 .rodata+0x000000000056b6e0 c000000001b454f5 R_PPC64_UADDR64 .rodata+0x000000000056b6f0 c000000001b4552b R_PPC64_UADDR64 .rodata+0x000000000056b710 c000000001b45546 R_PPC64_UADDR64 .rodata+0x000000000056b720 c000000001b45561 R_PPC64_UADDR64 .rodata+0x000000000056b730 c000000001b4557c R_PPC64_UADDR64 .rodata+0x000000000056b740 c000000001b45597 R_PPC64_UADDR64 .rodata+0x000000000056b750 c000000001b455b2 R_PPC64_UADDR64 .rodata+0x000000000056b760 c000000001b455cd R_PPC64_UADDR64 .rodata+0x000000000056b770 c000000001b45603 R_PPC64_UADDR64 .rodata+0x000000000056b790 c000000001b4561e R_PPC64_UADDR64 .rodata+0x000000000056b7a0 c000000001b45639 R_PPC64_UADDR64 .rodata+0x000000000056b7b0 c000000001b45654 R_PPC64_UADDR64 .rodata+0x000000000056b7c0 c000000001b4566f R_PPC64_UADDR64 .rodata+0x000000000056b7d0 c000000001b4568a R_PPC64_UADDR64 .rodata+0x000000000056b7e0 c000000001b456a5 R_PPC64_UADDR64 .rodata+0x000000000056b7f0 c000000001b456db R_PPC64_UADDR64 .rodata+0x000000000056b808 c000000001b456f6 R_PPC64_UADDR64 .rodata+0x000000000056b818 c000000001b45711 R_PPC64_UADDR64 .rodata+0x000000000056b828 c000000001b4572c R_PPC64_UADDR64 .rodata+0x000000000056b838 c000000001b45747 R_PPC64_UADDR64 .rodata+0x000000000056b848 c000000001b45762 R_PPC64_UADDR64 .rodata+0x000000000056b858 c000000001b4577d R_PPC64_UADDR64 .rodata+0x000000000056b868 c000000001b457b3 R_PPC64_UADDR64 .rodata+0x000000000056b888 c000000001b457ce R_PPC64_UADDR64 .rodata+0x000000000056b898 c000000001b457e9 R_PPC64_UADDR64 .rodata+0x000000000056b8a8 c000000001b45804 R_PPC64_UADDR64 .rodata+0x000000000056b8b8 c000000001b4581f R_PPC64_UADDR64 .rodata+0x000000000056b8c8 c000000001b4583a R_PPC64_UADDR64 .rodata+0x000000000056b8d8 c000000001b45855 R_PPC64_UADDR64 .rodata+0x000000000056b8e8 c000000001b4588b R_PPC64_UADDR64 .rodata+0x000000000056b908 c000000001b458a6 R_PPC64_UADDR64 .rodata+0x000000000056b918 c000000001b458c1 R_PPC64_UADDR64 .rodata+0x000000000056b928 c000000001b458dc R_PPC64_UADDR64 .rodata+0x000000000056b938 c000000001b458f7 R_PPC64_UADDR64 .rodata+0x000000000056b948 c000000001b45912 R_PPC64_UADDR64 .rodata+0x000000000056b958 c000000001b4592d R_PPC64_UADDR64 .rodata+0x000000000056b968 c000000001b45963 R_PPC64_UADDR64 .rodata+0x000000000056b988 c000000001b4597e R_PPC64_UADDR64 .rodata+0x000000000056b998 c000000001b45999 R_PPC64_UADDR64 .rodata+0x000000000056b9a8 c000000001b459b4 R_PPC64_UADDR64 .rodata+0x000000000056b9b8 c000000001b459cf R_PPC64_UADDR64 .rodata+0x000000000056b9c8 c000000001b459ea R_PPC64_UADDR64 .rodata+0x000000000056b9d8 c000000001b45a05 R_PPC64_UADDR64 .rodata+0x000000000056b9e8 c000000001b45a3b R_PPC64_UADDR64 .rodata+0x000000000056ba08 c000000001b45a56 R_PPC64_UADDR64 .rodata+0x000000000056ba18 c000000001b45a71 R_PPC64_UADDR64 .rodata+0x000000000056ba28 c000000001b45a8c R_PPC64_UADDR64 .rodata+0x000000000056ba38 c000000001b45aa7 R_PPC64_UADDR64 .rodata+0x000000000056ba48 c000000001b45ac2 R_PPC64_UADDR64 .rodata+0x000000000056ba58 c000000001b45add R_PPC64_UADDR64 .rodata+0x000000000056ba68 c000000001b45b13 R_PPC64_UADDR64 .rodata+0x000000000056ba88 c000000001b45b2e R_PPC64_UADDR64 .rodata+0x000000000056ba98 c000000001b45b49 R_PPC64_UADDR64 .rodata+0x000000000056baa8 c000000001b45b64 R_PPC64_UADDR64 .rodata+0x000000000056bab8 c000000001b45b7f R_PPC64_UADDR64 .rodata+0x000000000056bac8 c000000001b45b9a R_PPC64_UADDR64 .rodata+0x000000000056bad8 c000000001b45bb5 R_PPC64_UADDR64 .rodata+0x000000000056baf0 c000000001b45beb R_PPC64_UADDR64 .rodata+0x000000000056bb10 c000000001b45c06 R_PPC64_UADDR64 .rodata+0x000000000056bb20 c000000001b45c21 R_PPC64_UADDR64 .rodata+0x000000000056bb30 c000000001b45c3c R_PPC64_UADDR64 .rodata+0x000000000056bb48 c000000001b45c57 R_PPC64_UADDR64 .rodata+0x000000000056bb50 c000000001b45c72 R_PPC64_UADDR64 .rodata+0x000000000056bb60 c000000001b45c8d R_PPC64_UADDR64 .rodata+0x000000000056bb70 c000000001b45cc3 R_PPC64_UADDR64 .rodata+0x000000000056bb90 c000000001b45cde R_PPC64_UADDR64 .rodata+0x000000000056bba0 c000000001b45cf9 R_PPC64_UADDR64 .rodata+0x000000000056bbb0 c000000001b45d14 R_PPC64_UADDR64 .rodata+0x000000000056bbc0 c000000001b45d2f R_PPC64_UADDR64 .rodata+0x000000000056bbd0 c000000001b45d4a R_PPC64_UADDR64 .rodata+0x000000000056bbd8 c000000001b45d65 R_PPC64_UADDR64 .rodata+0x000000000056bbe8 c000000001b45d9b R_PPC64_UADDR64 .rodata+0x000000000056bc08 c000000001b45db6 R_PPC64_UADDR64 .rodata+0x000000000056bc18 c000000001b45dd1 R_PPC64_UADDR64 .rodata+0x000000000056bc28 c000000001b45dec R_PPC64_UADDR64 .rodata+0x000000000056bc38 c000000001b45e07 R_PPC64_UADDR64 .rodata+0x000000000056bc48 c000000001b45e22 R_PPC64_UADDR64 .rodata+0x000000000056bc60 c000000001b45e3d R_PPC64_UADDR64 .rodata+0x000000000056bc78 c000000001b45e73 R_PPC64_UADDR64 .rodata+0x000000000056bc98 c000000001b45e8e R_PPC64_UADDR64 .rodata+0x000000000056bca8 c000000001b45ea9 R_PPC64_UADDR64 .rodata+0x000000000056bcb8 c000000001b45ec4 R_PPC64_UADDR64 .rodata+0x000000000056bcc8 c000000001b45edf R_PPC64_UADDR64 .rodata+0x000000000056bcd8 c000000001b45efa R_PPC64_UADDR64 .rodata+0x000000000056bce8 c000000001b45f15 R_PPC64_UADDR64 .rodata+0x000000000056bcf8 c000000001b45f4b R_PPC64_UADDR64 .rodata+0x000000000056bd18 c000000001b45f66 R_PPC64_UADDR64 .rodata+0x000000000056bd28 c000000001b45f81 R_PPC64_UADDR64 .rodata+0x000000000056bd38 c000000001b45f9c R_PPC64_UADDR64 .rodata+0x000000000056bd48 c000000001b45fb7 R_PPC64_UADDR64 .rodata+0x000000000056bd58 c000000001b45fd2 R_PPC64_UADDR64 .rodata+0x000000000056bd68 c000000001b45fed R_PPC64_UADDR64 .rodata+0x000000000056bd78 c000000001b46023 R_PPC64_UADDR64 .rodata+0x000000000056bd98 c000000001b4603e R_PPC64_UADDR64 .rodata+0x000000000056bda8 c000000001b46059 R_PPC64_UADDR64 .rodata+0x000000000056bdb8 c000000001b46074 R_PPC64_UADDR64 .rodata+0x000000000056bdc8 c000000001b4608f R_PPC64_UADDR64 .rodata+0x000000000056bdd8 c000000001b460aa R_PPC64_UADDR64 .rodata+0x000000000056bde8 c000000001b460c5 R_PPC64_UADDR64 .rodata+0x000000000056bdf8 c000000001b460fb R_PPC64_UADDR64 .rodata+0x000000000056be18 c000000001b46116 R_PPC64_UADDR64 .rodata+0x000000000056be28 c000000001b46131 R_PPC64_UADDR64 .rodata+0x000000000056be38 c000000001b4614c R_PPC64_UADDR64 .rodata+0x000000000056be48 c000000001b46167 R_PPC64_UADDR64 .rodata+0x000000000056be58 c000000001b46182 R_PPC64_UADDR64 .rodata+0x000000000056be68 c000000001b4619d R_PPC64_UADDR64 .rodata+0x000000000056be78 c000000001b461d3 R_PPC64_UADDR64 .rodata+0x000000000056be98 c000000001b461ee R_PPC64_UADDR64 .rodata+0x000000000056bea8 c000000001b46209 R_PPC64_UADDR64 .rodata+0x000000000056beb8 c000000001b46224 R_PPC64_UADDR64 .rodata+0x000000000056bec8 c000000001b4623f R_PPC64_UADDR64 .rodata+0x000000000056bed8 c000000001b4625a R_PPC64_UADDR64 .rodata+0x000000000056bee8 c000000001b46275 R_PPC64_UADDR64 .rodata+0x000000000056bef8 c000000001b462ab R_PPC64_UADDR64 .rodata+0x000000000056bf18 c000000001b462c6 R_PPC64_UADDR64 .rodata+0x000000000056bf28 c000000001b462e1 R_PPC64_UADDR64 .rodata+0x000000000056bf38 c000000001b462fc R_PPC64_UADDR64 .rodata+0x000000000056bf50 c000000001b46317 R_PPC64_UADDR64 .rodata+0x000000000056bf60 c000000001b46332 R_PPC64_UADDR64 .rodata+0x000000000056bf70 c000000001b4634d R_PPC64_UADDR64 .rodata+0x000000000056bf80 c000000001b46383 R_PPC64_UADDR64 .rodata+0x000000000056bfa0 c000000001b4639e R_PPC64_UADDR64 .rodata+0x000000000056bfb0 c000000001b463b9 R_PPC64_UADDR64 .rodata+0x000000000056bfc0 WARNING: You need at least binutils >= 2.19 to build a CONFIG_RELOCATABLE kernel INFO: Uncompressed kernel (size 0x2bf8dd0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x2c00000) Image Name: Linux-5.8.0-rc2+ Created: Wed Jul 29 02:52:02 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 14975265 Bytes = 14624.28 KiB = 14.28 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc64_book3e_allmodconfig_powerpc-gcc9 # Build took: 0:20:42.884921