Skip to contentSkip to conversation

include/linux/atomic/atomic-arch-fallback.h:457:undefined reference to `bpf_stats_enabled_key'

PATCH kernel test robot 1 participant 1 message Nov 29

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw

::::::
:::::: Manual check reason: "too many reports for this commit" ::::::

BCC: [email protected]
CC: [email protected]
TO: Kumar Kartikeya Dwivedi <[email protected]>

tree:   https://github.com/kkdwivedi/linux xrp-ext
head:   8f4a18d558eae3d5fb4828eb8f85d1e7b4fa53e2
commit: f6f83905a287ba9fc1dbfb1ff529a6b6ea15afd2 [117/185] nvme-pci: Resubmit an XRP read from its completion

:::::: branch date: 13 hours ago
:::::: commit date: 2 days ago
config: microblaze-randconfig-r2311-20261129 (https://download.01.org/0day-ci/archive/20261129/[email protected]/config)
compiler: microblaze-linux-gcc (GCC) 11.5.0
sparse: v0.6.5-rc1-21-g84ec0658
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261129/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/r/[email protected]/

All errors (new ones prefixed by >>):

microblaze-linux-ld: drivers/nvme/host/pci.o: in function `raw_atomic_read':

>> include/linux/atomic/atomic-arch-fallback.h:457:(.text+0x9f74): undefined reference to `bpf_stats_enabled_key'

vim +457 include/linux/atomic/atomic-arch-fallback.h

e01cc1e8c2ad73 Uros Bizjak  2023-09-25  443  
ad8110706f3811 Mark Rutland 2023-06-05  444  /**
ad8110706f3811 Mark Rutland 2023-06-05  445   * raw_atomic_read() - atomic load with relaxed ordering
ad8110706f3811 Mark Rutland 2023-06-05  446   * @v: pointer to atomic_t
ad8110706f3811 Mark Rutland 2023-06-05  447   *
ad8110706f3811 Mark Rutland 2023-06-05  448   * Atomically loads the value of @v with relaxed ordering.
ad8110706f3811 Mark Rutland 2023-06-05  449   *
ad8110706f3811 Mark Rutland 2023-06-05  450   * Safe to use in noinstr code; prefer atomic_read() elsewhere.
ad8110706f3811 Mark Rutland 2023-06-05  451   *
ad8110706f3811 Mark Rutland 2023-06-05  452   * Return: The value loaded from @v.
ad8110706f3811 Mark Rutland 2023-06-05  453   */
1d78814d41701c Mark Rutland 2023-06-05  454  static __always_inline int
1d78814d41701c Mark Rutland 2023-06-05  455  raw_atomic_read(const atomic_t *v)
1d78814d41701c Mark Rutland 2023-06-05  456  {

1d78814d41701c Mark Rutland 2023-06-05 @457 return arch_atomic_read(v);
1d78814d41701c Mark Rutland 2023-06-05 458 }
9257959a6e5b4f Mark Rutland 2023-06-05 459

:::::: The code at line 457 was first introduced by commit
:::::: 1d78814d41701c216e28fcf2656526146dec4a1a locking/atomic: scripts: simplify raw_atomic*() definitions

:::::: TO: Mark Rutland <[email protected]>
:::::: CC: Peter Zijlstra <[email protected]>

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