tree:
https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git
btree-bulk-loading-5.7
head: 163cf69683aaf1a947d31ba732a17650071780d5
commit: 34b77474267d2c3ee0b3d64e0352d37344fccd16 [78/87] xfs: don't crash with
assfail
config: parisc-randconfig-a001-20200316 (attached as .config)
compiler: hppa64-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
git checkout 34b77474267d2c3ee0b3d64e0352d37344fccd16
# save the attached .config to linux build tree
GCC_VERSION=9.2.0 make.cross ARCH=parisc
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
In file included from include/linux/mm.h:94,
from fs/userfaultfd.c:17:
include/asm-generic/pgtable.h: In function 'pte_clear_not_present_full':
arch/parisc/include/asm/pgtable.h:96:9: warning: variable 'old_pte' set but not
used [-Wunused-but-set-variable]
96 | pte_t old_pte; \
| ^~~~~~~
arch/parisc/include/asm/pgtable.h:322:34: note: in expansion of macro
'set_pte_at'
322 | #define pte_clear(mm, addr, xp) set_pte_at(mm, addr, xp, __pte(0))
| ^~~~~~~~~~
include/asm-generic/pgtable.h:201:2: note: in expansion of macro 'pte_clear'
201 | pte_clear(mm, address, ptep);
| ^~~~~~~~~
include/asm-generic/pgtable.h: In function '__ptep_modify_prot_commit':
arch/parisc/include/asm/pgtable.h:96:9: warning: variable 'old_pte' set but not
used [-Wunused-but-set-variable]
96 | pte_t old_pte; \
| ^~~~~~~
include/asm-generic/pgtable.h:640:2: note: in expansion of macro 'set_pte_at'
640 | set_pte_at(vma->vm_mm, addr, ptep, pte);
| ^~~~~~~~~~
In file included from include/linux/mm.h:94,
from fs/userfaultfd.c:17:
include/asm-generic/hugetlb.h: In function 'huge_pte_clear':
arch/parisc/include/asm/pgtable.h:96:9: warning: variable 'old_pte' set but not
used [-Wunused-but-set-variable]
96 | pte_t old_pte; \
| ^~~~~~~
arch/parisc/include/asm/pgtable.h:322:34: note: in expansion of macro
'set_pte_at'
322 | #define pte_clear(mm, addr, xp) set_pte_at(mm, addr, xp, __pte(0))
| ^~~~~~~~~~
> include/asm-generic/hugetlb.h:39:2: note: in expansion of macro
'pte_clear'
39 | pte_clear(mm, addr, ptep);
| ^~~~~~~~~
vim +/pte_clear +39 include/asm-generic/hugetlb.h
106c992a5ebef2 Gerald Schaefer 2013-04-29 34
d018498ccc9277 Alexandre Ghiti 2018-10-26 35 #ifndef __HAVE_ARCH_HUGE_PTE_CLEAR
106c992a5ebef2 Gerald Schaefer 2013-04-29 36 static inline void huge_pte_clear(struct
mm_struct *mm, unsigned long addr,
9386fac34c7cbe Punit Agrawal 2017-07-06 37 pte_t *ptep, unsigned long sz)
106c992a5ebef2 Gerald Schaefer 2013-04-29 38 {
106c992a5ebef2 Gerald Schaefer 2013-04-29 @39 pte_clear(mm, addr, ptep);
106c992a5ebef2 Gerald Schaefer 2013-04-29 40 }
9386fac34c7cbe Punit Agrawal 2017-07-06 41 #endif
106c992a5ebef2 Gerald Schaefer 2013-04-29 42
:::::: The code at line 39 was first introduced by commit
:::::: 106c992a5ebef28193cf5958e49ceff5e4aebb04 mm/hugetlb: add more arch-defined huge_pte
functions
:::::: TO: Gerald Schaefer <gerald.schaefer(a)de.ibm.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