# 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 120 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_ksi8560_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 85xx/ksi8560_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_ksi8560_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- :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 0x4a30bc) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) INFO: Uncompressed kernel (size 0x492a78) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) Image Name: Linux-4.18.0-rc2-g2104535 Created: Thu Jun 28 00:55:38 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2397224 Bytes = 2341.04 kB = 2.29 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.18.0-rc2-g2104535 Created: Thu Jun 28 00:55:38 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2420956 Bytes = 2364.21 kB = 2.31 MB Load Address: 00500000 Entry Point: 00500278 Completed OK # rm -rf /kisskb/build/powerpc-next_85xx_ksi8560_defconfig_powerpc-5.3 # Build took: 0:00:17.357092