CC: [email protected] CC: [email protected] TO: Alex Shi <[email protected]> CC: "Kirill A. Shutemov" <[email protected]> CC: Andrew Morton <[email protected]> CC: Linux Memory Management List <[email protected]>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: ff1176468d368232b684f75e82563369208bc371 commit: b6769834aac1d467fa1c71277d15688efcbb4d76 mm/thp: narrow lru locking date: 7 months ago :::::: branch date: 17 hours ago :::::: commit date: 7 months ago config: mips-randconfig-s031-20210726 (attached as .config) compiler: mips-linux-gcc (GCC) 10.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=b6769834aac1d467fa1c71277d15688efcbb4d76 git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout b6769834aac1d467fa1c71277d15688efcbb4d76 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=mips 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 >>) command-line: note: in included file: builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQUIRE redefined builtin:0:0: sparse: this was the original definition builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_SEQ_CST redefined builtin:0:0: sparse: this was the original definition builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_ACQ_REL redefined builtin:0:0: sparse: this was the original definition builtin:1:9: sparse: sparse: preprocessor token __ATOMIC_RELEASE redefined builtin:0:0: sparse: this was the original definition mm/huge_memory.c:1640:20: sparse: sparse: context imbalance in 'madvise_free_huge_pmd' - unexpected unlock mm/huge_memory.c:1677:28: sparse: sparse: context imbalance in 'zap_huge_pmd' - unexpected unlock mm/huge_memory.c:1787:28: sparse: sparse: context imbalance in 'move_huge_pmd' - unexpected unlock mm/huge_memory.c:1891:20: sparse: sparse: context imbalance in 'change_huge_pmd' - unexpected unlock mm/huge_memory.c:1901:12: sparse: sparse: context imbalance in '__pmd_trans_huge_lock' - wrong count at exit mm/huge_memory.c: note: in included file (through include/linux/irqflags.h, arch/mips/include/asm/atomic.h, include/linux/atomic.h, ...): >> arch/mips/include/asm/irqflags.h:101:9: sparse: sparse: context imbalance in >> '__split_huge_page' - different lock contexts for basic block arch/mips/include/asm/irqflags.h:101:9: sparse: sparse: context imbalance in 'split_huge_page_to_list' - different lock contexts for basic block vim +/__split_huge_page +101 arch/mips/include/asm/irqflags.h 02b849f7613003 Ralf Baechle 2013-02-08 98 02b849f7613003 Ralf Baechle 2013-02-08 99 static inline void arch_local_irq_enable(void) 02b849f7613003 Ralf Baechle 2013-02-08 100 { 02b849f7613003 Ralf Baechle 2013-02-08 @101 __asm__ __volatile__( e97c5b609880d9 Jim Quinlan 2012-09-06 102 " .set push \n" e97c5b609880d9 Jim Quinlan 2012-09-06 103 " .set reorder \n" e97c5b609880d9 Jim Quinlan 2012-09-06 104 " .set noat \n" ba9196d2e005a0 Jiaxun Yang 2020-01-13 105 #if defined(CONFIG_CPU_HAS_DIEI) e97c5b609880d9 Jim Quinlan 2012-09-06 106 " ei \n" e97c5b609880d9 Jim Quinlan 2012-09-06 107 #else e97c5b609880d9 Jim Quinlan 2012-09-06 108 " mfc0 $1,$12 \n" e97c5b609880d9 Jim Quinlan 2012-09-06 109 " ori $1,0x1f \n" e97c5b609880d9 Jim Quinlan 2012-09-06 110 " xori $1,0x1e \n" e97c5b609880d9 Jim Quinlan 2012-09-06 111 " mtc0 $1,$12 \n" e97c5b609880d9 Jim Quinlan 2012-09-06 112 #endif 02b849f7613003 Ralf Baechle 2013-02-08 113 " " __stringify(__irq_enable_hazard) " \n" e97c5b609880d9 Jim Quinlan 2012-09-06 114 " .set pop \n" e97c5b609880d9 Jim Quinlan 2012-09-06 115 : /* no outputs */ e97c5b609880d9 Jim Quinlan 2012-09-06 116 : /* no inputs */ e97c5b609880d9 Jim Quinlan 2012-09-06 117 : "memory"); e97c5b609880d9 Jim Quinlan 2012-09-06 118 } e97c5b609880d9 Jim Quinlan 2012-09-06 119 :::::: The code at line 101 was first introduced by commit :::::: 02b849f7613003fe5f9e58bf233d49b0ebd4a5e8 MIPS: Get rid of the use of .macro in C code. :::::: TO: Ralf Baechle <[email protected]> :::::: CC: Ralf Baechle <[email protected]> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected]
.config.gz
Description: application/gzip
_______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
