# 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 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_corenet64_smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- corenet64_smp_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_corenet64_smp_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/net/core/rtnetlink.c: In function 'rtnl_newlink': /kisskb/src/net/core/rtnetlink.c:3152:1: warning: the frame size of 1248 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ INFO: Uncompressed kernel (size 0xf51290) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x1000000) Image Name: Linux-4.19.0-rc3-gabd19d9b221d Created: Thu Sep 20 01:31:13 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 6471457 Bytes = 6319.78 KiB = 6.17 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-fixes_corenet64_smp_defconfig_powerpc-gcc5 # Build took: 0:01:54.788233