All of lore.kernel.org
 help / color / mirror / Atom feed
* [tnguy-next-queue:dev-queue 107/121] drivers/net/ethernet/intel/ice/ice_txrx_lib.c:293:9: sparse: sparse: context imbalance in 'ice_finalize_xdp_rx' - different lock contexts for basic block
@ 2021-07-13 15:27 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-07-13 15:27 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 3923 bytes --]

CC: kbuild-all(a)lists.01.org
CC: Intel Wired LAN <intel-wired-lan@lists.osuosl.org>
CC: linux-kernel(a)vger.kernel.org
TO: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
CC: Tony Nguyen <anthony.l.nguyen@intel.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue.git dev-queue
head:   c76f20222c17011e295baee71dbaf7124984636c
commit: 44e4ab6e20ae04ed8e42f178831aaf69f5af5219 [107/121] ice: introduce XDP_TX fallback path
:::::: branch date: 4 days ago
:::::: commit date: 6 days ago
config: alpha-randconfig-s032-20210713 (attached as .config)
compiler: alpha-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/tnguy/next-queue.git/commit/?id=44e4ab6e20ae04ed8e42f178831aaf69f5af5219
        git remote add tnguy-next-queue https://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue.git
        git fetch --no-tags tnguy-next-queue dev-queue
        git checkout 44e4ab6e20ae04ed8e42f178831aaf69f5af5219
        # 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__' O=build_dir ARCH=alpha SHELL=/bin/bash drivers/net/ethernet/intel/ice/

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 >>)
>> drivers/net/ethernet/intel/ice/ice_txrx_lib.c:293:9: sparse: sparse: context imbalance in 'ice_finalize_xdp_rx' - different lock contexts for basic block
--
>> drivers/net/ethernet/intel/ice/ice_txrx.c:607:17: sparse: sparse: context imbalance in 'ice_run_xdp' - different lock contexts for basic block
>> drivers/net/ethernet/intel/ice/ice_txrx.c:686:9: sparse: sparse: context imbalance in 'ice_xdp_xmit' - different lock contexts for basic block

vim +/ice_finalize_xdp_rx +293 drivers/net/ethernet/intel/ice/ice_txrx_lib.c

0891d6d4b1fe1b Krzysztof Kazimierczak 2019-11-04  278  
0891d6d4b1fe1b Krzysztof Kazimierczak 2019-11-04  279  /**
0891d6d4b1fe1b Krzysztof Kazimierczak 2019-11-04  280   * ice_finalize_xdp_rx - Bump XDP Tx tail and/or flush redirect map
0891d6d4b1fe1b Krzysztof Kazimierczak 2019-11-04  281   * @rx_ring: Rx ring
0891d6d4b1fe1b Krzysztof Kazimierczak 2019-11-04  282   * @xdp_res: Result of the receive batch
0891d6d4b1fe1b Krzysztof Kazimierczak 2019-11-04  283   *
0891d6d4b1fe1b Krzysztof Kazimierczak 2019-11-04  284   * This function bumps XDP Tx tail and/or flush redirect map, and
0891d6d4b1fe1b Krzysztof Kazimierczak 2019-11-04  285   * should be called when a batch of packets has been processed in the
0891d6d4b1fe1b Krzysztof Kazimierczak 2019-11-04  286   * napi loop.
0891d6d4b1fe1b Krzysztof Kazimierczak 2019-11-04  287   */
0891d6d4b1fe1b Krzysztof Kazimierczak 2019-11-04  288  void ice_finalize_xdp_rx(struct ice_ring *rx_ring, unsigned int xdp_res)
0891d6d4b1fe1b Krzysztof Kazimierczak 2019-11-04  289  {
0891d6d4b1fe1b Krzysztof Kazimierczak 2019-11-04  290  	if (xdp_res & ICE_XDP_REDIR)
0891d6d4b1fe1b Krzysztof Kazimierczak 2019-11-04  291  		xdp_do_flush_map();
0891d6d4b1fe1b Krzysztof Kazimierczak 2019-11-04  292  
0891d6d4b1fe1b Krzysztof Kazimierczak 2019-11-04 @293  	if (xdp_res & ICE_XDP_TX) {

:::::: The code at line 293 was first introduced by commit
:::::: 0891d6d4b1fe1becf1a77353b03449955820084b ice: Move common functions to ice_txrx_lib.c

:::::: TO: Krzysztof Kazimierczak <krzysztof.kazimierczak@intel.com>
:::::: CC: Jeff Kirsher <jeffrey.t.kirsher@intel.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: 24268 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-13 15:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-13 15:27 [tnguy-next-queue:dev-queue 107/121] drivers/net/ethernet/intel/ice/ice_txrx_lib.c:293:9: sparse: sparse: context imbalance in 'ice_finalize_xdp_rx' - different lock contexts for basic block 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.