Buildresult: powerpc-fixes/mpc85xx_defconfig+KVM/powerpc-gcc9 built on Oct 2 2021, 01:22
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Oct 2 2021, 01:22
Duration:
0:01:51.544166
Builder:
ka4
Revision:
powerpc/iommu: Report the correct most efficient DMA mask for PCI devices (
23c216b335d1fbd716076e8263b54a714ea3cf0e)
Target:
powerpc-fixes/mpc85xx_defconfig+KVM/powerpc-gcc9
Branch:
powerpc-fixes
Compiler:
powerpc-gcc9
(powerpc64-linux-gcc (GCC) 9.2.0 / GNU ld (GNU Binutils) 2.32)
Config:
mpc85xx_defconfig+KVM
(
download
)
Log:
Download original
Possible warnings (7)
.config:4253:warning: override: reassigning to symbol PPC_E500MC .config:4254: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 23c216b335d1fbd716076e8263b54a714ea3cf0e^{commit} 23c216b335d1fbd716076e8263b54a714ea3cf0e already have revision, skipping fetch # git checkout -q -f -B kisskb 23c216b335d1fbd716076e8263b54a714ea3cf0e # git clean -qxdf # < git log -1 # commit 23c216b335d1fbd716076e8263b54a714ea3cf0e # Author: Alexey Kardashevskiy <aik@ozlabs.ru> # Date: Thu Sep 30 13:44:54 2021 +1000 # # powerpc/iommu: Report the correct most efficient DMA mask for PCI devices # # According to dma-api.rst, the dma_get_required_mask() helper should return # "the mask that the platform requires to operate efficiently". Which in # the case of PPC64 means the bypass mask and not a mask from an IOMMU table # which is shorter and slower to use due to map/unmap operations (especially # expensive on "pseries"). # # However the existing implementation ignores the possibility of bypassing # and returns the IOMMU table mask on the pseries platform which makes some # drivers (mpt3sas is one example) choose 32bit DMA even though bypass is # supported. The powernv platform sort of handles it by having a bigger # default window with a mask >=40 but it only works as drivers choose # 63/64bit if the required mask is >32 which is rather pointless. # # This reintroduces the bypass capability check to let drivers make # a better choice of the DMA mask. # # Fixes: f1565c24b596 ("powerpc: use the generic dma_ops_bypass mode") # Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> # Reviewed-by: Christoph Hellwig <hch@lst.de> # Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> # Link: https://lore.kernel.org/r/20210930034454.95794-1-aik@ozlabs.ru # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 23c216b335d1fbd716076e8263b54a714ea3cf0e # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.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 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4253:warning: override: reassigning to symbol PPC_E500MC .config:4254:warning: override: reassigning to symbol VIRTUALIZATION # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_mpc85xx_defconfig+KVM_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/include/linux/kernel.h:11, from /kisskb/src/include/linux/list.h:9, 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:42: 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:6: 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-fixes_mpc85xx_defconfig+KVM_powerpc-gcc9 # Build took: 0:01:51.544166
© Michael Ellerman 2006-2018.