# 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_40x_obs600_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 40x/obs600_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-fixes_40x_obs600_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/kernel/head_40x.S: Assembler messages: /kisskb/src/arch/powerpc/kernel/head_40x.S:883: Warning: invalid register expression INFO: Uncompressed kernel (size 0x4a3c8c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) Image Name: Linux-4.19.0-rc3-gabd19d9b221d Created: Thu Sep 20 01:27:40 2018 Image Type: PowerPC Linux Multi-File Image (gzip compressed) Data Size: 2380358 Bytes = 2324.57 KiB = 2.27 MiB Load Address: 00000000 Entry Point: 00000000 Contents: Image 0: 2373472 Bytes = 2317.84 KiB = 2.26 MiB Image 1: 3 Bytes = 0.00 KiB = 0.00 MiB Image 2: 6866 Bytes = 6.71 KiB = 0.01 MiB Completed OK # rm -rf /kisskb/build/powerpc-fixes_40x_obs600_defconfig_powerpc-gcc5 # Build took: 0:00:34.017184