# git rev-parse -q --verify 62aef98aa07ec7b0984b3e67b4e3a1604ed8ada8^{commit} 62aef98aa07ec7b0984b3e67b4e3a1604ed8ada8 already have revision, skipping fetch # git checkout -q -f -B kisskb 62aef98aa07ec7b0984b3e67b4e3a1604ed8ada8 # git clean -qxdf # < git log -1 # commit 62aef98aa07ec7b0984b3e67b4e3a1604ed8ada8 # Author: Christophe Leroy # Date: Thu Apr 16 12:39:42 2020 +0000 # # powerpc/uaccess: Use flexible addressing with __put_user()/__get_user() # # At the time being, __put_user()/__get_user() and friends only use # D-form addressing, with 0 offset. Ex: # # lwz reg1, 0(reg2) # # Give the compiler the opportunity to use other adressing modes # whenever possible, to get more optimised code. # # Hereunder is a small exemple: # # struct test { # u32 item1; # u16 item2; # u8 item3; # u64 item4; # }; # # int set_test_user(struct test __user *from, struct test __user *to) # { # int err; # u32 item1; # u16 item2; # u8 item3; # u64 item4; # # err = __get_user(item1, &from->item1); # err |= __get_user(item2, &from->item2); # err |= __get_user(item3, &from->item3); # err |= __get_user(item4, &from->item4); # # err |= __put_user(item1, &to->item1); # err |= __put_user(item2, &to->item2); # err |= __put_user(item3, &to->item3); # err |= __put_user(item4, &to->item4); # # return err; # } # # Before the patch: # # 00000df0 : # df0: 94 21 ff f0 stwu r1,-16(r1) # df4: 39 40 00 00 li r10,0 # df8: 93 c1 00 08 stw r30,8(r1) # dfc: 93 e1 00 0c stw r31,12(r1) # e00: 7d 49 53 78 mr r9,r10 # e04: 80 a3 00 00 lwz r5,0(r3) # e08: 38 e3 00 04 addi r7,r3,4 # e0c: 7d 46 53 78 mr r6,r10 # e10: a0 e7 00 00 lhz r7,0(r7) # e14: 7d 29 33 78 or r9,r9,r6 # e18: 39 03 00 06 addi r8,r3,6 # e1c: 7d 46 53 78 mr r6,r10 # e20: 89 08 00 00 lbz r8,0(r8) # e24: 7d 29 33 78 or r9,r9,r6 # e28: 38 63 00 08 addi r3,r3,8 # e2c: 7d 46 53 78 mr r6,r10 # e30: 83 c3 00 00 lwz r30,0(r3) # e34: 83 e3 00 04 lwz r31,4(r3) # e38: 7d 29 33 78 or r9,r9,r6 # e3c: 7d 43 53 78 mr r3,r10 # e40: 90 a4 00 00 stw r5,0(r4) # e44: 7d 29 1b 78 or r9,r9,r3 # e48: 38 c4 00 04 addi r6,r4,4 # e4c: 7d 43 53 78 mr r3,r10 # e50: b0 e6 00 00 sth r7,0(r6) # e54: 7d 29 1b 78 or r9,r9,r3 # e58: 38 e4 00 06 addi r7,r4,6 # e5c: 7d 43 53 78 mr r3,r10 # e60: 99 07 00 00 stb r8,0(r7) # e64: 7d 23 1b 78 or r3,r9,r3 # e68: 38 84 00 08 addi r4,r4,8 # e6c: 93 c4 00 00 stw r30,0(r4) # e70: 93 e4 00 04 stw r31,4(r4) # e74: 7c 63 53 78 or r3,r3,r10 # e78: 83 c1 00 08 lwz r30,8(r1) # e7c: 83 e1 00 0c lwz r31,12(r1) # e80: 38 21 00 10 addi r1,r1,16 # e84: 4e 80 00 20 blr # # After the patch: # # 00000dbc : # dbc: 39 40 00 00 li r10,0 # dc0: 7d 49 53 78 mr r9,r10 # dc4: 80 03 00 00 lwz r0,0(r3) # dc8: 7d 48 53 78 mr r8,r10 # dcc: a1 63 00 04 lhz r11,4(r3) # dd0: 7d 29 43 78 or r9,r9,r8 # dd4: 7d 48 53 78 mr r8,r10 # dd8: 88 a3 00 06 lbz r5,6(r3) # ddc: 7d 29 43 78 or r9,r9,r8 # de0: 7d 48 53 78 mr r8,r10 # de4: 80 c3 00 08 lwz r6,8(r3) # de8: 80 e3 00 0c lwz r7,12(r3) # dec: 7d 29 43 78 or r9,r9,r8 # df0: 7d 43 53 78 mr r3,r10 # df4: 90 04 00 00 stw r0,0(r4) # df8: 7d 29 1b 78 or r9,r9,r3 # dfc: 7d 43 53 78 mr r3,r10 # e00: b1 64 00 04 sth r11,4(r4) # e04: 7d 29 1b 78 or r9,r9,r3 # e08: 7d 43 53 78 mr r3,r10 # e0c: 98 a4 00 06 stb r5,6(r4) # e10: 7d 23 1b 78 or r3,r9,r3 # e14: 90 c4 00 08 stw r6,8(r4) # e18: 90 e4 00 0c stw r7,12(r4) # e1c: 7c 63 53 78 or r3,r3,r10 # e20: 4e 80 00 20 blr # # Signed-off-by: Christophe Leroy # Reviewed-by: Segher Boessenkool # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/c2addbd9d76212242d3d8554a2f7ff849fb08b85.1587040754.git.christophe.leroy@c-s.fr # < /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 62aef98aa07ec7b0984b3e67b4e3a1604ed8ada8 # < 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/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/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/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/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/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/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/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/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@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/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) 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/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/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) 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/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/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/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/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/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/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/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) 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/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/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 c000000001b3e83b R_PPC64_UADDR64 .rodata+0x0000000000569aa8 c000000001b3e856 R_PPC64_UADDR64 .rodata+0x0000000000569af0 c000000001b3e871 R_PPC64_UADDR64 .rodata+0x0000000000569b00 c000000001b3e88c R_PPC64_UADDR64 .rodata+0x0000000000569b10 c000000001b3e8a7 R_PPC64_UADDR64 .rodata+0x0000000000569b20 c000000001b3e8c2 R_PPC64_UADDR64 .rodata+0x0000000000569b30 c000000001b3e8dd R_PPC64_UADDR64 .rodata+0x0000000000569b40 c000000001b3e913 R_PPC64_UADDR64 .rodata+0x0000000000569b60 c000000001b3e92e R_PPC64_UADDR64 .rodata+0x0000000000569b70 c000000001b3e949 R_PPC64_UADDR64 .rodata+0x0000000000569b78 c000000001b3e964 R_PPC64_UADDR64 .rodata+0x0000000000569b80 c000000001b3e97f R_PPC64_UADDR64 .rodata+0x0000000000569b90 c000000001b3e99a R_PPC64_UADDR64 .rodata+0x0000000000569ba0 c000000001b3e9b5 R_PPC64_UADDR64 .rodata+0x0000000000569bb0 c000000001b3e9eb R_PPC64_UADDR64 .rodata+0x0000000000569bd0 c000000001b3ea06 R_PPC64_UADDR64 .rodata+0x0000000000569be0 c000000001b3ea21 R_PPC64_UADDR64 .rodata+0x0000000000569bf0 c000000001b3ea3c R_PPC64_UADDR64 .rodata+0x0000000000569c00 c000000001b3ea57 R_PPC64_UADDR64 .rodata+0x0000000000569c10 c000000001b3ea72 R_PPC64_UADDR64 .rodata+0x0000000000569c20 c000000001b3ea8d R_PPC64_UADDR64 .rodata+0x0000000000569c30 c000000001b3eac3 R_PPC64_UADDR64 .rodata+0x0000000000569c50 c000000001b3eade R_PPC64_UADDR64 .rodata+0x0000000000569c60 c000000001b3eaf9 R_PPC64_UADDR64 .rodata+0x0000000000569c70 c000000001b3eb14 R_PPC64_UADDR64 .rodata+0x0000000000569c80 c000000001b3eb2f R_PPC64_UADDR64 .rodata+0x0000000000569c90 c000000001b3eb4a R_PPC64_UADDR64 .rodata+0x0000000000569ca0 c000000001b3eb65 R_PPC64_UADDR64 .rodata+0x0000000000569cb0 c000000001b3eb9b R_PPC64_UADDR64 .rodata+0x0000000000569cc8 c000000001b3ebb6 R_PPC64_UADDR64 .rodata+0x0000000000569cd8 c000000001b3ebd1 R_PPC64_UADDR64 .rodata+0x0000000000569ce8 c000000001b3ebec R_PPC64_UADDR64 .rodata+0x0000000000569cf8 c000000001b3ec07 R_PPC64_UADDR64 .rodata+0x0000000000569d08 c000000001b3ec22 R_PPC64_UADDR64 .rodata+0x0000000000569d18 c000000001b3ec3d R_PPC64_UADDR64 .rodata+0x0000000000569d28 c000000001b3ec73 R_PPC64_UADDR64 .rodata+0x0000000000569d48 c000000001b3ec8e R_PPC64_UADDR64 .rodata+0x0000000000569d58 c000000001b3eca9 R_PPC64_UADDR64 .rodata+0x0000000000569d68 c000000001b3ecc4 R_PPC64_UADDR64 .rodata+0x0000000000569d78 c000000001b3ecdf R_PPC64_UADDR64 .rodata+0x0000000000569d88 c000000001b3ecfa R_PPC64_UADDR64 .rodata+0x0000000000569d98 c000000001b3ed15 R_PPC64_UADDR64 .rodata+0x0000000000569da8 c000000001b3ed4b R_PPC64_UADDR64 .rodata+0x0000000000569dc8 c000000001b3ed66 R_PPC64_UADDR64 .rodata+0x0000000000569dd8 c000000001b3ed81 R_PPC64_UADDR64 .rodata+0x0000000000569de8 c000000001b3ed9c R_PPC64_UADDR64 .rodata+0x0000000000569df8 c000000001b3edb7 R_PPC64_UADDR64 .rodata+0x0000000000569e08 c000000001b3edd2 R_PPC64_UADDR64 .rodata+0x0000000000569e18 c000000001b3eded R_PPC64_UADDR64 .rodata+0x0000000000569e28 c000000001b3ee23 R_PPC64_UADDR64 .rodata+0x0000000000569e48 c000000001b3ee3e R_PPC64_UADDR64 .rodata+0x0000000000569e58 c000000001b3ee59 R_PPC64_UADDR64 .rodata+0x0000000000569e68 c000000001b3ee74 R_PPC64_UADDR64 .rodata+0x0000000000569e78 c000000001b3ee8f R_PPC64_UADDR64 .rodata+0x0000000000569e88 c000000001b3eeaa R_PPC64_UADDR64 .rodata+0x0000000000569e98 c000000001b3eec5 R_PPC64_UADDR64 .rodata+0x0000000000569ea8 c000000001b3eefb R_PPC64_UADDR64 .rodata+0x0000000000569ec8 c000000001b3ef16 R_PPC64_UADDR64 .rodata+0x0000000000569ed8 c000000001b3ef31 R_PPC64_UADDR64 .rodata+0x0000000000569ee8 c000000001b3ef4c R_PPC64_UADDR64 .rodata+0x0000000000569ef8 c000000001b3ef67 R_PPC64_UADDR64 .rodata+0x0000000000569f08 c000000001b3ef82 R_PPC64_UADDR64 .rodata+0x0000000000569f18 c000000001b3ef9d R_PPC64_UADDR64 .rodata+0x0000000000569f28 c000000001b3efd3 R_PPC64_UADDR64 .rodata+0x0000000000569f48 c000000001b3efee R_PPC64_UADDR64 .rodata+0x0000000000569f58 c000000001b3f009 R_PPC64_UADDR64 .rodata+0x0000000000569f68 c000000001b3f024 R_PPC64_UADDR64 .rodata+0x0000000000569f78 c000000001b3f03f R_PPC64_UADDR64 .rodata+0x0000000000569f88 c000000001b3f05a R_PPC64_UADDR64 .rodata+0x0000000000569f98 c000000001b3f075 R_PPC64_UADDR64 .rodata+0x0000000000569fb0 c000000001b3f0ab R_PPC64_UADDR64 .rodata+0x0000000000569fd0 c000000001b3f0c6 R_PPC64_UADDR64 .rodata+0x0000000000569fe0 c000000001b3f0e1 R_PPC64_UADDR64 .rodata+0x0000000000569ff0 c000000001b3f0fc R_PPC64_UADDR64 .rodata+0x000000000056a008 c000000001b3f117 R_PPC64_UADDR64 .rodata+0x000000000056a010 c000000001b3f132 R_PPC64_UADDR64 .rodata+0x000000000056a020 c000000001b3f14d R_PPC64_UADDR64 .rodata+0x000000000056a030 c000000001b3f183 R_PPC64_UADDR64 .rodata+0x000000000056a050 c000000001b3f19e R_PPC64_UADDR64 .rodata+0x000000000056a060 c000000001b3f1b9 R_PPC64_UADDR64 .rodata+0x000000000056a070 c000000001b3f1d4 R_PPC64_UADDR64 .rodata+0x000000000056a080 c000000001b3f1ef R_PPC64_UADDR64 .rodata+0x000000000056a090 c000000001b3f20a R_PPC64_UADDR64 .rodata+0x000000000056a098 c000000001b3f225 R_PPC64_UADDR64 .rodata+0x000000000056a0a8 c000000001b3f25b R_PPC64_UADDR64 .rodata+0x000000000056a0c8 c000000001b3f276 R_PPC64_UADDR64 .rodata+0x000000000056a0d8 c000000001b3f291 R_PPC64_UADDR64 .rodata+0x000000000056a0e8 c000000001b3f2ac R_PPC64_UADDR64 .rodata+0x000000000056a0f8 c000000001b3f2c7 R_PPC64_UADDR64 .rodata+0x000000000056a108 c000000001b3f2e2 R_PPC64_UADDR64 .rodata+0x000000000056a120 c000000001b3f2fd R_PPC64_UADDR64 .rodata+0x000000000056a138 c000000001b3f333 R_PPC64_UADDR64 .rodata+0x000000000056a158 c000000001b3f34e R_PPC64_UADDR64 .rodata+0x000000000056a168 c000000001b3f369 R_PPC64_UADDR64 .rodata+0x000000000056a178 c000000001b3f384 R_PPC64_UADDR64 .rodata+0x000000000056a188 c000000001b3f39f R_PPC64_UADDR64 .rodata+0x000000000056a198 c000000001b3f3ba R_PPC64_UADDR64 .rodata+0x000000000056a1a8 c000000001b3f3d5 R_PPC64_UADDR64 .rodata+0x000000000056a1b8 c000000001b3f40b R_PPC64_UADDR64 .rodata+0x000000000056a1d8 c000000001b3f426 R_PPC64_UADDR64 .rodata+0x000000000056a1e8 c000000001b3f441 R_PPC64_UADDR64 .rodata+0x000000000056a1f8 c000000001b3f45c R_PPC64_UADDR64 .rodata+0x000000000056a208 c000000001b3f477 R_PPC64_UADDR64 .rodata+0x000000000056a218 c000000001b3f492 R_PPC64_UADDR64 .rodata+0x000000000056a228 c000000001b3f4ad R_PPC64_UADDR64 .rodata+0x000000000056a238 c000000001b3f4e3 R_PPC64_UADDR64 .rodata+0x000000000056a258 c000000001b3f4fe R_PPC64_UADDR64 .rodata+0x000000000056a268 c000000001b3f519 R_PPC64_UADDR64 .rodata+0x000000000056a278 c000000001b3f534 R_PPC64_UADDR64 .rodata+0x000000000056a288 c000000001b3f54f R_PPC64_UADDR64 .rodata+0x000000000056a298 c000000001b3f56a R_PPC64_UADDR64 .rodata+0x000000000056a2a8 c000000001b3f585 R_PPC64_UADDR64 .rodata+0x000000000056a2b8 c000000001b3f5bb R_PPC64_UADDR64 .rodata+0x000000000056a2d8 c000000001b3f5d6 R_PPC64_UADDR64 .rodata+0x000000000056a2e8 c000000001b3f5f1 R_PPC64_UADDR64 .rodata+0x000000000056a2f8 c000000001b3f60c R_PPC64_UADDR64 .rodata+0x000000000056a308 c000000001b3f627 R_PPC64_UADDR64 .rodata+0x000000000056a318 c000000001b3f642 R_PPC64_UADDR64 .rodata+0x000000000056a328 c000000001b3f65d R_PPC64_UADDR64 .rodata+0x000000000056a338 c000000001b3f693 R_PPC64_UADDR64 .rodata+0x000000000056a358 c000000001b3f6ae R_PPC64_UADDR64 .rodata+0x000000000056a368 c000000001b3f6c9 R_PPC64_UADDR64 .rodata+0x000000000056a378 c000000001b3f6e4 R_PPC64_UADDR64 .rodata+0x000000000056a388 c000000001b3f6ff R_PPC64_UADDR64 .rodata+0x000000000056a398 c000000001b3f71a R_PPC64_UADDR64 .rodata+0x000000000056a3a8 c000000001b3f735 R_PPC64_UADDR64 .rodata+0x000000000056a3b8 c000000001b3f76b R_PPC64_UADDR64 .rodata+0x000000000056a3d8 c000000001b3f786 R_PPC64_UADDR64 .rodata+0x000000000056a3e8 c000000001b3f7a1 R_PPC64_UADDR64 .rodata+0x000000000056a3f8 c000000001b3f7bc R_PPC64_UADDR64 .rodata+0x000000000056a410 c000000001b3f7d7 R_PPC64_UADDR64 .rodata+0x000000000056a420 c000000001b3f7f2 R_PPC64_UADDR64 .rodata+0x000000000056a430 c000000001b3f80d R_PPC64_UADDR64 .rodata+0x000000000056a440 c000000001b3f843 R_PPC64_UADDR64 .rodata+0x000000000056a460 c000000001b3f85e R_PPC64_UADDR64 .rodata+0x000000000056a470 c000000001b3f879 R_PPC64_UADDR64 .rodata+0x000000000056a480 WARNING: You need at least binutils >= 2.19 to build a CONFIG_RELOCATABLE kernel INFO: Uncompressed kernel (size 0x2bf0d70) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x2c00000) Image Name: Linux-5.8.0-rc2+ Created: Tue Jun 30 04:52:00 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 14963407 Bytes = 14612.70 KiB = 14.27 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-next_ppc64_book3e_allmodconfig_powerpc-gcc9 # Build took: 0:20:38.037299