# git rev-parse -q --verify 59cc84c802eb923805e7bba425976a3df5ce35d8^{commit} 59cc84c802eb923805e7bba425976a3df5ce35d8 already have revision, skipping fetch # git checkout -q -f -B kisskb 59cc84c802eb923805e7bba425976a3df5ce35d8 # git clean -qxdf # < git log -1 # commit 59cc84c802eb923805e7bba425976a3df5ce35d8 # Author: Frederic Barrat # Date: Wed May 26 16:45:40 2021 +0200 # # Revert "powerpc/kernel/iommu: Align size for IOMMU_PAGE_SIZE() to save TCEs" # # This reverts commit 3c0468d4451eb6b4f6604370639f163f9637a479. # # That commit was breaking alignment guarantees for the DMA address when # allocating coherent mappings, as described in # Documentation/core-api/dma-api-howto.rst # # It was also noticed by Mellanox' driver: # [ 1515.763621] mlx5_core c002:01:00.0: mlx5_frag_buf_alloc_node:146:(pid 13402): unexpected map alignment: 0x0800000000c61000, page_shift=16 # [ 1515.763635] mlx5_core c002:01:00.0: mlx5_cqwq_create:181:(pid # 13402): mlx5_frag_buf_alloc_node() failed, -12 # # Fixes: 3c0468d4451e ("powerpc/kernel/iommu: Align size for IOMMU_PAGE_SIZE() to save TCEs") # Signed-off-by: Frederic Barrat # Reviewed-by: Alexey Kardashevskiy # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20210526144540.117795-1-fbarrat@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 59cc84c802eb923805e7bba425976a3df5ce35d8 # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc6xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc6xx_defconfig # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc6xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc6xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc6xx_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0xcd582c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd582c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd582c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd582c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd582c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd582c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd582c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd582c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd582c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcd582c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcc521c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xcc521c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-5.13.0-rc2+ Created: Sun Jun 6 21:56:25 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5487513 Bytes = 5358.90 KiB = 5.23 MiB Load Address: 00d00000 Entry Point: 00d00294 Image Name: Linux-5.13.0-rc2+ Created: Sun Jun 6 21:56:25 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5486442 Bytes = 5357.85 KiB = 5.23 MiB Load Address: 00d00000 Entry Point: 00d00294 Image Name: Linux-5.13.0-rc2+ Created: Sun Jun 6 21:56:25 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5488075 Bytes = 5359.45 KiB = 5.23 MiB Load Address: 00d00000 Entry Point: 00d00894 Image Name: Linux-5.13.0-rc2+ Created: Sun Jun 6 21:56:25 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5488053 Bytes = 5359.43 KiB = 5.23 MiB Load Address: 00d00000 Entry Point: 00d00894 Image Name: Linux-5.13.0-rc2+ Created: Sun Jun 6 21:56:25 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5487587 Bytes = 5358.97 KiB = 5.23 MiB Load Address: 00d00000 Entry Point: 00d00294 Image Name: Linux-5.13.0-rc2+ Created: Sun Jun 6 21:56:25 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5487583 Bytes = 5358.97 KiB = 5.23 MiB Load Address: 00d00000 Entry Point: 00d00294 Image Name: Linux-5.13.0-rc2+ Created: Sun Jun 6 21:56:25 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5488338 Bytes = 5359.71 KiB = 5.23 MiB Load Address: 00d00000 Entry Point: 00d00294 Image Name: Linux-5.13.0-rc2+ Created: Sun Jun 6 21:56:25 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5486099 Bytes = 5357.52 KiB = 5.23 MiB Load Address: 00d00000 Entry Point: 00d00294 Image Name: Linux-5.13.0-rc2+ Created: Sun Jun 6 21:56:26 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5457834 Bytes = 5329.92 KiB = 5.20 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-fixes_ppc6xx_defconfig_powerpc-gcc5 # Build took: 0:02:09.402901