# git rev-parse -q --verify abd19d9b221d5f22c0f53ca3bc7366d824e7462f^{commit} abd19d9b221d5f22c0f53ca3bc7366d824e7462f already have revision, skipping fetch # git checkout -q -f -B kisskb abd19d9b221d5f22c0f53ca3bc7366d824e7462f # git clean -qxdf # < git log -1 # commit abd19d9b221d5f22c0f53ca3bc7366d824e7462f # Author: Alexey Kardashevskiy # Date: Tue Sep 11 15:38:05 2018 +1000 # # powerpc/powernv/ioda2: Reduce upper limit for DMA window size (retry) # # 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: ce57c6610cc2 "Merge branch 'topic/ppc-kvm' into next" # Signed-off-by: Alexey Kardashevskiy # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 abd19d9b221d5f22c0f53ca3bc7366d824e7462f # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_chrp32_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- chrp32_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_chrp32_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/powerpc-fixes_chrp32_defconfig_powerpc-gcc5 # Build took: 0:00:18.475522