# 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_ps3_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ps3_defconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/powerpc-next_ps3_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/include/linux/genhd.h:67:0, from /kisskb/src/include/linux/blkdev.h:11, from /kisskb/src/drivers/block/ps3vram.c:12: /kisskb/src/drivers/block/ps3vram.c: In function 'ps3vram_probe': /kisskb/src/drivers/block/ps3vram.c:770:23: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'sector_t {aka long long unsigned int}' [-Wformat=] dev_info(&dev->core, "%s: Using %lu MiB of GPU memory\n", ^ /kisskb/src/include/linux/device.h:1400:22: note: in definition of macro 'dev_fmt' #define dev_fmt(fmt) fmt ^ /kisskb/src/drivers/block/ps3vram.c:770:2: note: in expansion of macro 'dev_info' dev_info(&dev->core, "%s: Using %lu MiB of GPU memory\n", ^ Completed OK # rm -rf /kisskb/build/powerpc-next_ps3_defconfig_powerpc-gcc5 # Build took: 0:01:49.101564