# git rev-parse -q --verify 210453542946c37317478591cc9ca4a53c062aeb^{commit} 210453542946c37317478591cc9ca4a53c062aeb already have revision, skipping fetch # git checkout -q -f -B kisskb 210453542946c37317478591cc9ca4a53c062aeb # git clean -qxdf # < git log -1 # commit 210453542946c37317478591cc9ca4a53c062aeb # Author: Alexey Kardashevskiy # Date: Fri Jun 1 18:06:16 2018 +1000 # # powerpc/powernv/ioda2: Reduce upper limit for DMA window size # # 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: 7aafac11e3 "powerpc/powernv/ioda2: Gracefully fail if too many TCE levels requested" # Signed-off-by: Alexey Kardashevskiy # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 210453542946c37317478591cc9ca4a53c062aeb # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_mpc85xx_cds_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- 85xx/mpc85xx_cds_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_85xx_mpc85xx_cds_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- :1332:2: warning: #warning syscall io_pgetevents not implemented [-Wcpp] /kisskb/src/net/Makefile:24: CC cannot link executables. Skipping bpfilter. arch/powerpc/boot/mpc8555cds.dtb: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) arch/powerpc/boot/mpc8541cds.dtb: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) INFO: Uncompressed kernel (size 0x4e45b8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) INFO: Uncompressed kernel (size 0x4e45b8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) INFO: Uncompressed kernel (size 0x4e45b8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) INFO: Uncompressed kernel (size 0x4d3f0c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) Image Name: Linux-4.18.0-rc2-g2104535 Created: Thu Jun 28 00:56:58 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2546584 Bytes = 2486.90 kB = 2.43 MB Load Address: 00500000 Entry Point: 0050020c Image Name: Linux-4.18.0-rc2-g2104535 Created: Thu Jun 28 00:56:58 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2548479 Bytes = 2488.75 kB = 2.43 MB Load Address: 00500000 Entry Point: 0050020c Image Name: Linux-4.18.0-rc2-g2104535 Created: Thu Jun 28 00:56:58 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2522843 Bytes = 2463.71 kB = 2.41 MB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-4.18.0-rc2-g2104535 Created: Thu Jun 28 00:56:58 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2546582 Bytes = 2486.90 kB = 2.43 MB Load Address: 00500000 Entry Point: 0050020c Completed OK # rm -rf /kisskb/build/powerpc-next_85xx_mpc85xx_cds_defconfig_powerpc-5.3 # Build took: 0:00:18.394683