# git rev-parse -q --verify 7a3a4d763837d3aa654cd1059030950410c04d77^{commit} 7a3a4d763837d3aa654cd1059030950410c04d77 already have revision, skipping fetch # git checkout -q -f -B kisskb 7a3a4d763837d3aa654cd1059030950410c04d77 # git clean -qxdf # < git log -1 # commit 7a3a4d763837d3aa654cd1059030950410c04d77 # Author: Alexey Kardashevskiy # Date: Wed Apr 3 15:12:33 2019 +1100 # # powerpc/mm_iommu: Allow pinning large regions # # When called with vmas_arg==NULL, get_user_pages_longterm() allocates # an array of nr_pages*8 which can easily get greater that the max order, # for example, registering memory for a 256GB guest does this and fails # in __alloc_pages_nodemask(). # # This adds a loop over chunks of entries to fit the max order limit. # # Fixes: 678e174c4c16 ("powerpc/mm/iommu: allow migration of cma allocated pages during mm_iommu_do_alloc", 2019-03-05) # Signed-off-by: Alexey Kardashevskiy # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 7a3a4d763837d3aa654cd1059030950410c04d77 # < make -s -j 120 ARCH=x86 O=/kisskb/build/powerpc-fixes_x86-allmodconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # yes \n | make -s -j 120 ARCH=x86 O=/kisskb/build/powerpc-fixes_x86-allmodconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 120 ARCH=x86 O=/kisskb/build/powerpc-fixes_x86-allmodconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- Completed OK # rm -rf /kisskb/build/powerpc-fixes_x86-allmodconfig_x86_64-gcc8 # Build took: 0:12:27.644923