# git rev-parse -q --verify 19ab500edb5d6020010caba48ce3b4ce4182ab63^{commit} 19ab500edb5d6020010caba48ce3b4ce4182ab63 already have revision, skipping fetch # git checkout -q -f -B kisskb 19ab500edb5d6020010caba48ce3b4ce4182ab63 # git clean -qxdf # < git log -1 # commit 19ab500edb5d6020010caba48ce3b4ce4182ab63 # Author: Aneesh Kumar K.V # Date: Sat Jun 27 12:31:46 2020 +0530 # # powerpc/mm/pkeys: Make pkey access check work on execute_only_key # # Jan reported that LTP mmap03 was getting stuck in a page fault loop # after commit c46241a370a6 ("powerpc/pkeys: Check vma before returning # key fault error to the user"), as well as a minimised reproducer: # # #include # #include # #include # #include # #include # # int main(int ac, char **av) # { # int page_sz = getpagesize(); # int fildes; # char *addr; # # fildes = open("tempfile", O_WRONLY | O_CREAT, 0666); # write(fildes, &fildes, sizeof(fildes)); # close(fildes); # # fildes = open("tempfile", O_RDONLY); # unlink("tempfile"); # # addr = mmap(0, page_sz, PROT_EXEC, MAP_FILE | MAP_PRIVATE, fildes, 0); # # printf("%d\n", *addr); # return 0; # } # # And noticed that access_pkey_error() in page fault handler now always # seem to return false: # # __do_page_fault # access_pkey_error(is_pkey: 1, is_exec: 0, is_write: 0) # arch_vma_access_permitted # pkey_access_permitted # if (!is_pkey_enabled(pkey)) # return true # return false # # pkey_access_permitted() should not check if the pkey is available in # UAMOR (using is_pkey_enabled()). The kernel needs to do that check # only when allocating keys. This also makes sure the execute_only_key # which is marked as non-manageable via UAMOR is handled correctly in # pkey_access_permitted(), and fixes the bug. # # Fixes: c46241a370a6 ("powerpc/pkeys: Check vma before returning key fault error to the user") # Reported-by: Jan Stancek # Signed-off-by: Aneesh Kumar K.V # [mpe: Include bug report details etc. in the change log] # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20200627070147.297535-1-aneesh.kumar@linux.ibm.com # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 19ab500edb5d6020010caba48ce3b4ce4182ab63 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_allmodconfig+64K_PAGES_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-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-fixes_allmodconfig+64K_PAGES_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_allmodconfig+64K_PAGES_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:12782:warning: override: reassigning to symbol PPC_64K_PAGES # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_allmodconfig+64K_PAGES_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.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/glacier.dts:492.26-532.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/glacier.dts:534.26-574.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/glacier.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8555cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/fsl/kmcoge4.dts:196.23-198.4: Warning (pci_bridge): /pcie@ffe201000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/p2041si-post.dtsi:87.7-113.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p2041si-post.dtsi:97.9-112.4: Warning (pci_bridge): /pcie@ffe201000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/kmcoge4.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/icon.dts:318.26-357.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/icon.dts:359.26-398.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/icon.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/uc101.dts:100.15-102.4 arch/powerpc/boot/dts/uc101.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/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/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/akebono.dts:251.28-289.5: Warning (pci_bridge): /plb/pciex@10100000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/akebono.dts:291.28-329.5: Warning (pci_bridge): /plb/pciex@20100000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/akebono.dts:331.28-369.5: Warning (pci_bridge): /plb/pciex@18100000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/akebono.dts:371.28-409.5: Warning (pci_bridge): /plb/pciex@28100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/akebono.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/bluestone.dts:328.26-368.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/bluestone.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /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/makalu.dts:271.25-310.5: Warning (pci_bridge): /plb/pciex@a0000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/makalu.dts:312.25-351.5: Warning (pci_bridge): /plb/pciex@c0000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/makalu.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/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/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/kilauea.dts:325.25-364.5: Warning (pci_bridge): /plb/pciex@a0000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/kilauea.dts:366.25-405.5: Warning (pci_bridge): /plb/pciex@c0000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/kilauea.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/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_sbc610.dts:209.22-211.4: Warning (pci_bridge): /pcie@fef09000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:119.7-144.3 /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:129.9-143.4: Warning (pci_bridge): /pcie@fef09000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/gef_sbc610.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/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/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/katmai.dts:322.26-361.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:363.26-402.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:404.26-443.5: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.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/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/canyonlands.dts:464.26-504.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/canyonlands.dts:506.26-546.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/canyonlands.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/currituck.dts:125.28-161.5: Warning (pci_bridge): /plb/pciex@10100000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/currituck.dts:163.28-198.5: Warning (pci_bridge): /plb/pciex@30100000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/currituck.dts:200.28-235.5: Warning (pci_bridge): /plb/pciex@38100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/currituck.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/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/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/haleakala.dts:240.25-279.5: Warning (pci_bridge): /plb/pciex@a0000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/haleakala.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/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/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/o2mnt.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/o2d.dtsi:32.12-43.5 arch/powerpc/boot/dts/o2mnt.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/motionpro.dts:84.15-86.4 arch/powerpc/boot/dts/motionpro.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/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/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/redwood.dts:238.26-277.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/redwood.dts:279.26-318.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/redwood.dts:320.26-359.5: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/redwood.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/fs/ntfs/aops.c: In function 'ntfs_write_mst_block': /kisskb/src/fs/ntfs/aops.c:1311:1: warning: the frame size of 2176 bytes is larger than 2048 bytes [-Wframe-larger-than=] } ^ WARNING: 137 bad relocations c0000000015832dc R_PPC64_UADDR64 .rodata+0x0000000000432f10 c0000000015832f7 R_PPC64_UADDR64 .rodata+0x00000000005c4460 c000000001583312 R_PPC64_UADDR64 .rodata+0x00000000005c44d0 c00000000158332d R_PPC64_UADDR64 .rodata+0x00000000005c44e0 c000000001583363 R_PPC64_UADDR64 .rodata+0x00000000005c4500 c00000000158337e R_PPC64_UADDR64 .rodata+0x00000000005c4510 c000000001583399 R_PPC64_UADDR64 .rodata+0x00000000005c4520 c0000000015833b4 R_PPC64_UADDR64 .rodata+0x00000000005c4530 c0000000015833cf R_PPC64_UADDR64 .rodata+0x00000000005c4540 c0000000015833ea R_PPC64_UADDR64 .rodata+0x00000000005c4550 c000000001583405 R_PPC64_UADDR64 .rodata+0x00000000005c4558 c00000000158343b R_PPC64_UADDR64 .rodata+0x00000000005c4570 c000000001583456 R_PPC64_UADDR64 .rodata+0x00000000005c4580 c000000001583471 R_PPC64_UADDR64 .rodata+0x00000000005c4590 c00000000158348c R_PPC64_UADDR64 .rodata+0x00000000005c45a0 c0000000015834a7 R_PPC64_UADDR64 .rodata+0x00000000005c45b0 c0000000015834c2 R_PPC64_UADDR64 .rodata+0x00000000005c45c0 c0000000015834dd R_PPC64_UADDR64 .rodata+0x00000000005c45d0 c000000001583513 R_PPC64_UADDR64 .rodata+0x00000000005c45f0 c00000000158352e R_PPC64_UADDR64 .rodata+0x00000000005c4600 c000000001583549 R_PPC64_UADDR64 .rodata+0x00000000005c4610 c000000001583564 R_PPC64_UADDR64 .rodata+0x00000000005c4620 c00000000158357f R_PPC64_UADDR64 .rodata+0x00000000005c4630 c00000000158359a R_PPC64_UADDR64 .rodata+0x00000000005c4640 c0000000015835b5 R_PPC64_UADDR64 .rodata+0x00000000005c4650 c0000000015835eb R_PPC64_UADDR64 .rodata+0x00000000005c4670 c000000001583606 R_PPC64_UADDR64 .rodata+0x00000000005c4680 c000000001583621 R_PPC64_UADDR64 .rodata+0x00000000005c4690 c00000000158363c R_PPC64_UADDR64 .rodata+0x00000000005c4698 c000000001583657 R_PPC64_UADDR64 .rodata+0x00000000005c46a8 c000000001583672 R_PPC64_UADDR64 .rodata+0x00000000005c46b8 c00000000158368d R_PPC64_UADDR64 .rodata+0x00000000005c46c8 c0000000015836c3 R_PPC64_UADDR64 .rodata+0x00000000005c46e8 c0000000015836de R_PPC64_UADDR64 .rodata+0x00000000005c46f8 c0000000015836f9 R_PPC64_UADDR64 .rodata+0x00000000005c4708 c000000001583714 R_PPC64_UADDR64 .rodata+0x00000000005c4718 c00000000158372f R_PPC64_UADDR64 .rodata+0x00000000005c4728 c00000000158374a R_PPC64_UADDR64 .rodata+0x00000000005c4738 c000000001583765 R_PPC64_UADDR64 .rodata+0x00000000005c4748 c00000000158379b R_PPC64_UADDR64 .rodata+0x00000000005c4768 c0000000015837b6 R_PPC64_UADDR64 .rodata+0x00000000005c4778 c0000000015837d1 R_PPC64_UADDR64 .rodata+0x00000000005c4788 c0000000015837ec R_PPC64_UADDR64 .rodata+0x00000000005c4798 c000000001583807 R_PPC64_UADDR64 .rodata+0x00000000005c47a8 c000000001583822 R_PPC64_UADDR64 .rodata+0x00000000005c47b8 c00000000158383d R_PPC64_UADDR64 .rodata+0x00000000005c47c8 c000000001583873 R_PPC64_UADDR64 .rodata+0x00000000005c47e8 c00000000158388e R_PPC64_UADDR64 .rodata+0x00000000005c47f8 c0000000015838a9 R_PPC64_UADDR64 .rodata+0x00000000005c4808 c0000000015838c4 R_PPC64_UADDR64 .rodata+0x00000000005c4818 c0000000015838df R_PPC64_UADDR64 .rodata+0x00000000005c4828 c0000000015838fa R_PPC64_UADDR64 .rodata+0x00000000005c4838 c000000001583915 R_PPC64_UADDR64 .rodata+0x00000000005c4848 c00000000158394b R_PPC64_UADDR64 .rodata+0x00000000005c4868 c000000001583966 R_PPC64_UADDR64 .rodata+0x00000000005c4878 c000000001583981 R_PPC64_UADDR64 .rodata+0x00000000005c4888 c00000000158399c R_PPC64_UADDR64 .rodata+0x00000000005c4898 c0000000015839b7 R_PPC64_UADDR64 .rodata+0x00000000005c48a8 c0000000015839d2 R_PPC64_UADDR64 .rodata+0x00000000005c48b8 c0000000015839ed R_PPC64_UADDR64 .rodata+0x00000000005c48c8 c000000001583a23 R_PPC64_UADDR64 .rodata+0x00000000005c48e8 c000000001583a3e R_PPC64_UADDR64 .rodata+0x00000000005c48f8 c000000001583a59 R_PPC64_UADDR64 .rodata+0x00000000005c4908 c000000001583a74 R_PPC64_UADDR64 .rodata+0x00000000005c4918 c000000001583a8f R_PPC64_UADDR64 .rodata+0x00000000005c4928 c000000001583aaa R_PPC64_UADDR64 .rodata+0x00000000005c4938 c000000001583ac5 R_PPC64_UADDR64 .rodata+0x00000000005c4948 c000000001583afb R_PPC64_UADDR64 .rodata+0x00000000005c4968 c000000001583b16 R_PPC64_UADDR64 .rodata+0x00000000005c4978 c000000001583b31 R_PPC64_UADDR64 .rodata+0x00000000005c4990 c000000001583b4c R_PPC64_UADDR64 .rodata+0x00000000005c49a0 c000000001583b67 R_PPC64_UADDR64 .rodata+0x00000000005c49b0 c000000001583b82 R_PPC64_UADDR64 .rodata+0x00000000005c49c0 c000000001583b9d R_PPC64_UADDR64 .rodata+0x00000000005c49d0 c000000001583bd3 R_PPC64_UADDR64 .rodata+0x00000000005c49f0 c000000001583bee R_PPC64_UADDR64 .rodata+0x00000000005c4a00 c000000001583c09 R_PPC64_UADDR64 .rodata+0x00000000005c4a10 c000000001583c24 R_PPC64_UADDR64 .rodata+0x00000000005c4a20 c000000001583c3f R_PPC64_UADDR64 .rodata+0x00000000005c4a30 c000000001583c5a R_PPC64_UADDR64 .rodata+0x00000000005c4a40 c000000001583c75 R_PPC64_UADDR64 .rodata+0x00000000005c4a50 c000000001583cab R_PPC64_UADDR64 .rodata+0x00000000005c4a70 c000000001583cc6 R_PPC64_UADDR64 .rodata+0x00000000005c4a78 c000000001583ce1 R_PPC64_UADDR64 .rodata+0x00000000005c4a88 c000000001583cfc R_PPC64_UADDR64 .rodata+0x00000000005c4a98 c000000001583d17 R_PPC64_UADDR64 .rodata+0x00000000005c4aa8 c000000001583d32 R_PPC64_UADDR64 .rodata+0x00000000005c4ab8 c000000001583d4d R_PPC64_UADDR64 .rodata+0x00000000005c4ac8 c000000001583d83 R_PPC64_UADDR64 .rodata+0x00000000005c4ae8 c000000001583d9e R_PPC64_UADDR64 .rodata+0x00000000005c4b00 c000000001583db9 R_PPC64_UADDR64 .rodata+0x00000000005c4b18 c000000001583dd4 R_PPC64_UADDR64 .rodata+0x00000000005c4b28 c000000001583def R_PPC64_UADDR64 .rodata+0x00000000005c4b38 c000000001583e0a R_PPC64_UADDR64 .rodata+0x00000000005c4b48 c000000001583e25 R_PPC64_UADDR64 .rodata+0x00000000005c4b58 c000000001583e5b R_PPC64_UADDR64 .rodata+0x00000000005c4b78 c000000001583e76 R_PPC64_UADDR64 .rodata+0x00000000005c4b88 c000000001583e91 R_PPC64_UADDR64 .rodata+0x00000000005c4b98 c000000001583eac R_PPC64_UADDR64 .rodata+0x00000000005c4ba8 c000000001583ec7 R_PPC64_UADDR64 .rodata+0x00000000005c4bb8 c000000001583ee2 R_PPC64_UADDR64 .rodata+0x00000000005c4bc8 c000000001583efd R_PPC64_UADDR64 .rodata+0x00000000005c4bd8 c000000001583f33 R_PPC64_UADDR64 .rodata+0x00000000005c4bf8 c000000001583f4e R_PPC64_UADDR64 .rodata+0x00000000005c4c08 c000000001583f69 R_PPC64_UADDR64 .rodata+0x00000000005c4c18 c000000001583f84 R_PPC64_UADDR64 .rodata+0x00000000005c4c28 c000000001583f9f R_PPC64_UADDR64 .rodata+0x00000000005c4c38 c000000001583fba R_PPC64_UADDR64 .rodata+0x00000000005c4c48 c000000001583fd5 R_PPC64_UADDR64 .rodata+0x00000000005c4c58 c00000000158400b R_PPC64_UADDR64 .rodata+0x00000000005c4c78 c000000001584026 R_PPC64_UADDR64 .rodata+0x00000000005c4c88 c000000001584041 R_PPC64_UADDR64 .rodata+0x00000000005c4c98 c00000000158405c R_PPC64_UADDR64 .rodata+0x00000000005c4ca8 c000000001584077 R_PPC64_UADDR64 .rodata+0x00000000005c4cb8 c000000001584092 R_PPC64_UADDR64 .rodata+0x00000000005c4cc8 c0000000015840ad R_PPC64_UADDR64 .rodata+0x00000000005c4cd8 c0000000015840e3 R_PPC64_UADDR64 .rodata+0x00000000005c4cf8 c0000000015840fe R_PPC64_UADDR64 .rodata+0x00000000005c4d08 c000000001584119 R_PPC64_UADDR64 .rodata+0x00000000005c4d18 c000000001584134 R_PPC64_UADDR64 .rodata+0x00000000005c4d28 c00000000158414f R_PPC64_UADDR64 .rodata+0x00000000005c4d38 c00000000158416a R_PPC64_UADDR64 .rodata+0x00000000005c4d48 c000000001584185 R_PPC64_UADDR64 .rodata+0x00000000005c4d58 c0000000015841bb R_PPC64_UADDR64 .rodata+0x00000000005c4d78 c0000000015841d6 R_PPC64_UADDR64 .rodata+0x00000000005c4d88 c0000000015841f1 R_PPC64_UADDR64 .rodata+0x00000000005c4d98 c00000000158420c R_PPC64_UADDR64 .rodata+0x00000000005c4da8 c000000001584227 R_PPC64_UADDR64 .rodata+0x00000000005c4db8 c000000001584242 R_PPC64_UADDR64 .rodata+0x00000000005c4dc8 c00000000158425d R_PPC64_UADDR64 .rodata+0x00000000005c4dd8 c000000001584293 R_PPC64_UADDR64 .rodata+0x00000000005c4e00 c0000000015842ae R_PPC64_UADDR64 .rodata+0x00000000005c4e10 c0000000015842c9 R_PPC64_UADDR64 .rodata+0x00000000005c4e20 c0000000015842e4 R_PPC64_UADDR64 .rodata+0x00000000005c4e30 c0000000015842ff R_PPC64_UADDR64 .rodata+0x00000000005c4e40 c00000000158431a R_PPC64_UADDR64 .rodata+0x00000000005c4e50 c000000001584335 R_PPC64_UADDR64 .rodata+0x00000000005c4e60 WARNING: You need at least binutils >= 2.19 to build a CONFIG_RELOCATABLE kernel Completed OK # rm -rf /kisskb/build/powerpc-fixes_allmodconfig+64K_PAGES_powerpc-gcc5 # Build took: 0:18:41.843834