# 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-8.1.0-nolibc/hppa-linux/bin/hppa-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa-linux/bin/hppa-linux-ld --version # < git log --format=%s --max-count=1 41a808618879dc28fb0a94b08db4b55790eb7827 # < make -s -j 120 ARCH=parisc O=/kisskb/build/powerpc-next_parisc-defconfig_parisc CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa-linux/bin/hppa-linux- defconfig # make -s -j 120 ARCH=parisc O=/kisskb/build/powerpc-next_parisc-defconfig_parisc CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa-linux/bin/hppa-linux- In file included from /kisskb/src/arch/parisc/math-emu/fcnvxf.c:51: /kisskb/src/arch/parisc/math-emu/fcnvxf.c: In function 'sgl_to_sgl_fcnvxf': /kisskb/src/arch/parisc/math-emu/cnv_float.h:63:52: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] #define Int_isinexact_to_sgl(int_value) (int_value << 33 - SGL_EXP_LENGTH) ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/parisc/math-emu/fcnvxf.c:101:6: note: in expansion of macro 'Int_isinexact_to_sgl' if (Int_isinexact_to_sgl(src)) { ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/parisc/math-emu/cnv_float.h:67:21: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] if ((int_value << 34 - SGL_EXP_LENGTH) || Slow(sgl_value)) \ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/parisc/math-emu/fcnvxf.c:112:5: note: in expansion of macro 'Sgl_roundnearest_from_int' Sgl_roundnearest_from_int(src,result); ^~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/parisc/math-emu/fcnvxf.c: In function 'dbl_to_sgl_fcnvxf': /kisskb/src/arch/parisc/math-emu/cnv_float.h:71:27: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] ((Dintp1(dint_valueA) << 33 - SGL_EXP_LENGTH) || Dintp2(dint_valueB)) ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/parisc/math-emu/fcnvxf.c:257:6: note: in expansion of macro 'Dint_isinexact_to_sgl' if (Dint_isinexact_to_sgl(srcp1,srcp2)) { ^~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/parisc/math-emu/cnv_float.h:75:31: warning: '<<' in boolean context, did you mean '<' ? [-Wint-in-bool-context] if ((Dintp1(dint_valueA) << 34 - SGL_EXP_LENGTH) || \ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/parisc/math-emu/fcnvxf.c:268:5: note: in expansion of macro 'Sgl_roundnearest_from_dint' Sgl_roundnearest_from_dint(srcp1,srcp2,result); ^~~~~~~~~~~~~~~~~~~~~~~~~~ Completed OK # rm -rf /kisskb/build/powerpc-next_parisc-defconfig_parisc # Build took: 0:00:36.319059