Buildresult: powerpc-next/mpc85xx_defconfig+KVM/powerpc-gcc11 built on Feb 17 2022, 03:33
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Feb 17 2022, 03:33
Duration:
0:03:24.635641
Builder:
ka3
Revision:
powerpc/papr_scm: Implement initial support for injecting smart errors (
bbbca72352bb9484bc057c91a408332b35ee8f4c)
Target:
powerpc-next/mpc85xx_defconfig+KVM/powerpc-gcc11
Branch:
powerpc-next
Compiler:
powerpc-gcc11
(powerpc64-linux-gcc (GCC) 11.1.0 / GNU ld (GNU Binutils) 2.36.1)
Config:
mpc85xx_defconfig+KVM
(
download
)
Log:
Download original
Possible warnings (7)
.config:4328:warning: override: reassigning to symbol PPC_E500MC .config:4329:warning: override: reassigning to symbol VIRTUALIZATION include/linux/err.h:22:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 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" 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) 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" 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)
Full Log
# 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 <vaibhav@linux.ibm.com> # 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 <vaibhav@linux.ibm.com> # Signed-off-by: Shivaprasad G Bhat <sbhat@linux.ibm.com> # Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> # Link: https://lore.kernel.org/r/20220124202204.1488346-1-vaibhav@linux.ibm.com # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 bbbca72352bb9484bc057c91a408332b35ee8f4c # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc85xx_defconfig # Added to kconfig CONFIG_PPC_E500MC=y # Added to kconfig CONFIG_VIRTUALIZATION=y # Added to kconfig CONFIG_KVM_E500MC=y # Added to kconfig # < make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4328:warning: override: reassigning to symbol PPC_E500MC .config:4329:warning: override: reassigning to symbol VIRTUALIZATION # make -s -j 80 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/include/linux/build_bug.h:5, from /kisskb/src/include/linux/container_of.h:5, from /kisskb/src/include/linux/list.h:5, from /kisskb/src/include/linux/module.h:12, from /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:15: /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/include/linux/err.h:22:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 22 | #define IS_ERR_VALUE(x) unlikely((unsigned long)(void *)(x) >= (unsigned long)-MAX_ERRNO) | ^ /kisskb/src/include/linux/compiler.h:78:45: note: in definition of macro 'unlikely' 78 | # define unlikely(x) __builtin_expect(!!(x), 0) | ^ /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:13: note: in expansion of macro 'IS_ERR_VALUE' 139 | if (IS_ERR_VALUE(fep->ring_mem_addr)) | ^~~~~~~~~~~~ /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/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) Completed OK # rm -rf /kisskb/build/powerpc-next_mpc85xx_defconfig+KVM_powerpc-gcc11 # Build took: 0:03:24.635641
© Michael Ellerman 2006-2018.