# 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_83xx_mpc8313_rdb_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 83xx/mpc8313_rdb_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_83xx_mpc8313_rdb_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 0x58ff38) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-4.18.0-rc2-g2104535 Created: Thu Jun 28 00:58:42 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2840463 Bytes = 2773.89 kB = 2.71 MB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-next_83xx_mpc8313_rdb_defconfig_powerpc-5.3 # Build took: 0:00:18.656441