From: kernel test robot <lkp@intel.com>
To: Daisuke Matsuda <matsuda-daisuke@fujitsu.com>,
linux-rdma@vger.kernel.org, leonro@nvidia.com, jgg@nvidia.com,
zyjzyj2000@gmail.com
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
linux-kernel@vger.kernel.org, rpearsonhpe@gmail.com,
yangx.jy@fujitsu.com, lizhijian@fujitsu.com,
Daisuke Matsuda <matsuda-daisuke@fujitsu.com>
Subject: Re: [PATCH for-next v4 2/8] RDMA/rxe: Always schedule works before accessing user MRs
Date: Thu, 20 Apr 2023 03:37:03 +0800 [thread overview]
Message-ID: <202304200354.oGlN33Lg-lkp@intel.com> (raw)
In-Reply-To: <7441c59fcea601c03c70ec03b5d17a69032e51f8.1681882651.git.matsuda-daisuke@fujitsu.com>
Hi Daisuke,
kernel test robot noticed the following build warnings:
[auto build test WARNING on f605f26ea196a3b49bea249330cbd18dba61a33e]
url: https://github.com/intel-lab-lkp/linux/commits/Daisuke-Matsuda/RDMA-rxe-Tentative-workqueue-implementation/20230419-135731
base: f605f26ea196a3b49bea249330cbd18dba61a33e
patch link: https://lore.kernel.org/r/7441c59fcea601c03c70ec03b5d17a69032e51f8.1681882651.git.matsuda-daisuke%40fujitsu.com
patch subject: [PATCH for-next v4 2/8] RDMA/rxe: Always schedule works before accessing user MRs
config: x86_64-randconfig-a011-20230417 (https://download.01.org/0day-ci/archive/20230420/202304200354.oGlN33Lg-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
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/493fb0777100e2e1b6358176e84b4b29372105ae
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Daisuke-Matsuda/RDMA-rxe-Tentative-workqueue-implementation/20230419-135731
git checkout 493fb0777100e2e1b6358176e84b4b29372105ae
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/infiniband/sw/rxe/
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/202304200354.oGlN33Lg-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/infiniband/sw/rxe/rxe_comp.c:139:36: warning: converting the enum constant to a boolean [-Wint-in-bool-context]
if (pkt->mask | (RXE_PAYLOAD_MASK || RXE_ATMACK_MASK))
^
1 warning generated.
vim +139 drivers/infiniband/sw/rxe/rxe_comp.c
128
129 void rxe_comp_queue_pkt(struct rxe_pkt_info *pkt, struct sk_buff *skb)
130 {
131 struct rxe_qp *qp = pkt->qp;
132 int must_sched;
133
134 skb_queue_tail(&qp->resp_pkts, skb);
135
136 /* Schedule the task if processing Read responses or Atomic acks.
137 * In these cases, completer may sleep to access ODP-enabled MRs.
138 */
> 139 if (pkt->mask | (RXE_PAYLOAD_MASK || RXE_ATMACK_MASK))
140 must_sched = 1;
141 else
142 must_sched = skb_queue_len(&qp->resp_pkts) > 1;
143
144 if (must_sched != 0)
145 rxe_counter_inc(SKB_TO_PKT(skb)->rxe, RXE_CNT_COMPLETER_SCHED);
146
147 if (must_sched)
148 rxe_sched_task(&qp->comp.task);
149 else
150 rxe_run_task(&qp->comp.task);
151 }
152
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
next prev parent reply other threads:[~2023-04-19 19:38 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-19 5:51 [PATCH for-next v4 0/8] On-Demand Paging on SoftRoCE Daisuke Matsuda
2023-04-19 5:51 ` [PATCH for-next v4 1/8] RDMA/rxe: Tentative workqueue implementation Daisuke Matsuda
2023-04-19 5:51 ` [PATCH for-next v4 2/8] RDMA/rxe: Always schedule works before accessing user MRs Daisuke Matsuda
2023-04-19 19:37 ` kernel test robot [this message]
2023-04-19 5:51 ` [PATCH for-next v4 3/8] RDMA/rxe: Make MR functions accessible from other rxe source code Daisuke Matsuda
2023-04-19 5:51 ` [PATCH for-next v4 4/8] RDMA/rxe: Move resp_states definition to rxe_verbs.h Daisuke Matsuda
2023-04-19 5:51 ` [PATCH for-next v4 5/8] RDMA/rxe: Add page invalidation support Daisuke Matsuda
2023-04-19 5:51 ` [PATCH for-next v4 6/8] RDMA/rxe: Allow registering MRs for On-Demand Paging Daisuke Matsuda
2023-04-19 5:51 ` [PATCH for-next v4 7/8] RDMA/rxe: Add support for Send/Recv/Write/Read with ODP Daisuke Matsuda
2023-04-19 5:52 ` [PATCH for-next v4 8/8] RDMA/rxe: Add support for the traditional Atomic operations " Daisuke Matsuda
2023-04-19 16:07 ` [PATCH for-next v4 0/8] On-Demand Paging on SoftRoCE Pearson, Robert B
2023-04-20 0:28 ` Daisuke Matsuda (Fujitsu)
2023-04-27 15:47 ` Bob Pearson
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=202304200354.oGlN33Lg-lkp@intel.com \
--to=lkp@intel.com \
--cc=jgg@nvidia.com \
--cc=leonro@nvidia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=lizhijian@fujitsu.com \
--cc=llvm@lists.linux.dev \
--cc=matsuda-daisuke@fujitsu.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=rpearsonhpe@gmail.com \
--cc=yangx.jy@fujitsu.com \
--cc=zyjzyj2000@gmail.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
all inboxes | Powered by JetHome®