From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: arch/arm64/include/asm/cpufeature.h:419:16: sparse: sparse: context imbalance in 'split_huge_page_to_list' - different lock contexts for basic block
Date: Thu, 29 Apr 2021 12:00:30 +0800 [thread overview]
Message-ID: <202104291224.L6ev5D4N-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3433 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: d72cd4ad4174cfd2257c426ad51e4f53bcfde9c9
commit: b6769834aac1d467fa1c71277d15688efcbb4d76 mm/thp: narrow lru locking
date: 4 months ago
:::::: branch date: 4 hours ago
:::::: commit date: 4 months ago
config: arm64-randconfig-s032-20210429 (attached as .config)
compiler: aarch64-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=arm64
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:2510:29: sparse: sparse: context imbalance in '__split_huge_page' - unexpected unlock
mm/huge_memory.c: note: in included file (through arch/arm64/include/asm/ptrace.h, arch/arm64/include/asm/irqflags.h, include/linux/irqflags.h, ...):
>> arch/arm64/include/asm/cpufeature.h:419:16: sparse: sparse: context imbalance in 'split_huge_page_to_list' - different lock contexts for basic block
vim +/split_huge_page_to_list +419 arch/arm64/include/asm/cpufeature.h
3be1a5c4f75989 Ard Biesheuvel 2014-03-04 416
1db5cdeccd8133 Mark Rutland 2020-02-21 417 static __always_inline bool system_capabilities_finalized(void)
930da09f5e50dd Andre Przywara 2014-11-14 418 {
1db5cdeccd8133 Mark Rutland 2020-02-21 @419 return static_branch_likely(&arm64_const_caps_ready);
a4023f68273943 Suzuki K Poulose 2016-11-08 420 }
a4023f68273943 Suzuki K Poulose 2016-11-08 421
:::::: The code at line 419 was first introduced by commit
:::::: 1db5cdeccd813330aaab19b3fccab15e1d07fe12 arm64: cpufeature: add cpus_have_final_cap()
:::::: TO: Mark Rutland <mark.rutland@arm.com>
:::::: CC: Catalin Marinas <catalin.marinas@arm.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: 38830 bytes --]
next reply other threads:[~2021-04-29 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-29 4:00 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-06-30 8:43 arch/arm64/include/asm/cpufeature.h:419:16: sparse: sparse: context imbalance in 'split_huge_page_to_list' - different lock contexts for basic block 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=202104291224.L6ev5D4N-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.