# git rev-parse -q --verify 283bb2054c9987edd250764f509de2ab35a178fb^{commit} 283bb2054c9987edd250764f509de2ab35a178fb already have revision, skipping fetch # git checkout -q -f -B kisskb 283bb2054c9987edd250764f509de2ab35a178fb # git clean -qxdf # < git log -1 # commit 283bb2054c9987edd250764f509de2ab35a178fb # Author: Christophe Leroy # Date: Wed Apr 28 10:48:01 2021 +0000 # # powerpc/8xx: Add support for huge pages on VMAP and VMALLOC # # powerpc 8xx has 4 page sizes: # - 4k # - 16k # - 512k # - 8M # # At the time being, vmalloc and vmap only support huge pages which are # leaf at PMD level. # # Here the PMD level is 4M, it doesn't correspond to any supported # page size. # # For the time being, implement use of 16k and 512k pages which is done # at PTE level. # # Support of 8M pages will be implemented later, it requires vmalloc to # support hugepd tables. # # Signed-off-by: Christophe Leroy # < /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 283bb2054c9987edd250764f509de2ab35a178fb # < make -s -j 24 ARCH=powerpc O=/kisskb/build/chleroy_pmac32_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pmac32_defconfig # < make -s -j 24 ARCH=powerpc O=/kisskb/build/chleroy_pmac32_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 24 ARCH=powerpc O=/kisskb/build/chleroy_pmac32_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 24 ARCH=powerpc O=/kisskb/build/chleroy_pmac32_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/mm/vmalloc.c: In function 'vmap_pte_range': /kisskb/src/mm/vmalloc.c:105:12: error: implicit declaration of function 'arch_make_huge_pte' [-Werror=implicit-function-declaration] entry = arch_make_huge_pte(entry, ilog2(size), 0); ^ /kisskb/src/mm/vmalloc.c:105:10: error: incompatible types when assigning to type 'pte_t {aka struct }' from type 'int' entry = arch_make_huge_pte(entry, ilog2(size), 0); ^ /kisskb/src/mm/vmalloc.c:106:4: error: implicit declaration of function 'set_huge_pte_at' [-Werror=implicit-function-declaration] set_huge_pte_at(&init_mm, addr, pte, entry); ^ cc1: some warnings being treated as errors make[2]: *** [/kisskb/src/scripts/Makefile.build:272: mm/vmalloc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1839: mm] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:215: __sub-make] Error 2 Command 'make -s -j 24 ARCH=powerpc O=/kisskb/build/chleroy_pmac32_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/chleroy_pmac32_defconfig_powerpc-gcc5 # Build took: 0:00:49.298444