tree:
https://github.com/alexshi/linux.git 58lru
head: d89fa86f842f0474cc8fb76e2896e84209d99746
commit: f9f7d0891bce8957b6c28239c6bc99e4b4b8357c [16/21] mm/lru: replace pgdat lru_lock
with lruvec lock
config: riscv-randconfig-s031-20200708 (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.3.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.2-37-gc9676a3b-dirty
git checkout f9f7d0891bce8957b6c28239c6bc99e4b4b8357c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1
CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
include/linux/huge_mm.h:327:19: sparse: sparse: context imbalance in
'munlock_vma_page' - unexpected unlock
> arch/riscv/include/asm/irqflags.h:22:9: sparse: sparse: context
imbalance in '__munlock_pagevec' - unexpected unlock
include/linux/mm.h:1972:21: sparse: sparse: context imbalance in
'__munlock_pagevec_fill' - different lock contexts for basic block
vim +/__munlock_pagevec +22 arch/riscv/include/asm/irqflags.h
6d60b6ee0c9777b Palmer Dabbelt 2017-07-10 18
6d60b6ee0c9777b Palmer Dabbelt 2017-07-10 19 /* unconditionally enable interrupts */
6d60b6ee0c9777b Palmer Dabbelt 2017-07-10 20 static inline void
arch_local_irq_enable(void)
6d60b6ee0c9777b Palmer Dabbelt 2017-07-10 21 {
a4c3733d32a72f1 Christoph Hellwig 2019-10-28 @22 csr_set(CSR_STATUS, SR_IE);
6d60b6ee0c9777b Palmer Dabbelt 2017-07-10 23 }
6d60b6ee0c9777b Palmer Dabbelt 2017-07-10 24
:::::: The code at line 22 was first introduced by commit
:::::: a4c3733d32a72f11dee86d0731d7565aa6ebe22d riscv: abstract out CSR names for
supervisor vs machine mode
:::::: TO: Christoph Hellwig <hch(a)lst.de>
:::::: CC: Paul Walmsley <paul.walmsley(a)sifive.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org