# 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_44x_katmai_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 44x/katmai_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_44x_katmai_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- arch/powerpc/boot/katmai.dtb: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/katmai.dtb: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/katmai.dtb: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/katmai.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' INFO: Uncompressed kernel (size 0x455810) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) Image Name: Linux-4.19.0-rc3-gabd19d9b221d5 Created: Thu Sep 20 01:22:51 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2212982 Bytes = 2161.12 KiB = 2.11 MiB Load Address: 00500000 Entry Point: 005010ec Completed OK # rm -rf /kisskb/build/powerpc-fixes_44x_katmai_defconfig_powerpc-gcc5 # Build took: 0:00:16.311524