# git rev-parse -q --verify 210453542946c37317478591cc9ca4a53c062aeb^{commit} 210453542946c37317478591cc9ca4a53c062aeb already have revision, skipping fetch # git checkout -q -f -B kisskb 210453542946c37317478591cc9ca4a53c062aeb # git clean -qxdf # < git log -1 # commit 210453542946c37317478591cc9ca4a53c062aeb # Author: Alexey Kardashevskiy # Date: Fri Jun 1 18:06:16 2018 +1000 # # powerpc/powernv/ioda2: Reduce upper limit for DMA window size # # We use PHB in mode1 which uses bit 59 to select a correct DMA window. # However there is mode2 which uses bits 59:55 and allows up to 32 DMA # windows per a PE. # # Even though documentation does not clearly specify that, it seems that # the actual hardware does not support bits 59:55 even in mode1, in other # words we can create a window as big as 1<<58 but DMA simply won't work. # # This reduces the upper limit from 59 to 55 bits to let the userspace know # about the hardware limits. # # Fixes: 7aafac11e3 "powerpc/powernv/ioda2: Gracefully fail if too many TCE levels requested" # Signed-off-by: Alexey Kardashevskiy # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 210453542946c37317478591cc9ca4a53c062aeb # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc5200_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc5200_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc5200_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/net/Makefile:24: CC cannot link executables. Skipping bpfilter. :1332:2: warning: #warning syscall io_pgetevents not implemented [-Wcpp] /kisskb/src/net/Makefile:24: CC cannot link executables. Skipping bpfilter. INFO: Uncompressed kernel (size 0x6d43b8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6d43b8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6d43b8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6c3ca0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) Image Name: Linux-4.18.0-rc2-g2104535 Created: Thu Jun 28 00:53:27 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3439635 Bytes = 3359.02 kB = 3.28 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.18.0-rc2-g2104535 Created: Thu Jun 28 00:53:27 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3463426 Bytes = 3382.25 kB = 3.30 MB Load Address: 00700000 Entry Point: 00700228 Image Name: Linux-4.18.0-rc2-g2104535 Created: Thu Jun 28 00:53:28 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3463133 Bytes = 3381.97 kB = 3.30 MB Load Address: 00700000 Entry Point: 00700228 Image Name: Linux-4.18.0-rc2-g2104535 Created: Thu Jun 28 00:53:28 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3463411 Bytes = 3382.24 kB = 3.30 MB Load Address: 00700000 Entry Point: 00700228 Completed OK # rm -rf /kisskb/build/powerpc-next_mpc5200_defconfig_powerpc-5.3 # Build took: 0:01:11.079861