# 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-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 283bb2054c9987edd250764f509de2ab35a178fb # < make -s -j 10 ARCH=powerpc O=/kisskb/build/chleroy_40x_makalu_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- 40x/makalu_defconfig # < make -s -j 10 ARCH=powerpc O=/kisskb/build/chleroy_40x_makalu_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 10 ARCH=powerpc O=/kisskb/build/chleroy_40x_makalu_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 10 ARCH=powerpc O=/kisskb/build/chleroy_40x_makalu_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/block/genhd.c: In function 'diskstats_show': /kisskb/src/block/genhd.c:1236:1: warning: the frame size of 1120 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/net/sched/sch_frag.c: In function 'sch_fragment': /kisskb/src/net/sched/sch_frag.c:93:10: warning: missing braces around initializer [-Wmissing-braces] struct rtable sch_frag_rt = { 0 }; ^ /kisskb/src/net/sched/sch_frag.c:93:10: warning: (near initialization for 'sch_frag_rt.dst') [-Wmissing-braces] /kisskb/src/mm/vmalloc.c: In function 'vmap_pte_range': /kisskb/src/mm/vmalloc.c:105:4: 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' 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[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 10 ARCH=powerpc O=/kisskb/build/chleroy_40x_makalu_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/chleroy_40x_makalu_defconfig_powerpc-gcc4.9 # Build took: 0:00:50.361612