# git rev-parse -q --verify 4583744e5094c2182173ad23d14e1083a4898b2a^{commit} 4583744e5094c2182173ad23d14e1083a4898b2a already have revision, skipping fetch # git checkout -q -f -B kisskb 4583744e5094c2182173ad23d14e1083a4898b2a # git clean -qxdf # < git log -1 # commit 4583744e5094c2182173ad23d14e1083a4898b2a # Author: Aneesh Kumar K.V # Date: Thu Jun 14 16:01:52 2018 +0530 # # powerpc/mm/hash/4k: Free hugetlb page table caches correctly. # # With 4k page size for hugetlb we allocate hugepage directories from its on slab # cache. With patch 0c4d26802 ("powerpc/book3s64/mm: Simplify the rcu callback for page table free") # we missed to free these allocated hugepd tables. # # Update pgtable_free to handle hugetlb hugepd directory table. # # Fixes: 0c4d26802 ("powerpc/book3s64/mm: Simplify the rcu callback for page table free") # Signed-off-by: Aneesh Kumar K.V # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 4583744e5094c2182173ad23d14e1083a4898b2a # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pmac32_defconfig+SMP_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pmac32_defconfig # Added to kconfig CONFIG_SMP=y # yes \n | make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pmac32_defconfig+SMP_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe yes: write error # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pmac32_defconfig+SMP_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/net/Makefile:24: CC cannot link executables. Skipping bpfilter. :1332:2: warning: #warning syscall io_pgetevents not implemented [-Wcpp] /kisskb/src/arch/powerpc/kernel/stacktrace.c: In function 'handle_backtrace_ipi': /kisskb/src/arch/powerpc/kernel/stacktrace.c:202:2: error: implicit declaration of function 'nmi_cpu_backtrace' [-Werror=implicit-function-declaration] nmi_cpu_backtrace(regs); ^ /kisskb/src/arch/powerpc/kernel/stacktrace.c: In function 'raise_backtrace_ipi': /kisskb/src/arch/powerpc/kernel/stacktrace.c:217:27: error: 'paca_ptrs' undeclared (first use in this function) struct paca_struct *p = paca_ptrs[cpu]; ^ /kisskb/src/arch/powerpc/kernel/stacktrace.c:217:27: note: each undeclared identifier is reported only once for each function it appears in In file included from /kisskb/src/include/linux/kernel.h:14:0, from /kisskb/src/include/linux/kallsyms.h:10, from /kisskb/src/arch/powerpc/kernel/stacktrace.c:12: /kisskb/src/arch/powerpc/kernel/stacktrace.c:228:5: error: dereferencing pointer to incomplete type 'struct paca_struct' p->irq_soft_mask, p->in_mce, p->in_nmi); ^ /kisskb/src/include/linux/printk.h:306:37: note: in definition of macro 'pr_warning' printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) ^ /kisskb/src/arch/powerpc/kernel/stacktrace.c:227:3: note: in expansion of macro 'pr_warn' pr_warn("irq_soft_mask: 0x%02x in_mce: %d in_nmi: %d", ^ /kisskb/src/arch/powerpc/kernel/stacktrace.c: In function 'arch_trigger_cpumask_backtrace': /kisskb/src/arch/powerpc/kernel/stacktrace.c:243:2: error: implicit declaration of function 'nmi_trigger_cpumask_backtrace' [-Werror=implicit-function-declaration] nmi_trigger_cpumask_backtrace(mask, exclude_self, raise_backtrace_ipi); ^ cc1: all warnings being treated as errors /kisskb/src/scripts/Makefile.build:317: recipe for target 'arch/powerpc/kernel/stacktrace.o' failed make[2]: *** [arch/powerpc/kernel/stacktrace.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /kisskb/src/Makefile:1034: recipe for target 'arch/powerpc/kernel' failed make[1]: *** [arch/powerpc/kernel] Error 2 make[1]: *** Waiting for unfinished jobs.... make[1]: *** wait: No child processes. Stop. Makefile:146: recipe for target 'sub-make' failed make: *** [sub-make] Error 2 Command 'make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-fixes_pmac32_defconfig+SMP_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/powerpc-fixes_pmac32_defconfig+SMP_powerpc-5.3 # Build took: 0:00:16.504779