# 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_ppc64e_defconfig+KEXEC_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64e_defconfig # Added to kconfig CONFIG_KEXEC=y # yes \n | make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64e_defconfig+KEXEC_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_ppc64e_defconfig+KEXEC_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0xdc17b8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xe00000) Image Name: Linux-4.19.0-rc3-gabd19d9b221d5 Created: Thu Sep 20 00:57:43 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5900891 Bytes = 5762.59 KiB = 5.63 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-fixes_ppc64e_defconfig+KEXEC_powerpc-gcc5 # Build took: 0:00:41.463549