Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [akpm-mm:mm-unstable 327/327] arch/arm64/include/asm/percpu.h:261:1: sparse: sparse: cast truncates bits from constant value (ffffffffffffd8f0 becomes f0)
@ 2026-11-21 12:34 kernel test robot
  2026-11-23  3:48 ` Andrew Morton
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2026-11-21 12:34 UTC (permalink / raw)
  To: Christoph Lameter
  Cc: oe-kbuild-all, David Hildenbrand, Andrew Morton,
	Linux Memory Management List, mm-commits, David Rientjes

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable
head:   7d1a16abe4cc5dccd21e3d6262e44433a5885d27
commit: 7d1a16abe4cc5dccd21e3d6262e44433a5885d27 [327/327] mm: vmstat_kunit: add synthetic benchmark for mm stats
config: arm64-randconfig-r2305-20261121 (https://download.01.org/0day-ci/archive/20261121/20261121133112.48w1QOqw-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 15.3.0
sparse: v0.6.5-rc1-21-g84ec0658
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261121/20261121133112.48w1QOqw-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/20261121133112.48w1QOqw-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
   mm/tests/vmstat_kunit.c: note: in included file (through include/linux/irqflags.h, include/linux/spinlock.h, include/linux/kref.h, include/kunit/test.h):
>> arch/arm64/include/asm/percpu.h:261:1: sparse: sparse: cast truncates bits from constant value (ffffffffffffd8f0 becomes f0)

vim +261 arch/arm64/include/asm/percpu.h

535fdfc5a22852 Catalin Marinas 2025-11-06  254  
535fdfc5a22852 Catalin Marinas 2025-11-06  255  /*
535fdfc5a22852 Catalin Marinas 2025-11-06  256   * Use value-returning atomics for CPU-local ops as they are more likely
535fdfc5a22852 Catalin Marinas 2025-11-06  257   * to execute "near" to the CPU (e.g. in L1$).
535fdfc5a22852 Catalin Marinas 2025-11-06  258   *
535fdfc5a22852 Catalin Marinas 2025-11-06  259   * https://lore.kernel.org/r/e7d539ed-ced0-4b96-8ecd-048a5b803b85@paulmck-laptop
535fdfc5a22852 Catalin Marinas 2025-11-06  260   */
535fdfc5a22852 Catalin Marinas 2025-11-06 @261  PERCPU_OP(add, add, ldadd)
535fdfc5a22852 Catalin Marinas 2025-11-06  262  PERCPU_OP(andnot, bic, ldclr)
535fdfc5a22852 Catalin Marinas 2025-11-06  263  PERCPU_OP(or, orr, ldset)
959bf2fd03b59f Will Deacon     2018-09-13  264  PERCPU_RET_OP(add, add, ldadd)
959bf2fd03b59f Will Deacon     2018-09-13  265  

:::::: The code at line 261 was first introduced by commit
:::::: 535fdfc5a228524552ee8810c9175e877e127c27 arm64: Use load LSE atomics for the non-return per-CPU atomic operations

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

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


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

end of thread, other threads:[~2026-11-23 17:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-21 12:34 [akpm-mm:mm-unstable 327/327] arch/arm64/include/asm/percpu.h:261:1: sparse: sparse: cast truncates bits from constant value (ffffffffffffd8f0 becomes f0) kernel test robot
2026-11-23  3:48 ` Andrew Morton
2026-11-23 17:04   ` David Rientjes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox