From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: arch/sparc/include/asm/irqflags_64.h:52:9: sparse: sparse: context imbalance in '__split_huge_page' - different lock contexts for basic block
Date: Wed, 28 Apr 2021 23:55:01 +0800 [thread overview]
Message-ID: <202104282348.OTWpIrqq-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 4118 bytes --]
CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Alex Shi <alex.shi@linux.alibaba.com>
CC: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
CC: Andrew Morton <akpm@linux-foundation.org>
CC: Linux Memory Management List <linux-mm@kvack.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: acd3d28594536e9096c1ea76c5867d8a68babef6
commit: b6769834aac1d467fa1c71277d15688efcbb4d76 mm/thp: narrow lru locking
date: 4 months ago
:::::: branch date: 13 hours ago
:::::: commit date: 4 months ago
config: sparc64-randconfig-s031-20210428 (attached as .config)
compiler: sparc64-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=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-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' W=1 ARCH=sparc64
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: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 arch/sparc/include/asm/irqflags.h, include/linux/irqflags.h, include/asm-generic/cmpxchg-local.h, ...):
>> arch/sparc/include/asm/irqflags_64.h:52:9: sparse: sparse: context imbalance in '__split_huge_page' - different lock contexts for basic block
arch/sparc/include/asm/irqflags_64.h:52:9: sparse: sparse: context imbalance in 'split_huge_page_to_list' - different lock contexts for basic block
vim +/__split_huge_page +52 arch/sparc/include/asm/irqflags_64.h
f5e706ad886b6a include/asm-sparc/irqflags_64.h Sam Ravnborg 2008-07-17 49
18d85bc558edfa arch/sparc/include/asm/irqflags_64.h Steven Rostedt 2011-07-06 50 static inline notrace void arch_local_irq_enable(void)
f5e706ad886b6a include/asm-sparc/irqflags_64.h Sam Ravnborg 2008-07-17 51 {
f5e706ad886b6a include/asm-sparc/irqflags_64.h Sam Ravnborg 2008-07-17 @52 __asm__ __volatile__(
f5e706ad886b6a include/asm-sparc/irqflags_64.h Sam Ravnborg 2008-07-17 53 "wrpr 0, %%pil"
f5e706ad886b6a include/asm-sparc/irqflags_64.h Sam Ravnborg 2008-07-17 54 : /* no outputs */
f5e706ad886b6a include/asm-sparc/irqflags_64.h Sam Ravnborg 2008-07-17 55 : /* no inputs */
f5e706ad886b6a include/asm-sparc/irqflags_64.h Sam Ravnborg 2008-07-17 56 : "memory"
f5e706ad886b6a include/asm-sparc/irqflags_64.h Sam Ravnborg 2008-07-17 57 );
f5e706ad886b6a include/asm-sparc/irqflags_64.h Sam Ravnborg 2008-07-17 58 }
f5e706ad886b6a include/asm-sparc/irqflags_64.h Sam Ravnborg 2008-07-17 59
:::::: The code at line 52 was first introduced by commit
:::::: f5e706ad886b6a5eb59637830110b09ccebf01c5 sparc: join the remaining header files
:::::: TO: Sam Ravnborg <sam@ravnborg.org>
:::::: CC: David S. Miller <davem@davemloft.net>
---
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: 25728 bytes --]
next reply other threads:[~2021-04-28 15:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-28 15:55 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-07-04 13:39 arch/sparc/include/asm/irqflags_64.h:52:9: sparse: sparse: context imbalance in '__split_huge_page' - different lock contexts for basic block kernel test robot
2021-02-11 6:32 kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202104282348.OTWpIrqq-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.