[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202002190954.rWlsTEwn%lkp@intel.com>
Date: Wed, 19 Feb 2020 09:14:48 +0800
From: kbuild test robot <lkp@...el.com>
To: Anshuman Khandual <anshuman.khandual@....com>
Cc: kbuild-all@...ts.01.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/5] mm/vma: Replace all remaining open encodings with
is_vm_hugetlb_page()
Hi Anshuman,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on mmotm/master]
[also build test ERROR on tip/perf/core m68k/for-next powerpc/next tip/sched/core char-misc/char-misc-testing linux/master linus/master tip/x86/mm asm-generic/master v5.6-rc2 next-20200218]
[cannot apply to kvm-ppc/kvm-ppc-next]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Anshuman-Khandual/mm-vma-Use-available-wrappers-when-possible/20200219-065223
base: git://git.cmpxchg.org/linux-mmotm.git master
config: nds32-allnoconfig (attached as .config)
compiler: nds32le-linux-gcc (GCC) 9.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=9.2.0 make.cross ARCH=nds32
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
In file included from arch/nds32/include/asm/tlb.h:7,
from arch/nds32/mm/init.c:18:
include/asm-generic/tlb.h: In function 'tlb_update_vma_flags':
>> include/asm-generic/tlb.h:382:18: error: implicit declaration of function 'is_vm_hugetlb_page' [-Werror=implicit-function-declaration]
382 | tlb->vma_huge = is_vm_hugetlb_page(vma);
| ^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/is_vm_hugetlb_page +382 include/asm-generic/tlb.h
367
368 static inline void
369 tlb_update_vma_flags(struct mmu_gather *tlb, struct vm_area_struct *vma)
370 {
371 /*
372 * flush_tlb_range() implementations that look at VM_HUGETLB (tile,
373 * mips-4k) flush only large pages.
374 *
375 * flush_tlb_range() implementations that flush I-TLB also flush D-TLB
376 * (tile, xtensa, arm), so it's ok to just add VM_EXEC to an existing
377 * range.
378 *
379 * We rely on tlb_end_vma() to issue a flush, such that when we reset
380 * these values the batch is empty.
381 */
> 382 tlb->vma_huge = is_vm_hugetlb_page(vma);
383 tlb->vma_exec = !!(vma->vm_flags & VM_EXEC);
384 }
385
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (5273 bytes)
Powered by blists - more mailing lists