# 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-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-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_allmodconfig+64K_PAGES_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # Added to kconfig CONFIG_PPC_4K_PAGES=n # Added to kconfig CONFIG_PPC_64K_PAGES=y # Added to kconfig CONFIG_OPTIMIZE_INLINING=n # Added to kconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_allmodconfig+64K_PAGES_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_allmodconfig+64K_PAGES_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:12776:warning: override: reassigning to symbol PPC_64K_PAGES # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_allmodconfig+64K_PAGES_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-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/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/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/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/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/mpc8610_hpcd.dts:420.3-21: Warning (pci_device_bus_num): /pcie@e000a000/pcie@0:bus-range: PCI bus number 0 out of range, expected (1 - 1) /kisskb/src/arch/powerpc/boot/dts/fsl/p1020rdb-pd.dts:189.11-193.6: Warning (spi_bus_reg): /soc@ffe00000/spi@7000/slic@0: SPI bus unit address format error, expected "1" /kisskb/src/arch/powerpc/boot/dts/fsl/p1020rdb-pd.dts:195.11-199.6: Warning (spi_bus_reg): /soc@ffe00000/spi@7000/slic@1: SPI bus unit address format error, expected "2" /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8555cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2i.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/o2d.dtsi:32.12-43.5 arch/powerpc/boot/dts/o2i.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/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/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/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/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) 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/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/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/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/mgcoge.dts:230.14-234.7: Warning (spi_bus_reg): /soc@f0000000/cpm@119c0/spi@11aa0/ds3106@1: SPI bus unit address format error, expected "0" /kisskb/src/arch/powerpc/boot/dts/fsl/oca4080.dts:132.23-134.4: Warning (pci_bridge): /pcie@ffe200000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:58.7-84.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:68.9-83.4: Warning (pci_bridge): /pcie@ffe200000/pcie@0: missing ranges for PCI bridge (or not a bridge) /kisskb/src/arch/powerpc/boot/dts/fsl/oca4080.dts:136.23-138.4: Warning (pci_bridge): /pcie@ffe201000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:87.7-113.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:97.9-112.4: Warning (pci_bridge): /pcie@ffe201000/pcie@0: missing ranges for PCI bridge (or not a bridge) /kisskb/src/arch/powerpc/boot/dts/fsl/oca4080.dts:140.23-142.4: Warning (pci_bridge): /pcie@ffe202000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:116.7-142.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:126.9-141.4: Warning (pci_bridge): /pcie@ffe202000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/oca4080.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/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/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" /kisskb/src/fs/ntfs/aops.c: In function 'ntfs_write_mst_block': /kisskb/src/fs/ntfs/aops.c:1311:1: warning: the frame size of 2192 bytes is larger than 2048 bytes [-Wframe-larger-than=] } ^ /kisskb/src/net/smc/smc_llc.c: In function 'smc_llc_srv_add_link_local': /kisskb/src/net/smc/smc_llc.c:1145:9: warning: missing braces around initializer [-Wmissing-braces] struct smc_llc_msg_add_link add_llc = {0}; ^ /kisskb/src/net/smc/smc_llc.c:1145:9: warning: (near initialization for 'add_llc.hd') [-Wmissing-braces] /kisskb/src/net/smc/smc_llc.c: In function 'smc_llc_srv_delete_link_local': /kisskb/src/net/smc/smc_llc.c:1178:9: warning: missing braces around initializer [-Wmissing-braces] struct smc_llc_msg_del_link del_llc = {0}; ^ /kisskb/src/net/smc/smc_llc.c:1178:9: warning: (near initialization for 'del_llc.hd') [-Wmissing-braces] /kisskb/src/net/smc/smc_llc.c: In function 'smc_llc_send_link_delete_all': /kisskb/src/net/smc/smc_llc.c:1250:9: warning: missing braces around initializer [-Wmissing-braces] struct smc_llc_msg_del_link delllc = {0}; ^ /kisskb/src/net/smc/smc_llc.c:1250:9: warning: (near initialization for 'delllc.hd') [-Wmissing-braces] /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c: In function 'amdgpu_dm_psr_enable': /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:8927:9: warning: missing braces around initializer [-Wmissing-braces] struct dc_static_screen_params params = {0}; ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:8927:9: warning: (near initialization for 'params.triggers') [-Wmissing-braces] /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser2.c: In function 'bios_parser_get_i2c_info': /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser2.c:297:9: warning: missing braces around initializer [-Wmissing-braces] struct atom_i2c_record dummy_record = {0}; ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser2.c:297:9: warning: (near initialization for 'dummy_record.record_header') [-Wmissing-braces] /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr.c: In function 'rn_clk_mgr_construct': /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr.c:701:9: warning: missing braces around initializer [-Wmissing-braces] struct dpm_clocks clock_table = { 0 }; ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dcn21/rn_clk_mgr.c:701:9: warning: (near initialization for 'clock_table.DcfClocks') [-Wmissing-braces] /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_resource.c:452:8: warning: missing braces around initializer [-Wmissing-braces] struct _vcs_dpi_soc_bounding_box_st dcn2_0_nv12_soc = { 0 }; ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_resource.c:452:8: warning: (near initialization for 'dcn2_0_nv12_soc.clock_limits') [-Wmissing-braces] /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_hubp.c: In function 'hubp2_validate_dml_output': /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_hubp.c:1256:9: warning: missing braces around initializer [-Wmissing-braces] struct _vcs_dpi_display_rq_regs_st rq_regs = {0}; ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_hubp.c:1256:9: warning: (near initialization for 'rq_regs.rq_regs_l') [-Wmissing-braces] /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/dcn21/dcn21_hubp.c: In function 'hubp21_validate_dml_output': /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/dcn21/dcn21_hubp.c:368:9: warning: missing braces around initializer [-Wmissing-braces] struct _vcs_dpi_display_rq_regs_st rq_regs = {0}; ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/dcn21/dcn21_hubp.c:368:9: warning: (near initialization for 'rq_regs.rq_regs_l') [-Wmissing-braces] /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c: In function 'dp_test_get_audio_test_data': /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:2712:8: warning: missing braces around initializer [-Wmissing-braces] union audio_test_mode dpcd_test_mode = {0}; ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:2712:8: warning: (near initialization for 'dpcd_test_mode.bits') [-Wmissing-braces] /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:2714:8: warning: missing braces around initializer [-Wmissing-braces] union audio_test_pattern_period dpcd_pattern_period[AUDIO_CHANNELS_COUNT] = {0}; ^ /kisskb/src/drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:2714:8: warning: (near initialization for 'dpcd_pattern_period[0]') [-Wmissing-braces] WARNING: 136 bad relocations c0000000015b8dd3 R_PPC64_UADDR64 .rodata+0x00000000005c9f40 c0000000015b8dee R_PPC64_UADDR64 .rodata+0x00000000005c9fb0 c0000000015b8e09 R_PPC64_UADDR64 .rodata+0x00000000005c9fc0 c0000000015b8e24 R_PPC64_UADDR64 .rodata+0x00000000005c9fd0 c0000000015b8e3f R_PPC64_UADDR64 .rodata+0x00000000005c9fe0 c0000000015b8e5a R_PPC64_UADDR64 .rodata+0x00000000005c9ff0 c0000000015b8e75 R_PPC64_UADDR64 .rodata+0x00000000005ca000 c0000000015b8eab R_PPC64_UADDR64 .rodata+0x00000000005ca020 c0000000015b8ec6 R_PPC64_UADDR64 .rodata+0x00000000005ca030 c0000000015b8ee1 R_PPC64_UADDR64 .rodata+0x00000000005ca038 c0000000015b8efc R_PPC64_UADDR64 .rodata+0x00000000005ca040 c0000000015b8f17 R_PPC64_UADDR64 .rodata+0x00000000005ca050 c0000000015b8f32 R_PPC64_UADDR64 .rodata+0x00000000005ca060 c0000000015b8f4d R_PPC64_UADDR64 .rodata+0x00000000005ca070 c0000000015b8f83 R_PPC64_UADDR64 .rodata+0x00000000005ca090 c0000000015b8f9e R_PPC64_UADDR64 .rodata+0x00000000005ca0a0 c0000000015b8fb9 R_PPC64_UADDR64 .rodata+0x00000000005ca0b0 c0000000015b8fd4 R_PPC64_UADDR64 .rodata+0x00000000005ca0c0 c0000000015b8fef R_PPC64_UADDR64 .rodata+0x00000000005ca0d0 c0000000015b900a R_PPC64_UADDR64 .rodata+0x00000000005ca0e0 c0000000015b9025 R_PPC64_UADDR64 .rodata+0x00000000005ca0f0 c0000000015b905b R_PPC64_UADDR64 .rodata+0x00000000005ca110 c0000000015b9076 R_PPC64_UADDR64 .rodata+0x00000000005ca120 c0000000015b9091 R_PPC64_UADDR64 .rodata+0x00000000005ca130 c0000000015b90ac R_PPC64_UADDR64 .rodata+0x00000000005ca140 c0000000015b90c7 R_PPC64_UADDR64 .rodata+0x00000000005ca150 c0000000015b90e2 R_PPC64_UADDR64 .rodata+0x00000000005ca160 c0000000015b90fd R_PPC64_UADDR64 .rodata+0x00000000005ca170 c0000000015b9133 R_PPC64_UADDR64 .rodata+0x00000000005ca188 c0000000015b914e R_PPC64_UADDR64 .rodata+0x00000000005ca198 c0000000015b9169 R_PPC64_UADDR64 .rodata+0x00000000005ca1a8 c0000000015b9184 R_PPC64_UADDR64 .rodata+0x00000000005ca1b8 c0000000015b919f R_PPC64_UADDR64 .rodata+0x00000000005ca1c8 c0000000015b91ba R_PPC64_UADDR64 .rodata+0x00000000005ca1d8 c0000000015b91d5 R_PPC64_UADDR64 .rodata+0x00000000005ca1e8 c0000000015b920b R_PPC64_UADDR64 .rodata+0x00000000005ca208 c0000000015b9226 R_PPC64_UADDR64 .rodata+0x00000000005ca218 c0000000015b9241 R_PPC64_UADDR64 .rodata+0x00000000005ca228 c0000000015b925c R_PPC64_UADDR64 .rodata+0x00000000005ca238 c0000000015b9277 R_PPC64_UADDR64 .rodata+0x00000000005ca248 c0000000015b9292 R_PPC64_UADDR64 .rodata+0x00000000005ca258 c0000000015b92ad R_PPC64_UADDR64 .rodata+0x00000000005ca268 c0000000015b92e3 R_PPC64_UADDR64 .rodata+0x00000000005ca288 c0000000015b92fe R_PPC64_UADDR64 .rodata+0x00000000005ca298 c0000000015b9319 R_PPC64_UADDR64 .rodata+0x00000000005ca2a8 c0000000015b9334 R_PPC64_UADDR64 .rodata+0x00000000005ca2b8 c0000000015b934f R_PPC64_UADDR64 .rodata+0x00000000005ca2c8 c0000000015b936a R_PPC64_UADDR64 .rodata+0x00000000005ca2d8 c0000000015b9385 R_PPC64_UADDR64 .rodata+0x00000000005ca2e8 c0000000015b93bb R_PPC64_UADDR64 .rodata+0x00000000005ca308 c0000000015b93d6 R_PPC64_UADDR64 .rodata+0x00000000005ca318 c0000000015b93f1 R_PPC64_UADDR64 .rodata+0x00000000005ca328 c0000000015b940c R_PPC64_UADDR64 .rodata+0x00000000005ca338 c0000000015b9427 R_PPC64_UADDR64 .rodata+0x00000000005ca348 c0000000015b9442 R_PPC64_UADDR64 .rodata+0x00000000005ca358 c0000000015b945d R_PPC64_UADDR64 .rodata+0x00000000005ca368 c0000000015b9493 R_PPC64_UADDR64 .rodata+0x00000000005ca388 c0000000015b94ae R_PPC64_UADDR64 .rodata+0x00000000005ca398 c0000000015b94c9 R_PPC64_UADDR64 .rodata+0x00000000005ca3a8 c0000000015b94e4 R_PPC64_UADDR64 .rodata+0x00000000005ca3b8 c0000000015b94ff R_PPC64_UADDR64 .rodata+0x00000000005ca3c8 c0000000015b951a R_PPC64_UADDR64 .rodata+0x00000000005ca3d8 c0000000015b9535 R_PPC64_UADDR64 .rodata+0x00000000005ca3e8 c0000000015b956b R_PPC64_UADDR64 .rodata+0x00000000005ca408 c0000000015b9586 R_PPC64_UADDR64 .rodata+0x00000000005ca418 c0000000015b95a1 R_PPC64_UADDR64 .rodata+0x00000000005ca428 c0000000015b95bc R_PPC64_UADDR64 .rodata+0x00000000005ca438 c0000000015b95d7 R_PPC64_UADDR64 .rodata+0x00000000005ca448 c0000000015b95f2 R_PPC64_UADDR64 .rodata+0x00000000005ca458 c0000000015b960d R_PPC64_UADDR64 .rodata+0x00000000005ca470 c0000000015b9643 R_PPC64_UADDR64 .rodata+0x00000000005ca490 c0000000015b965e R_PPC64_UADDR64 .rodata+0x00000000005ca4a0 c0000000015b9679 R_PPC64_UADDR64 .rodata+0x00000000005ca4b0 c0000000015b9694 R_PPC64_UADDR64 .rodata+0x00000000005ca4c8 c0000000015b96af R_PPC64_UADDR64 .rodata+0x00000000005ca4d0 c0000000015b96ca R_PPC64_UADDR64 .rodata+0x00000000005ca4e0 c0000000015b96e5 R_PPC64_UADDR64 .rodata+0x00000000005ca4f0 c0000000015b971b R_PPC64_UADDR64 .rodata+0x00000000005ca510 c0000000015b9736 R_PPC64_UADDR64 .rodata+0x00000000005ca520 c0000000015b9751 R_PPC64_UADDR64 .rodata+0x00000000005ca530 c0000000015b976c R_PPC64_UADDR64 .rodata+0x00000000005ca540 c0000000015b9787 R_PPC64_UADDR64 .rodata+0x00000000005ca550 c0000000015b97a2 R_PPC64_UADDR64 .rodata+0x00000000005ca558 c0000000015b97bd R_PPC64_UADDR64 .rodata+0x00000000005ca568 c0000000015b97f3 R_PPC64_UADDR64 .rodata+0x00000000005ca588 c0000000015b980e R_PPC64_UADDR64 .rodata+0x00000000005ca598 c0000000015b9829 R_PPC64_UADDR64 .rodata+0x00000000005ca5a8 c0000000015b9844 R_PPC64_UADDR64 .rodata+0x00000000005ca5b8 c0000000015b985f R_PPC64_UADDR64 .rodata+0x00000000005ca5c8 c0000000015b987a R_PPC64_UADDR64 .rodata+0x00000000005ca5e0 c0000000015b9895 R_PPC64_UADDR64 .rodata+0x00000000005ca5f8 c0000000015b98cb R_PPC64_UADDR64 .rodata+0x00000000005ca618 c0000000015b98e6 R_PPC64_UADDR64 .rodata+0x00000000005ca628 c0000000015b9901 R_PPC64_UADDR64 .rodata+0x00000000005ca638 c0000000015b991c R_PPC64_UADDR64 .rodata+0x00000000005ca648 c0000000015b9937 R_PPC64_UADDR64 .rodata+0x00000000005ca658 c0000000015b9952 R_PPC64_UADDR64 .rodata+0x00000000005ca668 c0000000015b996d R_PPC64_UADDR64 .rodata+0x00000000005ca678 c0000000015b99a3 R_PPC64_UADDR64 .rodata+0x00000000005ca698 c0000000015b99be R_PPC64_UADDR64 .rodata+0x00000000005ca6a8 c0000000015b99d9 R_PPC64_UADDR64 .rodata+0x00000000005ca6b8 c0000000015b99f4 R_PPC64_UADDR64 .rodata+0x00000000005ca6c8 c0000000015b9a0f R_PPC64_UADDR64 .rodata+0x00000000005ca6d8 c0000000015b9a2a R_PPC64_UADDR64 .rodata+0x00000000005ca6e8 c0000000015b9a45 R_PPC64_UADDR64 .rodata+0x00000000005ca6f8 c0000000015b9a7b R_PPC64_UADDR64 .rodata+0x00000000005ca718 c0000000015b9a96 R_PPC64_UADDR64 .rodata+0x00000000005ca728 c0000000015b9ab1 R_PPC64_UADDR64 .rodata+0x00000000005ca738 c0000000015b9acc R_PPC64_UADDR64 .rodata+0x00000000005ca748 c0000000015b9ae7 R_PPC64_UADDR64 .rodata+0x00000000005ca758 c0000000015b9b02 R_PPC64_UADDR64 .rodata+0x00000000005ca768 c0000000015b9b1d R_PPC64_UADDR64 .rodata+0x00000000005ca778 c0000000015b9b53 R_PPC64_UADDR64 .rodata+0x00000000005ca798 c0000000015b9b6e R_PPC64_UADDR64 .rodata+0x00000000005ca7a8 c0000000015b9b89 R_PPC64_UADDR64 .rodata+0x00000000005ca7b8 c0000000015b9ba4 R_PPC64_UADDR64 .rodata+0x00000000005ca7c8 c0000000015b9bbf R_PPC64_UADDR64 .rodata+0x00000000005ca7d8 c0000000015b9bda R_PPC64_UADDR64 .rodata+0x00000000005ca7e8 c0000000015b9bf5 R_PPC64_UADDR64 .rodata+0x00000000005ca7f8 c0000000015b9c2b R_PPC64_UADDR64 .rodata+0x00000000005ca818 c0000000015b9c46 R_PPC64_UADDR64 .rodata+0x00000000005ca828 c0000000015b9c61 R_PPC64_UADDR64 .rodata+0x00000000005ca838 c0000000015b9c7c R_PPC64_UADDR64 .rodata+0x00000000005ca848 c0000000015b9c97 R_PPC64_UADDR64 .rodata+0x00000000005ca858 c0000000015b9cb2 R_PPC64_UADDR64 .rodata+0x00000000005ca868 c0000000015b9ccd R_PPC64_UADDR64 .rodata+0x00000000005ca878 c0000000015b9d03 R_PPC64_UADDR64 .rodata+0x00000000005ca898 c0000000015b9d1e R_PPC64_UADDR64 .rodata+0x00000000005ca8a8 c0000000015b9d39 R_PPC64_UADDR64 .rodata+0x00000000005ca8b8 c0000000015b9d54 R_PPC64_UADDR64 .rodata+0x00000000005ca8d0 c0000000015b9d6f R_PPC64_UADDR64 .rodata+0x00000000005ca8e0 c0000000015b9d8a R_PPC64_UADDR64 .rodata+0x00000000005ca8f0 c0000000015b9da5 R_PPC64_UADDR64 .rodata+0x00000000005ca900 c0000000015b9ddb R_PPC64_UADDR64 .rodata+0x00000000005ca920 c0000000015b9df6 R_PPC64_UADDR64 .rodata+0x00000000005ca930 c0000000015b9e11 R_PPC64_UADDR64 .rodata+0x00000000005ca940 WARNING: You need at least binutils >= 2.19 to build a CONFIG_RELOCATABLE kernel Completed OK # rm -rf /kisskb/build/powerpc-next_allmodconfig+64K_PAGES_powerpc-gcc4.9 # Build took: 0:17:26.980019