CC: [email protected]
CC: [email protected]
TO: Nanyong Sun <[email protected]>
CC: Palmer Dabbelt <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
master
head:   af4cf6a5689a9ecc21722cb2bb6220dcaee89c6e
commit: e88b333142e4aba7410d6d3292ad97b3a8588bfe riscv: mm: add THP support on 
64-bit
date:   7 weeks ago
:::::: branch date: 3 hours ago
:::::: commit date: 7 weeks ago
config: riscv-randconfig-s032-20210710 (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.3-341-g8af24329-dirty
        # 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e88b333142e4aba7410d6d3292ad97b3a8588bfe
        git remote add linus 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout e88b333142e4aba7410d6d3292ad97b3a8588bfe
        # 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__' O=build_dir ARCH=riscv 
SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>


sparse warnings: (new ones prefixed by >>)
   mm/huge_memory.c:1639:20: sparse: sparse: context imbalance in 
'madvise_free_huge_pmd' - unexpected unlock
   mm/huge_memory.c:1676:28: sparse: sparse: context imbalance in 
'zap_huge_pmd' - unexpected unlock
   mm/huge_memory.c:1786:28: sparse: sparse: context imbalance in 
'move_huge_pmd' - unexpected unlock
   mm/huge_memory.c:1890:20: sparse: sparse: context imbalance in 
'change_huge_pmd' - unexpected unlock
   mm/huge_memory.c:1900:12: sparse: sparse: context imbalance in 
'__pmd_trans_huge_lock' - wrong count at exit
   mm/huge_memory.c:2510:29: sparse: sparse: context imbalance in 
'__split_huge_page' - unexpected unlock
   mm/huge_memory.c: note: in included file (through include/linux/irqflags.h, 
arch/riscv/include/asm/bitops.h, include/linux/bitops.h, ...):
>> arch/riscv/include/asm/irqflags.h:22:9: sparse: sparse: context imbalance in 
>> 'split_huge_page_to_list' - different lock contexts for basic block

vim +/split_huge_page_to_list +22 arch/riscv/include/asm/irqflags.h

6d60b6ee0c9777 Palmer Dabbelt    2017-07-10  18  
6d60b6ee0c9777 Palmer Dabbelt    2017-07-10  19  /* unconditionally enable 
interrupts */
6d60b6ee0c9777 Palmer Dabbelt    2017-07-10  20  static inline void 
arch_local_irq_enable(void)
6d60b6ee0c9777 Palmer Dabbelt    2017-07-10  21  {
a4c3733d32a72f Christoph Hellwig 2019-10-28 @22         csr_set(CSR_STATUS, 
SR_IE);
6d60b6ee0c9777 Palmer Dabbelt    2017-07-10  23  }
6d60b6ee0c9777 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 <[email protected]>
:::::: CC: Paul Walmsley <[email protected]>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to