From: kernel test robot <lkp@intel.com>
To: Tamizh Chelvam Raja <quic_tamizhr@quicinc.com>,
ath11k@lists.infradead.org
Cc: oe-kbuild-all@lists.linux.dev, linux-wireless@vger.kernel.org,
Venkateswara Naralasetty <quic_vnaralas@quicinc.com>,
Tamizh Chelvam Raja <quic_tamizhr@quicinc.com>
Subject: Re: [PATCH] wifi: ath11k: skip status ring entry processing
Date: Tue, 28 Mar 2023 17:21:32 +0800 [thread overview]
Message-ID: <202303281719.CvnPkOiK-lkp@intel.com> (raw)
In-Reply-To: <20230328071814.13018-1-quic_tamizhr@quicinc.com>
Hi Tamizh,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on bea046575a2e6d7d1cf63cc7ab032647a3585de5]
url: https://github.com/intel-lab-lkp/linux/commits/Tamizh-Chelvam-Raja/wifi-ath11k-skip-status-ring-entry-processing/20230328-151947
base: bea046575a2e6d7d1cf63cc7ab032647a3585de5
patch link: https://lore.kernel.org/r/20230328071814.13018-1-quic_tamizhr%40quicinc.com
patch subject: [PATCH] wifi: ath11k: skip status ring entry processing
config: ia64-allyesconfig (https://download.01.org/0day-ci/archive/20230328/202303281719.CvnPkOiK-lkp@intel.com/config)
compiler: ia64-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/intel-lab-lkp/linux/commit/c6e8f81ccc1ac66cdf84bc9bbe71993ffd267677
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Tamizh-Chelvam-Raja/wifi-ath11k-skip-status-ring-entry-processing/20230328-151947
git checkout c6e8f81ccc1ac66cdf84bc9bbe71993ffd267677
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/net/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202303281719.CvnPkOiK-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/net/wireless/ath/ath11k/dp_rx.c:2964:1: warning: no previous prototype for 'ath11k_dp_rx_mon_handle_status_buf_done' [-Wmissing-prototypes]
2964 | ath11k_dp_rx_mon_handle_status_buf_done(struct ath11k_base *ab, struct hal_srng *srng,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/ath11k_dp_rx_mon_handle_status_buf_done +2964 drivers/net/wireless/ath/ath11k/dp_rx.c
2962
2963 enum dp_mon_status_buf_state
> 2964 ath11k_dp_rx_mon_handle_status_buf_done(struct ath11k_base *ab, struct hal_srng *srng,
2965 struct dp_rxdma_ring *rx_ring)
2966 {
2967 void *status_desc;
2968 struct sk_buff *skb;
2969 struct ath11k_skb_rxcb *rxcb;
2970 struct hal_tlv_hdr *tlv;
2971 dma_addr_t paddr;
2972 u32 cookie;
2973 int buf_id;
2974 u8 rbm;
2975
2976 status_desc = ath11k_hal_srng_src_next_peek(ab, srng);
2977 if (!status_desc)
2978 return DP_MON_STATUS_NO_DMA;
2979
2980 ath11k_hal_rx_buf_addr_info_get(status_desc, &paddr, &cookie, &rbm);
2981
2982 buf_id = FIELD_GET(DP_RXDMA_BUF_COOKIE_BUF_ID, cookie);
2983
2984 spin_lock_bh(&rx_ring->idr_lock);
2985 skb = idr_find(&rx_ring->bufs_idr, buf_id);
2986 spin_unlock_bh(&rx_ring->idr_lock);
2987
2988 if (!skb)
2989 return DP_MON_STATUS_NO_DMA;
2990
2991 rxcb = ATH11K_SKB_RXCB(skb);
2992 dma_sync_single_for_cpu(ab->dev, rxcb->paddr,
2993 skb->len + skb_tailroom(skb),
2994 DMA_FROM_DEVICE);
2995
2996 tlv = (struct hal_tlv_hdr *)skb->data;
2997 if (FIELD_GET(HAL_TLV_HDR_TAG, tlv->tl) != HAL_RX_STATUS_BUFFER_DONE)
2998 return DP_MON_STATUS_NO_DMA;
2999
3000 return DP_MON_STATUS_REPLINISH;
3001 }
3002
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
--
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k
prev parent reply other threads:[~2023-03-28 9:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-28 7:18 [PATCH] wifi: ath11k: skip status ring entry processing Tamizh Chelvam Raja
2023-03-28 9:21 ` kernel test robot [this message]
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=202303281719.CvnPkOiK-lkp@intel.com \
--to=lkp@intel.com \
--cc=ath11k@lists.infradead.org \
--cc=linux-wireless@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=quic_tamizhr@quicinc.com \
--cc=quic_vnaralas@quicinc.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox