All of lore.kernel.org
 help / color / mirror / Atom feed
* arch/riscv/include/asm/irqflags.h:22:9: sparse: sparse: context imbalance in 'split_huge_page_to_list' - different lock contexts for basic block
@ 2021-07-10 20:26 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-07-10 20:26 UTC (permalink / raw)
  To: kbuild

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

CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Nanyong Sun <sunnanyong@huawei.com>
CC: Palmer Dabbelt <palmerdabbelt@google.com>

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 <lkp@intel.com>


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 <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: 30474 bytes --]

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

only message in thread, other threads:[~2021-07-10 20:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-10 20:26 arch/riscv/include/asm/irqflags.h:22:9: sparse: sparse: context imbalance in 'split_huge_page_to_list' - different lock contexts for basic block 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.