# 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 24 ARCH=powerpc O=/kisskb/build/powerpc-next_powerpc-allyesconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- allyesconfig # Added to kconfig CONFIG_PROFILE_ALL_BRANCHES=n # Added to kconfig CONFIG_ENABLE_WARN_DEPRECATED=n # Added to kconfig CONFIG_ENABLE_MUST_CHECK=n # Added to kconfig CONFIG_DEBUG_INFO=n # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_powerpc-allyesconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_powerpc-allyesconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_powerpc-allyesconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /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/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/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/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/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/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/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/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) 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/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/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/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/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/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/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/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/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/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/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_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/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/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/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/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.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/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/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) WARNING: 160 bad relocations c00000000d569bcb R_PPC64_UADDR64 .rodata+0x0000000001b09e38 c00000000d569be6 R_PPC64_UADDR64 .rodata+0x0000000001b09e80 c00000000d569c01 R_PPC64_UADDR64 .rodata+0x0000000001b09e90 c00000000d569c1c R_PPC64_UADDR64 .rodata+0x0000000001b09ea0 c00000000d569c37 R_PPC64_UADDR64 .rodata+0x0000000001b09eb0 c00000000d569c52 R_PPC64_UADDR64 .rodata+0x0000000001b09ec0 c00000000d569c6d R_PPC64_UADDR64 .rodata+0x0000000001b09ed0 c00000000d569ca3 R_PPC64_UADDR64 .rodata+0x0000000001b09ef0 c00000000d569cbe R_PPC64_UADDR64 .rodata+0x0000000001b09f00 c00000000d569cd9 R_PPC64_UADDR64 .rodata+0x0000000001b09f08 c00000000d569cf4 R_PPC64_UADDR64 .rodata+0x0000000001b09f10 c00000000d569d0f R_PPC64_UADDR64 .rodata+0x0000000001b09f20 c00000000d569d2a R_PPC64_UADDR64 .rodata+0x0000000001b09f30 c00000000d569d45 R_PPC64_UADDR64 .rodata+0x0000000001b09f40 c00000000d569d7b R_PPC64_UADDR64 .rodata+0x0000000001b09f60 c00000000d569d96 R_PPC64_UADDR64 .rodata+0x0000000001b09f70 c00000000d569db1 R_PPC64_UADDR64 .rodata+0x0000000001b09f80 c00000000d569dcc R_PPC64_UADDR64 .rodata+0x0000000001b09f90 c00000000d569de7 R_PPC64_UADDR64 .rodata+0x0000000001b09fa0 c00000000d569e02 R_PPC64_UADDR64 .rodata+0x0000000001b09fb0 c00000000d569e1d R_PPC64_UADDR64 .rodata+0x0000000001b09fc0 c00000000d569e53 R_PPC64_UADDR64 .rodata+0x0000000001b09fe0 c00000000d569e6e R_PPC64_UADDR64 .rodata+0x0000000001b09ff0 c00000000d569e89 R_PPC64_UADDR64 .rodata+0x0000000001b0a000 c00000000d569ea4 R_PPC64_UADDR64 .rodata+0x0000000001b0a010 c00000000d569ebf R_PPC64_UADDR64 .rodata+0x0000000001b0a020 c00000000d569eda R_PPC64_UADDR64 .rodata+0x0000000001b0a030 c00000000d569ef5 R_PPC64_UADDR64 .rodata+0x0000000001b0a040 c00000000d569f2b R_PPC64_UADDR64 .rodata+0x0000000001b0a058 c00000000d569f46 R_PPC64_UADDR64 .rodata+0x0000000001b0a068 c00000000d569f61 R_PPC64_UADDR64 .rodata+0x0000000001b0a078 c00000000d569f7c R_PPC64_UADDR64 .rodata+0x0000000001b0a088 c00000000d569f97 R_PPC64_UADDR64 .rodata+0x0000000001b0a098 c00000000d569fb2 R_PPC64_UADDR64 .rodata+0x0000000001b0a0a8 c00000000d569fcd R_PPC64_UADDR64 .rodata+0x0000000001b0a0b8 c00000000d56a003 R_PPC64_UADDR64 .rodata+0x0000000001b0a0d8 c00000000d56a01e R_PPC64_UADDR64 .rodata+0x0000000001b0a0e8 c00000000d56a039 R_PPC64_UADDR64 .rodata+0x0000000001b0a0f8 c00000000d56a054 R_PPC64_UADDR64 .rodata+0x0000000001b0a108 c00000000d56a06f R_PPC64_UADDR64 .rodata+0x0000000001b0a118 c00000000d56a08a R_PPC64_UADDR64 .rodata+0x0000000001b0a128 c00000000d56a0a5 R_PPC64_UADDR64 .rodata+0x0000000001b0a138 c00000000d56a0db R_PPC64_UADDR64 .rodata+0x0000000001b0a158 c00000000d56a0f6 R_PPC64_UADDR64 .rodata+0x0000000001b0a168 c00000000d56a111 R_PPC64_UADDR64 .rodata+0x0000000001b0a178 c00000000d56a12c R_PPC64_UADDR64 .rodata+0x0000000001b0a188 c00000000d56a147 R_PPC64_UADDR64 .rodata+0x0000000001b0a198 c00000000d56a162 R_PPC64_UADDR64 .rodata+0x0000000001b0a1a8 c00000000d56a17d R_PPC64_UADDR64 .rodata+0x0000000001b0a1b8 c00000000d56a1b3 R_PPC64_UADDR64 .rodata+0x0000000001b0a1d8 c00000000d56a1ce R_PPC64_UADDR64 .rodata+0x0000000001b0a1e8 c00000000d56a1e9 R_PPC64_UADDR64 .rodata+0x0000000001b0a1f8 c00000000d56a204 R_PPC64_UADDR64 .rodata+0x0000000001b0a208 c00000000d56a21f R_PPC64_UADDR64 .rodata+0x0000000001b0a218 c00000000d56a23a R_PPC64_UADDR64 .rodata+0x0000000001b0a228 c00000000d56a255 R_PPC64_UADDR64 .rodata+0x0000000001b0a238 c00000000d56a28b R_PPC64_UADDR64 .rodata+0x0000000001b0a258 c00000000d56a2a6 R_PPC64_UADDR64 .rodata+0x0000000001b0a268 c00000000d56a2c1 R_PPC64_UADDR64 .rodata+0x0000000001b0a278 c00000000d56a2dc R_PPC64_UADDR64 .rodata+0x0000000001b0a288 c00000000d56a2f7 R_PPC64_UADDR64 .rodata+0x0000000001b0a298 c00000000d56a312 R_PPC64_UADDR64 .rodata+0x0000000001b0a2a8 c00000000d56a32d R_PPC64_UADDR64 .rodata+0x0000000001b0a2b8 c00000000d56a363 R_PPC64_UADDR64 .rodata+0x0000000001b0a2d8 c00000000d56a37e R_PPC64_UADDR64 .rodata+0x0000000001b0a2e8 c00000000d56a399 R_PPC64_UADDR64 .rodata+0x0000000001b0a2f8 c00000000d56a3b4 R_PPC64_UADDR64 .rodata+0x0000000001b0a308 c00000000d56a3cf R_PPC64_UADDR64 .rodata+0x0000000001b0a318 c00000000d56a3ea R_PPC64_UADDR64 .rodata+0x0000000001b0a328 c00000000d56a405 R_PPC64_UADDR64 .rodata+0x0000000001b0a340 c00000000d56a43b R_PPC64_UADDR64 .rodata+0x0000000001b0a360 c00000000d56a456 R_PPC64_UADDR64 .rodata+0x0000000001b0a370 c00000000d56a471 R_PPC64_UADDR64 .rodata+0x0000000001b0a380 c00000000d56a48c R_PPC64_UADDR64 .rodata+0x0000000001b0a398 c00000000d56a4a7 R_PPC64_UADDR64 .rodata+0x0000000001b0a3a0 c00000000d56a4c2 R_PPC64_UADDR64 .rodata+0x0000000001b0a3b0 c00000000d56a4dd R_PPC64_UADDR64 .rodata+0x0000000001b0a3c0 c00000000d56a513 R_PPC64_UADDR64 .rodata+0x0000000001b0a3e0 c00000000d56a52e R_PPC64_UADDR64 .rodata+0x0000000001b0a3f0 c00000000d56a549 R_PPC64_UADDR64 .rodata+0x0000000001b0a400 c00000000d56a564 R_PPC64_UADDR64 .rodata+0x0000000001b0a410 c00000000d56a57f R_PPC64_UADDR64 .rodata+0x0000000001b0a420 c00000000d56a59a R_PPC64_UADDR64 .rodata+0x0000000001b0a428 c00000000d56a5b5 R_PPC64_UADDR64 .rodata+0x0000000001b0a438 c00000000d56a5eb R_PPC64_UADDR64 .rodata+0x0000000001b0a458 c00000000d56a606 R_PPC64_UADDR64 .rodata+0x0000000001b0a468 c00000000d56a621 R_PPC64_UADDR64 .rodata+0x0000000001b0a478 c00000000d56a63c R_PPC64_UADDR64 .rodata+0x0000000001b0a488 c00000000d56a657 R_PPC64_UADDR64 .rodata+0x0000000001b0a498 c00000000d56a672 R_PPC64_UADDR64 .rodata+0x0000000001b0a4b0 c00000000d56a68d R_PPC64_UADDR64 .rodata+0x0000000001b0a4c8 c00000000d56a6c3 R_PPC64_UADDR64 .rodata+0x0000000001b0a4e8 c00000000d56a6de R_PPC64_UADDR64 .rodata+0x0000000001b0a4f8 c00000000d56a6f9 R_PPC64_UADDR64 .rodata+0x0000000001b0a508 c00000000d56a714 R_PPC64_UADDR64 .rodata+0x0000000001b0a518 c00000000d56a72f R_PPC64_UADDR64 .rodata+0x0000000001b0a528 c00000000d56a74a R_PPC64_UADDR64 .rodata+0x0000000001b0a538 c00000000d56a765 R_PPC64_UADDR64 .rodata+0x0000000001b0a548 c00000000d56a79b R_PPC64_UADDR64 .rodata+0x0000000001b0a568 c00000000d56a7b6 R_PPC64_UADDR64 .rodata+0x0000000001b0a578 c00000000d56a7d1 R_PPC64_UADDR64 .rodata+0x0000000001b0a588 c00000000d56a7ec R_PPC64_UADDR64 .rodata+0x0000000001b0a598 c00000000d56a807 R_PPC64_UADDR64 .rodata+0x0000000001b0a5a8 c00000000d56a822 R_PPC64_UADDR64 .rodata+0x0000000001b0a5b8 c00000000d56a83d R_PPC64_UADDR64 .rodata+0x0000000001b0a5c8 c00000000d56a873 R_PPC64_UADDR64 .rodata+0x0000000001b0a5e8 c00000000d56a88e R_PPC64_UADDR64 .rodata+0x0000000001b0a5f8 c00000000d56a8a9 R_PPC64_UADDR64 .rodata+0x0000000001b0a608 c00000000d56a8c4 R_PPC64_UADDR64 .rodata+0x0000000001b0a618 c00000000d56a8df R_PPC64_UADDR64 .rodata+0x0000000001b0a628 c00000000d56a8fa R_PPC64_UADDR64 .rodata+0x0000000001b0a638 c00000000d56a915 R_PPC64_UADDR64 .rodata+0x0000000001b0a648 c00000000d56a94b R_PPC64_UADDR64 .rodata+0x0000000001b0a668 c00000000d56a966 R_PPC64_UADDR64 .rodata+0x0000000001b0a678 c00000000d56a981 R_PPC64_UADDR64 .rodata+0x0000000001b0a688 c00000000d56a99c R_PPC64_UADDR64 .rodata+0x0000000001b0a698 c00000000d56a9b7 R_PPC64_UADDR64 .rodata+0x0000000001b0a6a8 c00000000d56a9d2 R_PPC64_UADDR64 .rodata+0x0000000001b0a6b8 c00000000d56a9ed R_PPC64_UADDR64 .rodata+0x0000000001b0a6c8 c00000000d56aa23 R_PPC64_UADDR64 .rodata+0x0000000001b0a6e8 c00000000d56aa3e R_PPC64_UADDR64 .rodata+0x0000000001b0a6f8 c00000000d56aa59 R_PPC64_UADDR64 .rodata+0x0000000001b0a708 c00000000d56aa74 R_PPC64_UADDR64 .rodata+0x0000000001b0a718 c00000000d56aa8f R_PPC64_UADDR64 .rodata+0x0000000001b0a728 c00000000d56aaaa R_PPC64_UADDR64 .rodata+0x0000000001b0a738 c00000000d56aac5 R_PPC64_UADDR64 .rodata+0x0000000001b0a748 c00000000d56aafb R_PPC64_UADDR64 .rodata+0x0000000001b0a768 c00000000d56ab16 R_PPC64_UADDR64 .rodata+0x0000000001b0a778 c00000000d56ab31 R_PPC64_UADDR64 .rodata+0x0000000001b0a788 c00000000d56ab4c R_PPC64_UADDR64 .rodata+0x0000000001b0a7a0 c00000000d56ab67 R_PPC64_UADDR64 .rodata+0x0000000001b0a7b0 c00000000d56ab82 R_PPC64_UADDR64 .rodata+0x0000000001b0a7c0 c00000000d56ab9d R_PPC64_UADDR64 .rodata+0x0000000001b0a7d0 c00000000d56abd3 R_PPC64_UADDR64 .rodata+0x0000000001b0a7f0 c00000000d56abee R_PPC64_UADDR64 .rodata+0x0000000001b0a800 c00000000d56ac09 R_PPC64_UADDR64 .rodata+0x0000000001b0a810 c0000000151fb1f2 R_PPC64_UADDR64 .rodata+0x000000000218ea90 c0000000151fb1fa R_PPC64_UADDR64 .rodata+0x0000000009797272 c0000000151fb20e R_PPC64_UADDR64 .rodata+0x000000000218eaa0 c0000000151fb216 R_PPC64_UADDR64 .rodata+0x000000000979cdc2 c0000000151fb22a R_PPC64_UADDR64 .rodata+0x000000000218eaa0 c0000000151fb232 R_PPC64_UADDR64 .rodata+0x000000000979dcc2 c0000000151fb246 R_PPC64_UADDR64 .rodata+0x000000000218eaa0 c0000000151fb24e R_PPC64_UADDR64 .rodata+0x000000000979f342 c0000000151fb262 R_PPC64_UADDR64 .rodata+0x000000000218eaa8 c0000000151fb26a R_PPC64_UADDR64 .rodata+0x0000000009797572 c0000000151fb27e R_PPC64_UADDR64 .rodata+0x000000000218eab0 c0000000151fb286 R_PPC64_UADDR64 .rodata+0x000000000979c342 c0000000151fb29a R_PPC64_UADDR64 .rodata+0x000000000218eab0 c0000000151fb2a2 R_PPC64_UADDR64 .rodata+0x000000000979c4c2 c0000000151fb2b6 R_PPC64_UADDR64 .rodata+0x000000000218eab8 c0000000151fb2be R_PPC64_UADDR64 .rodata+0x00000000097982f2 c0000000151fb2d2 R_PPC64_UADDR64 .rodata+0x0000000001ea0df8 c0000000151fb2da R_PPC64_UADDR64 .rodata+0x000000000979c7c2 c0000000151fb2ee R_PPC64_UADDR64 .rodata+0x000000000218eac0 c0000000151fb2f6 R_PPC64_UADDR64 .rodata+0x00000000097991f2 c0000000151fb30a R_PPC64_UADDR64 .rodata+0x000000000218eac8 c0000000151fb312 R_PPC64_UADDR64 .rodata+0x000000000979b2f2 c0000000151fb326 R_PPC64_UADDR64 .rodata+0x000000000218ead0 c0000000151fb32e R_PPC64_UADDR64 .rodata+0x000000000979f4c2 WARNING: You need at least binutils >= 2.19 to build a CONFIG_RELOCATABLE kernel Completed OK # rm -rf /kisskb/build/powerpc-next_powerpc-allyesconfig_powerpc-gcc9 # Build took: 0:33:27.784754