All of lore.kernel.org
 help / color / mirror / Atom feed
* [alexshi:58lru 16/21] arch/riscv/include/asm/irqflags.h:22:9: sparse: sparse: context imbalance in '__munlock_pagevec' - unexpected unlock
@ 2020-07-09  2:31 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-07-09  2:31 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2271 bytes --]

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@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@lst.de>
:::::: CC: Paul Walmsley <paul.walmsley@sifive.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 29957 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-07-09  2:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-09  2:31 [alexshi:58lru 16/21] arch/riscv/include/asm/irqflags.h:22:9: sparse: sparse: context imbalance in '__munlock_pagevec' - unexpected unlock kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.