tree:
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git mm/tlb
head: 582b5d93a5a647a6cc9d0eb605921aae8624ff15
commit: 3026e63904809dc2dcf2d007845e750cf74c119c [6/10] ia64/tlb: Fix __p*_free_tlb()
config: ia64-randconfig-r011-20210216 (attached as .config)
compiler: ia64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
#
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?...
git remote add peterz-queue
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git fetch --no-tags peterz-queue mm/tlb
git checkout 3026e63904809dc2dcf2d007845e750cf74c119c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
mm/memory.c: In function 'free_pmd_range':
> mm/memory.c:5225: error: unterminated argument list invoking
macro "tlb_remove_table"
5225 | #endif
|
In file included from mm/memory.c:81:
> arch/ia64/include/asm/pgalloc.h:50:2: error:
'tlb_remove_table' undeclared (first use in this function); did you mean
'tlb_remove_page'?
50 | tlb_remove_table((tlb), virt_to_page(pmd)
| ^~~~~~~~~~~~~~~~
include/asm-generic/tlb.h:636:3: note: in expansion of macro '__pmd_free_tlb'
636 | __pmd_free_tlb(tlb, pmdp, address); \
| ^~~~~~~~~~~~~~
mm/memory.c:254:2: note: in expansion of macro 'pmd_free_tlb'
254 | pmd_free_tlb(tlb, pmd, start);
| ^~~~~~~~~~~~
arch/ia64/include/asm/pgalloc.h:50:2: note: each undeclared identifier is reported only
once for each function it appears in
50 | tlb_remove_table((tlb), virt_to_page(pmd)
| ^~~~~~~~~~~~~~~~
include/asm-generic/tlb.h:636:3: note: in expansion of macro '__pmd_free_tlb'
636 | __pmd_free_tlb(tlb, pmdp, address); \
| ^~~~~~~~~~~~~~
mm/memory.c:254:2: note: in expansion of macro 'pmd_free_tlb'
254 | pmd_free_tlb(tlb, pmd, start);
| ^~~~~~~~~~~~
> mm/memory.c:5225: error: expected ';' at end of input
5225 | #endif
|
> mm/memory.c:254:2: error: expected declaration or statement at
end of input
254 | pmd_free_tlb(tlb, pmd, start);
| ^~~~~~~~~~~~
> mm/memory.c:254:2: error: expected declaration or statement at
end of input
At top level:
mm/memory.c:193:13: warning: 'check_sync_rss_stat' defined but not used
[-Wunused-function]
193 | static void check_sync_rss_stat(struct task_struct *task)
| ^~~~~~~~~~~~~~~~~~~
mm/memory.c:179:13: warning: 'add_mm_counter_fast' defined but not used
[-Wunused-function]
179 | static void add_mm_counter_fast(struct mm_struct *mm, int member, int val)
| ^~~~~~~~~~~~~~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for FRAME_POINTER
Depends on DEBUG_KERNEL && (M68K || UML || SUPERH) || ARCH_WANT_FRAME_POINTERS
Selected by
- FAULT_INJECTION_STACKTRACE_FILTER && FAULT_INJECTION_DEBUG_FS &&
STACKTRACE_SUPPORT && !X86_64 && !MIPS && !PPC && !S390
&& !MICROBLAZE && !ARM && !ARC && !X86
vim +/tlb_remove_table +5225 mm/memory.c
49076ec2ccaf68 Kirill A. Shutemov 2013-11-14 5220
539edb5846c740 Peter Zijlstra 2013-11-14 5221 void ptlock_free(struct page *page)
49076ec2ccaf68 Kirill A. Shutemov 2013-11-14 5222 {
b35f1819acd924 Kirill A. Shutemov 2014-01-21 5223 kmem_cache_free(page_ptl_cachep,
page->ptl);
49076ec2ccaf68 Kirill A. Shutemov 2013-11-14 5224 }
49076ec2ccaf68 Kirill A. Shutemov 2013-11-14 @5225 #endif
:::::: The code at line 5225 was first introduced by commit
:::::: 49076ec2ccaf68610aa03d96bced9a6694b93ca1 mm: dynamically allocate page->ptl if
it cannot be embedded to struct page
:::::: TO: Kirill A. Shutemov <kirill.shutemov(a)linux.intel.com>
:::::: CC: Linus Torvalds <torvalds(a)linux-foundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org