# git rev-parse -q --verify bbbca72352bb9484bc057c91a408332b35ee8f4c^{commit} bbbca72352bb9484bc057c91a408332b35ee8f4c already have revision, skipping fetch # git checkout -q -f -B kisskb bbbca72352bb9484bc057c91a408332b35ee8f4c # git clean -qxdf # < git log -1 # commit bbbca72352bb9484bc057c91a408332b35ee8f4c # Author: Vaibhav Jain # Date: Tue Jan 25 01:52:04 2022 +0530 # # powerpc/papr_scm: Implement initial support for injecting smart errors # # Presently PAPR doesn't support injecting smart errors on an # NVDIMM. This makes testing the NVDIMM health reporting functionality # difficult as simulating NVDIMM health related events need a hacked up # qemu version. # # To solve this problem this patch proposes simulating certain set of # NVDIMM health related events in papr_scm. Specifically 'fatal' health # state and 'dirty' shutdown state. These error can be injected via the # user-space 'ndctl-inject-smart(1)' command. With the proposed patch and # corresponding ndctl patches following command flow is expected: # # $ sudo ndctl list -DH -d nmem0 # ... # "health_state":"ok", # "shutdown_state":"clean", # ... # # inject unsafe shutdown and fatal health error # $ sudo ndctl inject-smart nmem0 -Uf # ... # "health_state":"fatal", # "shutdown_state":"dirty", # ... # # uninject all errors # $ sudo ndctl inject-smart nmem0 -N # ... # "health_state":"ok", # "shutdown_state":"clean", # ... # # The patch adds a new member 'health_bitmap_inject_mask' inside struct # papr_scm_priv which is then bitwise ANDed to the health bitmap fetched from the # hypervisor. The value for 'health_bitmap_inject_mask' is accessible from sysfs # at nmemX/papr/health_bitmap_inject. # # A new PDSM named 'SMART_INJECT' is proposed that accepts newly # introduced 'struct nd_papr_pdsm_smart_inject' as payload thats # exchanged between libndctl and papr_scm to indicate the requested # smart-error states. # # When the processing the PDSM 'SMART_INJECT', papr_pdsm_smart_inject() # constructs a pair or 'inject_mask' and 'clear_mask' bitmaps from the payload # and bit-blt it to the 'health_bitmap_inject_mask'. This ensures the after being # fetched from the hypervisor, the health_bitmap reflects requested smart-error # states. # # Signed-off-by: Vaibhav Jain # Signed-off-by: Shivaprasad G Bhat # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20220124202204.1488346-1-vaibhav@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 bbbca72352bb9484bc057c91a408332b35ee8f4c # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_powerpc-allmodconfig_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_SAMPLES=n # Added to kconfig CONFIG_OPTIMIZE_INLINING=n # Added to kconfig CONFIG_BPF_PRELOAD=n # Added to kconfig # < make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_powerpc-allmodconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_powerpc-allmodconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/powerpc-next_powerpc-allmodconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /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 (unit_address_format): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/p2020rdb.dtb: Warning (pci_device_reg): Failed prerequisite 'pci_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 (unit_address_format): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/mvme7100.dtb: Warning (pci_device_reg): Failed prerequisite 'pci_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/mpc8541cds.dts:341.15-350.5: Warning (pci_device_reg): /pci@e0008000/i8259@19000: PCI unit address format error, expected "12,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/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/fsl/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/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" In file included from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/tm.h:24, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/latent_entropy_plugin.c:78: /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/config/elfos.h:102:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\ ^ /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/config/elfos.h:170:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ In file included from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/tm.h:27, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/latent_entropy_plugin.c:78: /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/config/rs6000/sysv4.h:411:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ In file included from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/tm.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/latent_entropy_plugin.c:78: /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/config/rs6000/option-defaults.h:42:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define OPT_ARCH64 "!"OPT_32 ^ In file included from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/tm.h:24, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/sancov_plugin.c:22: /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/config/elfos.h:102:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\ ^ /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/config/elfos.h:170:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ In file included from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/tm.h:27, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/sancov_plugin.c:22: /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/config/rs6000/sysv4.h:411:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ In file included from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/tm.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/sancov_plugin.c:22: /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/config/rs6000/option-defaults.h:42:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define OPT_ARCH64 "!"OPT_32 ^ /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 In file included from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/tm.h:43, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/latent_entropy_plugin.c:78: /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/defaults.h:126:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ In file included from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/tm.h:43, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/sancov_plugin.c:22: /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/defaults.h:126:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ /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 (unit_address_format): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/gef_sbc610.dtb: Warning (pci_device_reg): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/gef_sbc610.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' In file included from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/tm.h:24, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/structleak_plugin.c:32: /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/config/elfos.h:102:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\ ^ /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/config/elfos.h:170:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ In file included from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/tm.h:27, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/structleak_plugin.c:32: /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/config/rs6000/sysv4.h:411:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ In file included from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/tm.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/structleak_plugin.c:32: /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/config/rs6000/option-defaults.h:42:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define OPT_ARCH64 "!"OPT_32 ^ In file included from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/tm.h:24, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/randomize_layout_plugin.c:19: /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/config/elfos.h:102:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\ ^ /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/config/elfos.h:170:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ In file included from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/tm.h:27, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/randomize_layout_plugin.c:19: /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/config/rs6000/sysv4.h:411:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ In file included from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/tm.h:43, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/structleak_plugin.c:32: /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/defaults.h:126:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ In file included from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/tm.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/randomize_layout_plugin.c:19: /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/config/rs6000/option-defaults.h:42:20: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] #define OPT_ARCH64 "!"OPT_32 ^ /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8555cds.dts:341.15-350.5: Warning (pci_device_reg): /pci@e0008000/i8259@19000: PCI unit address format error, expected "12,0" /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) In file included from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/tm.h:43, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/gcc-plugin.h:31, from /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/plugin.h:23, from /kisskb/src/scripts/gcc-plugins/gcc-common.h:9, from /kisskb/src/scripts/gcc-plugins/randomize_layout_plugin.c:19: /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/5.5.0/plugin/include/defaults.h:126:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ /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_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 (unit_address_format): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/gef_ppc9a.dtb: Warning (pci_device_reg): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/gef_ppc9a.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/oca4080.dts:132.23-134.4: Warning (pci_bridge): /pcie@ffe200000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:58.7-84.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:68.9-83.4: Warning (pci_bridge): /pcie@ffe200000/pcie@0: missing ranges for PCI bridge (or not a bridge) /kisskb/src/arch/powerpc/boot/dts/fsl/oca4080.dts:136.23-138.4: Warning (pci_bridge): /pcie@ffe201000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:87.7-113.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:97.9-112.4: Warning (pci_bridge): /pcie@ffe201000/pcie@0: missing ranges for PCI bridge (or not a bridge) /kisskb/src/arch/powerpc/boot/dts/fsl/oca4080.dts:140.23-142.4: Warning (pci_bridge): /pcie@ffe202000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:116.7-142.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:126.9-141.4: Warning (pci_bridge): /pcie@ffe202000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/oca4080.dtb: Warning (unit_address_format): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/oca4080.dtb: Warning (pci_device_reg): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/oca4080.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/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 - 3) /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 (unit_address_format): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/ppa8548.dtb: Warning (pci_device_reg): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/ppa8548.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/stxssa8555.dts:340.15-349.5: Warning (pci_device_reg): /pci@e0008000/i8259@19000: PCI unit address format error, expected "12,0" /kisskb/src/arch/powerpc/boot/dts/stxssa8555.dts:329.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/fsl/p2020rdb-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 (unit_address_format): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/p2020rdb-pc_36b.dtb: Warning (pci_device_reg): Failed prerequisite 'pci_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/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/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 (unit_address_format): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/p2020rdb-pc_32b.dtb: Warning (pci_device_reg): Failed prerequisite 'pci_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/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 (unit_address_format): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/kmcoge4.dtb: Warning (pci_device_reg): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/kmcoge4.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5121.dtsi:397.13-406.5: Warning (spi_bus_bridge): /soc@80000000/psc@11400: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/ac14xx.dts:305.19-326.5 /kisskb/src/arch/powerpc/boot/dts/mpc5121.dtsi:409.13-418.5: Warning (spi_bus_bridge): /soc@80000000/psc@11500: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/ac14xx.dts:329.19-344.5 arch/powerpc/boot/dts/ac14xx.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' cc1plus: warning: unrecognized command line option '-Wno-format-diag' cc1plus: warning: unrecognized command line option '-Wno-format-diag' cc1plus: warning: unrecognized command line option '-Wno-format-diag' cc1plus: warning: unrecognized command line option '-Wno-format-diag' Completed OK # rm -rf /kisskb/build/powerpc-next_powerpc-allmodconfig_powerpc-gcc5 # Build took: 0:27:38.954945