All of lore.kernel.org
 help / color / mirror / Atom feed
* [openeuler:OLK-5.10 2600/2600] arch/arm64/include/asm/cmpxchg.h:88:1: sparse: sparse: cast truncates bits from constant value (3fff becomes ff)
@ 2024-12-26 23:32 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2024-12-26 23:32 UTC (permalink / raw)
  To: kernel, Zheng Zengkai; +Cc: oe-kbuild-all

tree:   https://gitee.com/openeuler/kernel.git OLK-5.10
head:   951151c7a27bc2a9436c2c49ae12510c82137ec1
commit: 2cef14dac00fca28ba2c0492e70bb537cba83f4d [2600/2600] mm/pin_mem: add PG_hotreplace to mark pages need hotreplaced
config: arm64-randconfig-r133-20241227 (https://download.01.org/0day-ci/archive/20241227/202412270714.njP0n3lT-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 14.2.0
reproduce: (https://download.01.org/0day-ci/archive/20241227/202412270714.njP0n3lT-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412270714.njP0n3lT-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
   mm/memory.c:5306:22: sparse: sparse: cast removes address space '__user' of expression
   mm/memory.c:273:46: sparse: sparse: self-comparison always evaluates to false
   mm/memory.c:307:46: sparse: sparse: self-comparison always evaluates to false
   mm/memory.c:943:17: sparse: sparse: context imbalance in 'copy_pte_range' - different lock contexts for basic block
   mm/memory.c:1099:61: sparse: sparse: self-comparison always evaluates to false
   mm/memory.c:1123:61: sparse: sparse: self-comparison always evaluates to false
   mm/memory.c:1635:16: sparse: sparse: context imbalance in '__get_locked_pte' - different lock contexts for basic block
   mm/memory.c:1684:9: sparse: sparse: context imbalance in 'insert_page' - different lock contexts for basic block
   mm/memory.c:2186:17: sparse: sparse: context imbalance in 'remap_pte_range' - different lock contexts for basic block
   mm/memory.c:2243:46: sparse: sparse: self-comparison always evaluates to false
   mm/memory.c:2265:46: sparse: sparse: self-comparison always evaluates to false
   mm/memory.c:2431:17: sparse: sparse: context imbalance in 'apply_to_pte_range' - unexpected unlock
   mm/memory.c:2504:46: sparse: sparse: self-comparison always evaluates to false
   mm/memory.c:2540:46: sparse: sparse: self-comparison always evaluates to false
   mm/memory.c:2719:17: sparse: sparse: context imbalance in 'wp_page_copy' - unexpected unlock
   mm/memory.c: note: in included file (through arch/arm64/include/asm/atomic.h, include/linux/atomic.h, include/asm-generic/bitops/atomic.h, ...):
>> arch/arm64/include/asm/cmpxchg.h:88:1: sparse: sparse: cast truncates bits from constant value (3fff becomes ff)
>> arch/arm64/include/asm/cmpxchg.h:88:1: sparse: sparse: cast truncates bits from constant value (3fff becomes ff)
   mm/memory.c:3064:17: sparse: sparse: context imbalance in 'wp_pfn_shared' - unexpected unlock
>> arch/arm64/include/asm/cmpxchg.h:88:1: sparse: sparse: cast truncates bits from constant value (3fff becomes ff)
>> arch/arm64/include/asm/cmpxchg.h:88:1: sparse: sparse: cast truncates bits from constant value (3fff becomes ff)
   mm/memory.c:3127:19: sparse: sparse: context imbalance in 'do_wp_page' - different lock contexts for basic block
   mm/memory.c:3755:19: sparse: sparse: context imbalance in 'pte_alloc_one_map' - different lock contexts for basic block
   mm/memory.c:3982:17: sparse: sparse: context imbalance in 'finish_fault' - unexpected unlock
   mm/memory.c:4091:9: sparse: sparse: context imbalance in 'do_fault_around' - unexpected unlock
   mm/memory.c:4814:5: sparse: sparse: context imbalance in 'follow_invalidate_pte' - different lock contexts for basic block
   mm/memory.c:4935:9: sparse: sparse: context imbalance in 'follow_pfn' - unexpected unlock
--
   mm/migrate.c: note: in included file (through arch/arm64/include/asm/atomic.h, include/linux/atomic.h, include/asm-generic/bitops/atomic.h, ...):
>> arch/arm64/include/asm/cmpxchg.h:88:1: sparse: sparse: cast truncates bits from constant value (3fff becomes ff)

vim +88 arch/arm64/include/asm/cmpxchg.h

10b663aef1c2479 Catalin Marinas 2012-03-05  84  
305d454aaa292be Will Deacon     2015-10-08  85  __XCHG_GEN()
305d454aaa292be Will Deacon     2015-10-08  86  __XCHG_GEN(_acq)
305d454aaa292be Will Deacon     2015-10-08  87  __XCHG_GEN(_rel)
305d454aaa292be Will Deacon     2015-10-08 @88  __XCHG_GEN(_mb)
305d454aaa292be Will Deacon     2015-10-08  89  

:::::: The code at line 88 was first introduced by commit
:::::: 305d454aaa292be3a09a9d674e6c35f5b4249a13 arm64: atomics: implement native {relaxed, acquire, release} atomics

:::::: TO: Will Deacon <will.deacon@arm.com>
:::::: CC: Catalin Marinas <catalin.marinas@arm.com>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [openeuler:OLK-5.10 2600/2600] arch/arm64/include/asm/cmpxchg.h:88:1: sparse: sparse: cast truncates bits from constant value (3fff becomes ff)
@ 2024-12-27 18:01 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2024-12-27 18:01 UTC (permalink / raw)
  To: kernel, Zheng Zengkai; +Cc: oe-kbuild-all

tree:   https://gitee.com/openeuler/kernel.git OLK-5.10
head:   053a6b6f8e4c86200cdb20bc80c063c3bb119859
commit: 2cef14dac00fca28ba2c0492e70bb537cba83f4d [2600/2600] mm/pin_mem: add PG_hotreplace to mark pages need hotreplaced
config: arm64-randconfig-r133-20241227 (https://download.01.org/0day-ci/archive/20241228/202412280149.2dV0pFCu-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 14.2.0
reproduce: (https://download.01.org/0day-ci/archive/20241228/202412280149.2dV0pFCu-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412280149.2dV0pFCu-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
   mm/memory.c:5306:22: sparse: sparse: cast removes address space '__user' of expression
   mm/memory.c:273:46: sparse: sparse: self-comparison always evaluates to false
   mm/memory.c:307:46: sparse: sparse: self-comparison always evaluates to false
   mm/memory.c:943:17: sparse: sparse: context imbalance in 'copy_pte_range' - different lock contexts for basic block
   mm/memory.c:1099:61: sparse: sparse: self-comparison always evaluates to false
   mm/memory.c:1123:61: sparse: sparse: self-comparison always evaluates to false
   mm/memory.c:1635:16: sparse: sparse: context imbalance in '__get_locked_pte' - different lock contexts for basic block
   mm/memory.c:1684:9: sparse: sparse: context imbalance in 'insert_page' - different lock contexts for basic block
   mm/memory.c:2186:17: sparse: sparse: context imbalance in 'remap_pte_range' - different lock contexts for basic block
   mm/memory.c:2243:46: sparse: sparse: self-comparison always evaluates to false
   mm/memory.c:2265:46: sparse: sparse: self-comparison always evaluates to false
   mm/memory.c:2431:17: sparse: sparse: context imbalance in 'apply_to_pte_range' - unexpected unlock
   mm/memory.c:2504:46: sparse: sparse: self-comparison always evaluates to false
   mm/memory.c:2540:46: sparse: sparse: self-comparison always evaluates to false
   mm/memory.c:2719:17: sparse: sparse: context imbalance in 'wp_page_copy' - unexpected unlock
   mm/memory.c: note: in included file (through arch/arm64/include/asm/atomic.h, include/linux/atomic.h, include/asm-generic/bitops/atomic.h, ...):
>> arch/arm64/include/asm/cmpxchg.h:88:1: sparse: sparse: cast truncates bits from constant value (3fff becomes ff)
>> arch/arm64/include/asm/cmpxchg.h:88:1: sparse: sparse: cast truncates bits from constant value (3fff becomes ff)
   mm/memory.c:3064:17: sparse: sparse: context imbalance in 'wp_pfn_shared' - unexpected unlock
>> arch/arm64/include/asm/cmpxchg.h:88:1: sparse: sparse: cast truncates bits from constant value (3fff becomes ff)
>> arch/arm64/include/asm/cmpxchg.h:88:1: sparse: sparse: cast truncates bits from constant value (3fff becomes ff)
   mm/memory.c:3127:19: sparse: sparse: context imbalance in 'do_wp_page' - different lock contexts for basic block
   mm/memory.c:3755:19: sparse: sparse: context imbalance in 'pte_alloc_one_map' - different lock contexts for basic block
   mm/memory.c:3982:17: sparse: sparse: context imbalance in 'finish_fault' - unexpected unlock
   mm/memory.c:4091:9: sparse: sparse: context imbalance in 'do_fault_around' - unexpected unlock
   mm/memory.c:4814:5: sparse: sparse: context imbalance in 'follow_invalidate_pte' - different lock contexts for basic block
   mm/memory.c:4935:9: sparse: sparse: context imbalance in 'follow_pfn' - unexpected unlock
--
   mm/migrate.c: note: in included file (through arch/arm64/include/asm/atomic.h, include/linux/atomic.h, include/asm-generic/bitops/atomic.h, ...):
>> arch/arm64/include/asm/cmpxchg.h:88:1: sparse: sparse: cast truncates bits from constant value (3fff becomes ff)

vim +88 arch/arm64/include/asm/cmpxchg.h

10b663aef1c2479 Catalin Marinas 2012-03-05  84  
305d454aaa292be Will Deacon     2015-10-08  85  __XCHG_GEN()
305d454aaa292be Will Deacon     2015-10-08  86  __XCHG_GEN(_acq)
305d454aaa292be Will Deacon     2015-10-08  87  __XCHG_GEN(_rel)
305d454aaa292be Will Deacon     2015-10-08 @88  __XCHG_GEN(_mb)
305d454aaa292be Will Deacon     2015-10-08  89  

:::::: The code at line 88 was first introduced by commit
:::::: 305d454aaa292be3a09a9d674e6c35f5b4249a13 arm64: atomics: implement native {relaxed, acquire, release} atomics

:::::: TO: Will Deacon <will.deacon@arm.com>
:::::: CC: Catalin Marinas <catalin.marinas@arm.com>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-12-27 18:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-27 18:01 [openeuler:OLK-5.10 2600/2600] arch/arm64/include/asm/cmpxchg.h:88:1: sparse: sparse: cast truncates bits from constant value (3fff becomes ff) kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2024-12-26 23:32 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.