# 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 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc8272_ads_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc8272_ads_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc8272_ads_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_32.S: Assembler messages: /kisskb/src/arch/powerpc/kernel/head_32.S:932: Warning: invalid register expression /kisskb/src/kernel/futex.c: In function 'do_futex': /kisskb/src/kernel/futex.c:1658:17: warning: 'oldval' may be used uninitialized in this function [-Wmaybe-uninitialized] return oldval == cmparg; ^ /kisskb/src/kernel/futex.c:1633:6: note: 'oldval' was declared here int oldval, ret; ^ INFO: Uncompressed kernel (size 0x5733ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x562d68) 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 01:11:32 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2800698 Bytes = 2735.06 KiB = 2.67 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.2.0-rc2-g41a808618879 Created: Tue Jul 2 01:11:32 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2831154 Bytes = 2764.80 KiB = 2.70 MiB Load Address: 00600000 Entry Point: 00600894 Completed OK # rm -rf /kisskb/build/powerpc-next_mpc8272_ads_defconfig_powerpc-gcc5 # Build took: 0:00:48.161482