# 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_powerpc-allyesconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.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 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powerpc-allyesconfig_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_powerpc-allyesconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_powerpc-allyesconfig_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/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/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/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/uc101.dts:100.15-102.4 arch/powerpc/boot/dts/uc101.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/p1020rdb-pd.dts:189.11-193.6: Warning (spi_bus_reg): /soc@ffe00000/spi@7000/slic@0: SPI bus unit address format error, expected "1" /kisskb/src/arch/powerpc/boot/dts/fsl/p1020rdb-pd.dts:195.11-199.6: Warning (spi_bus_reg): /soc@ffe00000/spi@7000/slic@1: SPI bus unit address format error, expected "2" /kisskb/src/arch/powerpc/boot/dts/xpedite5200_xmon.dts:139.11-142.6: Warning (i2c_bus_reg): /soc@ef000000/i2c@3000/dtt@48: I2C bus unit address format error, expected "34" /kisskb/src/arch/powerpc/boot/dts/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/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/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/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/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/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/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/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/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/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/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/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/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/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_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/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/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/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/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) 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/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' WARNING: 148 bad relocations c0000000094603ab R_PPC64_UADDR64 .rodata+0x0000000001ab7518 c0000000094603c6 R_PPC64_UADDR64 .rodata+0x0000000001ab7588 c0000000094603e1 R_PPC64_UADDR64 .rodata+0x0000000001ab7598 c0000000094603fc R_PPC64_UADDR64 .rodata+0x0000000001ab75a8 c000000009460417 R_PPC64_UADDR64 .rodata+0x0000000001ab75b8 c000000009460432 R_PPC64_UADDR64 .rodata+0x0000000001ab75c8 c00000000946044d R_PPC64_UADDR64 .rodata+0x0000000001ab75d8 c000000009460483 R_PPC64_UADDR64 .rodata+0x0000000001ab75f8 c00000000946049e R_PPC64_UADDR64 .rodata+0x0000000001ab7608 c0000000094604b9 R_PPC64_UADDR64 .rodata+0x0000000001ab7610 c0000000094604d4 R_PPC64_UADDR64 .rodata+0x0000000001ab7618 c0000000094604ef R_PPC64_UADDR64 .rodata+0x0000000001ab7628 c00000000946050a R_PPC64_UADDR64 .rodata+0x0000000001ab7638 c000000009460525 R_PPC64_UADDR64 .rodata+0x0000000001ab7648 c00000000946055b R_PPC64_UADDR64 .rodata+0x0000000001ab7668 c000000009460576 R_PPC64_UADDR64 .rodata+0x0000000001ab7678 c000000009460591 R_PPC64_UADDR64 .rodata+0x0000000001ab7688 c0000000094605ac R_PPC64_UADDR64 .rodata+0x0000000001ab7698 c0000000094605c7 R_PPC64_UADDR64 .rodata+0x0000000001ab76a8 c0000000094605e2 R_PPC64_UADDR64 .rodata+0x0000000001ab76b8 c0000000094605fd R_PPC64_UADDR64 .rodata+0x0000000001ab76c8 c000000009460633 R_PPC64_UADDR64 .rodata+0x0000000001ab76e8 c00000000946064e R_PPC64_UADDR64 .rodata+0x0000000001ab76f8 c000000009460669 R_PPC64_UADDR64 .rodata+0x0000000001ab7708 c000000009460684 R_PPC64_UADDR64 .rodata+0x0000000001ab7718 c00000000946069f R_PPC64_UADDR64 .rodata+0x0000000001ab7728 c0000000094606ba R_PPC64_UADDR64 .rodata+0x0000000001ab7738 c0000000094606d5 R_PPC64_UADDR64 .rodata+0x0000000001ab7748 c00000000946070b R_PPC64_UADDR64 .rodata+0x0000000001ab7760 c000000009460726 R_PPC64_UADDR64 .rodata+0x0000000001ab7770 c000000009460741 R_PPC64_UADDR64 .rodata+0x0000000001ab7780 c00000000946075c R_PPC64_UADDR64 .rodata+0x0000000001ab7790 c000000009460777 R_PPC64_UADDR64 .rodata+0x0000000001ab77a0 c000000009460792 R_PPC64_UADDR64 .rodata+0x0000000001ab77b0 c0000000094607ad R_PPC64_UADDR64 .rodata+0x0000000001ab77c0 c0000000094607e3 R_PPC64_UADDR64 .rodata+0x0000000001ab77e0 c0000000094607fe R_PPC64_UADDR64 .rodata+0x0000000001ab77f0 c000000009460819 R_PPC64_UADDR64 .rodata+0x0000000001ab7800 c000000009460834 R_PPC64_UADDR64 .rodata+0x0000000001ab7810 c00000000946084f R_PPC64_UADDR64 .rodata+0x0000000001ab7820 c00000000946086a R_PPC64_UADDR64 .rodata+0x0000000001ab7830 c000000009460885 R_PPC64_UADDR64 .rodata+0x0000000001ab7840 c0000000094608bb R_PPC64_UADDR64 .rodata+0x0000000001ab7860 c0000000094608d6 R_PPC64_UADDR64 .rodata+0x0000000001ab7870 c0000000094608f1 R_PPC64_UADDR64 .rodata+0x0000000001ab7880 c00000000946090c R_PPC64_UADDR64 .rodata+0x0000000001ab7890 c000000009460927 R_PPC64_UADDR64 .rodata+0x0000000001ab78a0 c000000009460942 R_PPC64_UADDR64 .rodata+0x0000000001ab78b0 c00000000946095d R_PPC64_UADDR64 .rodata+0x0000000001ab78c0 c000000009460993 R_PPC64_UADDR64 .rodata+0x0000000001ab78e0 c0000000094609ae R_PPC64_UADDR64 .rodata+0x0000000001ab78f0 c0000000094609c9 R_PPC64_UADDR64 .rodata+0x0000000001ab7900 c0000000094609e4 R_PPC64_UADDR64 .rodata+0x0000000001ab7910 c0000000094609ff R_PPC64_UADDR64 .rodata+0x0000000001ab7920 c000000009460a1a R_PPC64_UADDR64 .rodata+0x0000000001ab7930 c000000009460a35 R_PPC64_UADDR64 .rodata+0x0000000001ab7940 c000000009460a6b R_PPC64_UADDR64 .rodata+0x0000000001ab7960 c000000009460a86 R_PPC64_UADDR64 .rodata+0x0000000001ab7970 c000000009460aa1 R_PPC64_UADDR64 .rodata+0x0000000001ab7980 c000000009460abc R_PPC64_UADDR64 .rodata+0x0000000001ab7990 c000000009460ad7 R_PPC64_UADDR64 .rodata+0x0000000001ab79a0 c000000009460af2 R_PPC64_UADDR64 .rodata+0x0000000001ab79b0 c000000009460b0d R_PPC64_UADDR64 .rodata+0x0000000001ab79c0 c000000009460b43 R_PPC64_UADDR64 .rodata+0x0000000001ab79e0 c000000009460b5e R_PPC64_UADDR64 .rodata+0x0000000001ab79f0 c000000009460b79 R_PPC64_UADDR64 .rodata+0x0000000001ab7a00 c000000009460b94 R_PPC64_UADDR64 .rodata+0x0000000001ab7a10 c000000009460baf R_PPC64_UADDR64 .rodata+0x0000000001ab7a20 c000000009460bca R_PPC64_UADDR64 .rodata+0x0000000001ab7a30 c000000009460be5 R_PPC64_UADDR64 .rodata+0x0000000001ab7a48 c000000009460c1b R_PPC64_UADDR64 .rodata+0x0000000001ab7a68 c000000009460c36 R_PPC64_UADDR64 .rodata+0x0000000001ab7a78 c000000009460c51 R_PPC64_UADDR64 .rodata+0x0000000001ab7a88 c000000009460c6c R_PPC64_UADDR64 .rodata+0x0000000001ab7aa0 c000000009460c87 R_PPC64_UADDR64 .rodata+0x0000000001ab7aa8 c000000009460ca2 R_PPC64_UADDR64 .rodata+0x0000000001ab7ab8 c000000009460cbd R_PPC64_UADDR64 .rodata+0x0000000001ab7ac8 c000000009460cf3 R_PPC64_UADDR64 .rodata+0x0000000001ab7ae8 c000000009460d0e R_PPC64_UADDR64 .rodata+0x0000000001ab7af8 c000000009460d29 R_PPC64_UADDR64 .rodata+0x0000000001ab7b08 c000000009460d44 R_PPC64_UADDR64 .rodata+0x0000000001ab7b18 c000000009460d5f R_PPC64_UADDR64 .rodata+0x0000000001ab7b28 c000000009460d7a R_PPC64_UADDR64 .rodata+0x0000000001ab7b30 c000000009460d95 R_PPC64_UADDR64 .rodata+0x0000000001ab7b40 c000000009460dcb R_PPC64_UADDR64 .rodata+0x0000000001ab7b60 c000000009460de6 R_PPC64_UADDR64 .rodata+0x0000000001ab7b70 c000000009460e01 R_PPC64_UADDR64 .rodata+0x0000000001ab7b80 c000000009460e1c R_PPC64_UADDR64 .rodata+0x0000000001ab7b90 c000000009460e37 R_PPC64_UADDR64 .rodata+0x0000000001ab7ba0 c000000009460e52 R_PPC64_UADDR64 .rodata+0x0000000001ab7bb8 c000000009460e6d R_PPC64_UADDR64 .rodata+0x0000000001ab7bd0 c000000009460ea3 R_PPC64_UADDR64 .rodata+0x0000000001ab7bf0 c000000009460ebe R_PPC64_UADDR64 .rodata+0x0000000001ab7c00 c000000009460ed9 R_PPC64_UADDR64 .rodata+0x0000000001ab7c10 c000000009460ef4 R_PPC64_UADDR64 .rodata+0x0000000001ab7c20 c000000009460f0f R_PPC64_UADDR64 .rodata+0x0000000001ab7c30 c000000009460f2a R_PPC64_UADDR64 .rodata+0x0000000001ab7c40 c000000009460f45 R_PPC64_UADDR64 .rodata+0x0000000001ab7c50 c000000009460f7b R_PPC64_UADDR64 .rodata+0x0000000001ab7c70 c000000009460f96 R_PPC64_UADDR64 .rodata+0x0000000001ab7c80 c000000009460fb1 R_PPC64_UADDR64 .rodata+0x0000000001ab7c90 c000000009460fcc R_PPC64_UADDR64 .rodata+0x0000000001ab7ca0 c000000009460fe7 R_PPC64_UADDR64 .rodata+0x0000000001ab7cb0 c000000009461002 R_PPC64_UADDR64 .rodata+0x0000000001ab7cc0 c00000000946101d R_PPC64_UADDR64 .rodata+0x0000000001ab7cd0 c000000009461053 R_PPC64_UADDR64 .rodata+0x0000000001ab7cf0 c00000000946106e R_PPC64_UADDR64 .rodata+0x0000000001ab7d00 c000000009461089 R_PPC64_UADDR64 .rodata+0x0000000001ab7d10 c0000000094610a4 R_PPC64_UADDR64 .rodata+0x0000000001ab7d20 c0000000094610bf R_PPC64_UADDR64 .rodata+0x0000000001ab7d30 c0000000094610da R_PPC64_UADDR64 .rodata+0x0000000001ab7d40 c0000000094610f5 R_PPC64_UADDR64 .rodata+0x0000000001ab7d50 c00000000946112b R_PPC64_UADDR64 .rodata+0x0000000001ab7d70 c000000009461146 R_PPC64_UADDR64 .rodata+0x0000000001ab7d80 c000000009461161 R_PPC64_UADDR64 .rodata+0x0000000001ab7d90 c00000000946117c R_PPC64_UADDR64 .rodata+0x0000000001ab7da0 c000000009461197 R_PPC64_UADDR64 .rodata+0x0000000001ab7db0 c0000000094611b2 R_PPC64_UADDR64 .rodata+0x0000000001ab7dc0 c0000000094611cd R_PPC64_UADDR64 .rodata+0x0000000001ab7dd0 c000000009461203 R_PPC64_UADDR64 .rodata+0x0000000001ab7df0 c00000000946121e R_PPC64_UADDR64 .rodata+0x0000000001ab7e00 c000000009461239 R_PPC64_UADDR64 .rodata+0x0000000001ab7e10 c000000009461254 R_PPC64_UADDR64 .rodata+0x0000000001ab7e20 c00000000946126f R_PPC64_UADDR64 .rodata+0x0000000001ab7e30 c00000000946128a R_PPC64_UADDR64 .rodata+0x0000000001ab7e40 c0000000094612a5 R_PPC64_UADDR64 .rodata+0x0000000001ab7e50 c0000000094612db R_PPC64_UADDR64 .rodata+0x0000000001ab7e70 c0000000094612f6 R_PPC64_UADDR64 .rodata+0x0000000001ab7e80 c000000009461311 R_PPC64_UADDR64 .rodata+0x0000000001ab7e90 c00000000946132c R_PPC64_UADDR64 .rodata+0x0000000001ab7ea8 c000000009461347 R_PPC64_UADDR64 .rodata+0x0000000001ab7eb8 c000000009461362 R_PPC64_UADDR64 .rodata+0x0000000001ab7ec8 c00000000946137d R_PPC64_UADDR64 .rodata+0x0000000001ab7ed8 c0000000094613b3 R_PPC64_UADDR64 .rodata+0x0000000001ab7ef8 c0000000094613ce R_PPC64_UADDR64 .rodata+0x0000000001ab7f08 c0000000094613e9 R_PPC64_UADDR64 .rodata+0x0000000001ab7f18 c000000010f3813c R_PPC64_UADDR64 .rodata+0x00000000021075d0 c000000010f38144 R_PPC64_UADDR64 .rodata+0x00000000095888a0 c000000010f38174 R_PPC64_UADDR64 .rodata+0x00000000021075d0 c000000010f3817c R_PPC64_UADDR64 .rodata+0x00000000095897a0 c000000010f381ac R_PPC64_UADDR64 .rodata+0x00000000021075e0 c000000010f381b4 R_PPC64_UADDR64 .rodata+0x000000000958b8a0 c000000010f381e4 R_PPC64_UADDR64 .rodata+0x00000000021075e8 c000000010f381ec R_PPC64_UADDR64 .rodata+0x000000000958eff0 c000000010f3821c R_PPC64_UADDR64 .rodata+0x00000000021075f0 c000000010f38224 R_PPC64_UADDR64 .rodata+0x000000000958c020 c000000010f38254 R_PPC64_UADDR64 .rodata+0x0000000002107600 c000000010f3825c R_PPC64_UADDR64 .rodata+0x000000000958bd20 WARNING: You need at least binutils >= 2.19 to build a CONFIG_RELOCATABLE kernel Completed OK # rm -rf /kisskb/build/powerpc-fixes_powerpc-allyesconfig_powerpc-gcc5 # Build took: 0:22:43.437128