# git rev-parse -q --verify 41a808618879dc28fb0a94b08db4b55790eb7827^{commit} 41a808618879dc28fb0a94b08db4b55790eb7827 already have revision, skipping fetch # git checkout -q -f -B kisskb 41a808618879dc28fb0a94b08db4b55790eb7827 # git clean -qxdf # < git log -1 # commit 41a808618879dc28fb0a94b08db4b55790eb7827 # Author: Alexey Kardashevskiy # Date: Tue May 7 16:25:59 2019 +1000 # # powerpc/pseries/dma: Enable SWIOTLB # # So far the pseries platforms has always been using IOMMU making # SWIOTLB unnecessary. Now we want secure guests which means devices can # only access certain areas of guest physical memory; we are going to # use SWIOTLB for this purpose. # # This allows SWIOTLB for pseries. By default there is no change in # behavior. # # This enables SWIOTLB when the "swiotlb" kernel parameter is set to # "force". # # With the SWIOTLB enabled, the kernel creates a directly mapped DMA # window (using the usual DDW mechanism) and implements SWIOTLB on top # of that. # # 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 # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 41a808618879dc28fb0a94b08db4b55790eb7827 # < make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc40x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc40x_defconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc40x_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:808: Warning: invalid register expression INFO: Uncompressed kernel (size 0x5416c0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5416c0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x530fe0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5416c0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5416c0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.2.0-rc2-g41a808618879 Created: Tue Jul 2 00:52:40 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2661642 Bytes = 2599.26 KiB = 2.54 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.2.0-rc2-g41a808618879 Created: Tue Jul 2 00:52:40 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2692573 Bytes = 2629.47 KiB = 2.57 MiB Load Address: 00600000 Entry Point: 00601a18 Image Name: Linux-5.2.0-rc2-g41a808618879 Created: Tue Jul 2 00:52:40 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2692520 Bytes = 2629.41 KiB = 2.57 MiB Load Address: 00600000 Entry Point: 006017dc Completed OK # rm -rf /kisskb/build/powerpc-next_ppc40x_defconfig_powerpc-gcc5 # Build took: 0:00:54.785445