# git rev-parse -q --verify c9818c0abfb0c3500684bb2bc75981123d63134d^{commit} c9818c0abfb0c3500684bb2bc75981123d63134d already have revision, skipping fetch # git checkout -q -f -B kisskb c9818c0abfb0c3500684bb2bc75981123d63134d # git clean -qxdf # < git log -1 # commit c9818c0abfb0c3500684bb2bc75981123d63134d # Author: Jordan Niethe # Date: Wed Oct 14 18:28:37 2020 +1100 # # powerpc/64s: Convert some cpu_setup() and cpu_restore() functions to C # # The only thing keeping the cpu_setup() and cpu_restore() functions used # in the cputable entries for Power7, Power8, Power9 and Power10 in # assembly was cpu_restore() being called before there was a stack in # generic_secondary_smp_init(). Commit ("powerpc/64: Set up a kernel stack # for secondaries before cpu_restore()") means that it is now possible to # use C. # # Rewrite the functions in C so they are a little bit easier to read. This # is not changing their functionality. # # Signed-off-by: Jordan Niethe # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20201014072837.24539-2-jniethe5@gmail.com # < /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 c9818c0abfb0c3500684bb2bc75981123d63134d # < 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/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/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/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/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/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/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/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" /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/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/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/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/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/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/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/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/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/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/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/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/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/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/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) 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/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/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/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' 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:22, from /kisskb/src/arch/powerpc/include/asm/timex.h:12, from /kisskb/src/include/linux/timex.h:65, from /kisskb/src/include/linux/time32.h:13, from /kisskb/src/include/linux/time.h:73, 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:550: note: this is the location of the previous definition 550 | #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 c000000000034e2e R_PPC64_ADDR16_HIGHEST .head.text+0x0000000000034e48 c000000000034e32 R_PPC64_ADDR16_HIGH .head.text+0x0000000000034e48 c000000000034e36 R_PPC64_ADDR16_HIGHER .head.text+0x0000000000034e48 c000000000034e3a R_PPC64_ADDR16_LO .head.text+0x0000000000034e48 c000000001c1b63b R_PPC64_UADDR64 .rodata+0x00000000005778a8 c000000001c1b656 R_PPC64_UADDR64 .rodata+0x00000000005778f0 c000000001c1b671 R_PPC64_UADDR64 .rodata+0x0000000000577900 c000000001c1b68c R_PPC64_UADDR64 .rodata+0x0000000000577910 c000000001c1b6a7 R_PPC64_UADDR64 .rodata+0x0000000000577920 c000000001c1b6c2 R_PPC64_UADDR64 .rodata+0x0000000000577930 c000000001c1b6dd R_PPC64_UADDR64 .rodata+0x0000000000577940 c000000001c1b713 R_PPC64_UADDR64 .rodata+0x0000000000577960 c000000001c1b72e R_PPC64_UADDR64 .rodata+0x0000000000577970 c000000001c1b749 R_PPC64_UADDR64 .rodata+0x0000000000577978 c000000001c1b764 R_PPC64_UADDR64 .rodata+0x0000000000577980 c000000001c1b77f R_PPC64_UADDR64 .rodata+0x0000000000577990 c000000001c1b79a R_PPC64_UADDR64 .rodata+0x00000000005779a0 c000000001c1b7b5 R_PPC64_UADDR64 .rodata+0x00000000005779b0 c000000001c1b7eb R_PPC64_UADDR64 .rodata+0x00000000005779d0 c000000001c1b806 R_PPC64_UADDR64 .rodata+0x00000000005779e0 c000000001c1b821 R_PPC64_UADDR64 .rodata+0x00000000005779f0 c000000001c1b83c R_PPC64_UADDR64 .rodata+0x0000000000577a00 c000000001c1b857 R_PPC64_UADDR64 .rodata+0x0000000000577a10 c000000001c1b872 R_PPC64_UADDR64 .rodata+0x0000000000577a20 c000000001c1b88d R_PPC64_UADDR64 .rodata+0x0000000000577a30 c000000001c1b8c3 R_PPC64_UADDR64 .rodata+0x0000000000577a50 c000000001c1b8de R_PPC64_UADDR64 .rodata+0x0000000000577a60 c000000001c1b8f9 R_PPC64_UADDR64 .rodata+0x0000000000577a70 c000000001c1b914 R_PPC64_UADDR64 .rodata+0x0000000000577a80 c000000001c1b92f R_PPC64_UADDR64 .rodata+0x0000000000577a90 c000000001c1b94a R_PPC64_UADDR64 .rodata+0x0000000000577aa0 c000000001c1b965 R_PPC64_UADDR64 .rodata+0x0000000000577ab0 c000000001c1b99b R_PPC64_UADDR64 .rodata+0x0000000000577ac8 c000000001c1b9b6 R_PPC64_UADDR64 .rodata+0x0000000000577ad8 c000000001c1b9d1 R_PPC64_UADDR64 .rodata+0x0000000000577ae8 c000000001c1b9ec R_PPC64_UADDR64 .rodata+0x0000000000577af8 c000000001c1ba07 R_PPC64_UADDR64 .rodata+0x0000000000577b08 c000000001c1ba22 R_PPC64_UADDR64 .rodata+0x0000000000577b18 c000000001c1ba3d R_PPC64_UADDR64 .rodata+0x0000000000577b28 c000000001c1ba73 R_PPC64_UADDR64 .rodata+0x0000000000577b48 c000000001c1ba8e R_PPC64_UADDR64 .rodata+0x0000000000577b58 c000000001c1baa9 R_PPC64_UADDR64 .rodata+0x0000000000577b68 c000000001c1bac4 R_PPC64_UADDR64 .rodata+0x0000000000577b78 c000000001c1badf R_PPC64_UADDR64 .rodata+0x0000000000577b88 c000000001c1bafa R_PPC64_UADDR64 .rodata+0x0000000000577b98 c000000001c1bb15 R_PPC64_UADDR64 .rodata+0x0000000000577ba8 c000000001c1bb4b R_PPC64_UADDR64 .rodata+0x0000000000577bc8 c000000001c1bb66 R_PPC64_UADDR64 .rodata+0x0000000000577bd8 c000000001c1bb81 R_PPC64_UADDR64 .rodata+0x0000000000577be8 c000000001c1bb9c R_PPC64_UADDR64 .rodata+0x0000000000577bf8 c000000001c1bbb7 R_PPC64_UADDR64 .rodata+0x0000000000577c08 c000000001c1bbd2 R_PPC64_UADDR64 .rodata+0x0000000000577c18 c000000001c1bbed R_PPC64_UADDR64 .rodata+0x0000000000577c28 c000000001c1bc23 R_PPC64_UADDR64 .rodata+0x0000000000577c48 c000000001c1bc3e R_PPC64_UADDR64 .rodata+0x0000000000577c58 c000000001c1bc59 R_PPC64_UADDR64 .rodata+0x0000000000577c68 c000000001c1bc74 R_PPC64_UADDR64 .rodata+0x0000000000577c78 c000000001c1bc8f R_PPC64_UADDR64 .rodata+0x0000000000577c88 c000000001c1bcaa R_PPC64_UADDR64 .rodata+0x0000000000577c98 c000000001c1bcc5 R_PPC64_UADDR64 .rodata+0x0000000000577ca8 c000000001c1bcfb R_PPC64_UADDR64 .rodata+0x0000000000577cc8 c000000001c1bd16 R_PPC64_UADDR64 .rodata+0x0000000000577cd8 c000000001c1bd31 R_PPC64_UADDR64 .rodata+0x0000000000577ce8 c000000001c1bd4c R_PPC64_UADDR64 .rodata+0x0000000000577cf8 c000000001c1bd67 R_PPC64_UADDR64 .rodata+0x0000000000577d08 c000000001c1bd82 R_PPC64_UADDR64 .rodata+0x0000000000577d18 c000000001c1bd9d R_PPC64_UADDR64 .rodata+0x0000000000577d28 c000000001c1bdd3 R_PPC64_UADDR64 .rodata+0x0000000000577d48 c000000001c1bdee R_PPC64_UADDR64 .rodata+0x0000000000577d58 c000000001c1be09 R_PPC64_UADDR64 .rodata+0x0000000000577d68 c000000001c1be24 R_PPC64_UADDR64 .rodata+0x0000000000577d78 c000000001c1be3f R_PPC64_UADDR64 .rodata+0x0000000000577d88 c000000001c1be5a R_PPC64_UADDR64 .rodata+0x0000000000577d98 c000000001c1be75 R_PPC64_UADDR64 .rodata+0x0000000000577db0 c000000001c1beab R_PPC64_UADDR64 .rodata+0x0000000000577dd0 c000000001c1bec6 R_PPC64_UADDR64 .rodata+0x0000000000577de0 c000000001c1bee1 R_PPC64_UADDR64 .rodata+0x0000000000577df0 c000000001c1befc R_PPC64_UADDR64 .rodata+0x0000000000577e08 c000000001c1bf17 R_PPC64_UADDR64 .rodata+0x0000000000577e10 c000000001c1bf32 R_PPC64_UADDR64 .rodata+0x0000000000577e20 c000000001c1bf4d R_PPC64_UADDR64 .rodata+0x0000000000577e30 c000000001c1bf83 R_PPC64_UADDR64 .rodata+0x0000000000577e50 c000000001c1bf9e R_PPC64_UADDR64 .rodata+0x0000000000577e60 c000000001c1bfb9 R_PPC64_UADDR64 .rodata+0x0000000000577e70 c000000001c1bfd4 R_PPC64_UADDR64 .rodata+0x0000000000577e80 c000000001c1bfef R_PPC64_UADDR64 .rodata+0x0000000000577e90 c000000001c1c00a R_PPC64_UADDR64 .rodata+0x0000000000577e98 c000000001c1c025 R_PPC64_UADDR64 .rodata+0x0000000000577ea8 c000000001c1c05b R_PPC64_UADDR64 .rodata+0x0000000000577ec8 c000000001c1c076 R_PPC64_UADDR64 .rodata+0x0000000000577ed8 c000000001c1c091 R_PPC64_UADDR64 .rodata+0x0000000000577ee8 c000000001c1c0ac R_PPC64_UADDR64 .rodata+0x0000000000577ef8 c000000001c1c0c7 R_PPC64_UADDR64 .rodata+0x0000000000577f08 c000000001c1c0e2 R_PPC64_UADDR64 .rodata+0x0000000000577f20 c000000001c1c0fd R_PPC64_UADDR64 .rodata+0x0000000000577f38 c000000001c1c133 R_PPC64_UADDR64 .rodata+0x0000000000577f58 c000000001c1c14e R_PPC64_UADDR64 .rodata+0x0000000000577f68 c000000001c1c169 R_PPC64_UADDR64 .rodata+0x0000000000577f78 c000000001c1c184 R_PPC64_UADDR64 .rodata+0x0000000000577f88 c000000001c1c19f R_PPC64_UADDR64 .rodata+0x0000000000577f98 c000000001c1c1ba R_PPC64_UADDR64 .rodata+0x0000000000577fa8 c000000001c1c1d5 R_PPC64_UADDR64 .rodata+0x0000000000577fb8 c000000001c1c20b R_PPC64_UADDR64 .rodata+0x0000000000577fd8 c000000001c1c226 R_PPC64_UADDR64 .rodata+0x0000000000577fe8 c000000001c1c241 R_PPC64_UADDR64 .rodata+0x0000000000577ff8 c000000001c1c25c R_PPC64_UADDR64 .rodata+0x0000000000578008 c000000001c1c277 R_PPC64_UADDR64 .rodata+0x0000000000578018 c000000001c1c292 R_PPC64_UADDR64 .rodata+0x0000000000578028 c000000001c1c2ad R_PPC64_UADDR64 .rodata+0x0000000000578038 c000000001c1c2e3 R_PPC64_UADDR64 .rodata+0x0000000000578058 c000000001c1c2fe R_PPC64_UADDR64 .rodata+0x0000000000578068 c000000001c1c319 R_PPC64_UADDR64 .rodata+0x0000000000578078 c000000001c1c334 R_PPC64_UADDR64 .rodata+0x0000000000578088 c000000001c1c34f R_PPC64_UADDR64 .rodata+0x0000000000578098 c000000001c1c36a R_PPC64_UADDR64 .rodata+0x00000000005780a8 c000000001c1c385 R_PPC64_UADDR64 .rodata+0x00000000005780b8 c000000001c1c3bb R_PPC64_UADDR64 .rodata+0x00000000005780d8 c000000001c1c3d6 R_PPC64_UADDR64 .rodata+0x00000000005780e8 c000000001c1c3f1 R_PPC64_UADDR64 .rodata+0x00000000005780f8 c000000001c1c40c R_PPC64_UADDR64 .rodata+0x0000000000578108 c000000001c1c427 R_PPC64_UADDR64 .rodata+0x0000000000578118 c000000001c1c442 R_PPC64_UADDR64 .rodata+0x0000000000578128 c000000001c1c45d R_PPC64_UADDR64 .rodata+0x0000000000578138 c000000001c1c493 R_PPC64_UADDR64 .rodata+0x0000000000578158 c000000001c1c4ae R_PPC64_UADDR64 .rodata+0x0000000000578168 c000000001c1c4c9 R_PPC64_UADDR64 .rodata+0x0000000000578178 c000000001c1c4e4 R_PPC64_UADDR64 .rodata+0x0000000000578188 c000000001c1c4ff R_PPC64_UADDR64 .rodata+0x0000000000578198 c000000001c1c51a R_PPC64_UADDR64 .rodata+0x00000000005781a8 c000000001c1c535 R_PPC64_UADDR64 .rodata+0x00000000005781b8 c000000001c1c56b R_PPC64_UADDR64 .rodata+0x00000000005781d8 c000000001c1c586 R_PPC64_UADDR64 .rodata+0x00000000005781e8 c000000001c1c5a1 R_PPC64_UADDR64 .rodata+0x00000000005781f8 c000000001c1c5bc R_PPC64_UADDR64 .rodata+0x0000000000578210 c000000001c1c5d7 R_PPC64_UADDR64 .rodata+0x0000000000578220 c000000001c1c5f2 R_PPC64_UADDR64 .rodata+0x0000000000578230 c000000001c1c60d R_PPC64_UADDR64 .rodata+0x0000000000578240 c000000001c1c643 R_PPC64_UADDR64 .rodata+0x0000000000578260 c000000001c1c65e R_PPC64_UADDR64 .rodata+0x0000000000578270 c000000001c1c679 R_PPC64_UADDR64 .rodata+0x0000000000578280 WARNING: You need at least binutils >= 2.19 to build a CONFIG_RELOCATABLE kernel INFO: Uncompressed kernel (size 0x2d1b8e0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x2e00000) Image Name: Linux-5.9.0-rc2+ Created: Tue Oct 20 02:33:01 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 15209079 Bytes = 14852.62 KiB = 14.50 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc64_book3e_allmodconfig_powerpc-gcc9 # Build took: 0:21:01.385761