From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2CA36C77B7A for ; Tue, 30 May 2023 21:28:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:MIME-Version: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=8l4BtDSTP5OqegmWCXKodOcMLxYU1AJXvwy0k1FwsXI=; b=lJ6zelpEDbdCektqpJ8cT2QWDA ++1To+I2UYqkjkXzLFtl3RspmWpkYV+p0xEIdftMnvmoJBgSWGopEjhRedTne//LSFlHnxfay9XPF ezc7PzmDPdIooBLFlf7v4ujGsTKKnulfXVImVuTQa0pqu0UUw82aFcKWfIv+Vvvu4NbY0/PnFscdY e3J98V1jpN1YQ5ZKJ8+7LqlIZDRl07UxLIwIZD6bFuBeZYOvspUQ4gHOAdi3iE9AAA32TwDEkJeJL jXASfJpMIMKihpPPbXdcfoeAv6jVxjgVbOdypsR7hV7swi17QY5ARpGxesnfbdy8B/GQqU7KBaHR0 my0ZdvYg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q46tg-00FCJk-1m; Tue, 30 May 2023 21:28:52 +0000 Received: from mga02.intel.com ([134.134.136.20]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q46td-00FCIw-0X for linux-nvme@lists.infradead.org; Tue, 30 May 2023 21:28:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1685482129; x=1717018129; h=date:from:to:cc:subject:message-id:mime-version; bh=sM9GvjISJ6MPSTxRYD8Se1huEBPToqyxtzCyT4efpUM=; b=GC41VAZVPPvA/kjvacY0JxwBImHa+Dxn+WOpUIWcq7g4Q+MFY4zOaCNz 9DE/PLrLbQBBfyzLobmj02h1hUpXekACtGhVu4NnnYX+Ol7/XmF/lmlHE hVKLxfZtBk7KdAF0vuNFP+jMXrkiSvZciJ4qQSoYoeSoI1Bl7lzPtjIxR sbPv9NNrueTed2K9w8HzHBiFrIiV5QwBKXjHA6rfeBhMjcU+AETpPf7T6 +W4TwLeemMGpk5WXyc3y8OwhkQRh2RwBXmljmr5pY2HdGlx99t6bLxAhh Tt3oYMmZUZ+JJ6nhqo3ZV+cjVHenzv9Sn+gShAF9RnxJVK8Nsz920ybSr g==; X-IronPort-AV: E=McAfee;i="6600,9927,10726"; a="344556287" X-IronPort-AV: E=Sophos;i="6.00,205,1681196400"; d="scan'208";a="344556287" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 May 2023 14:28:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10726"; a="953335083" X-IronPort-AV: E=Sophos;i="6.00,205,1681196400"; d="scan'208";a="953335083" Received: from lkp-server01.sh.intel.com (HELO fb1ced2c09fb) ([10.239.97.150]) by fmsmga006.fm.intel.com with ESMTP; 30 May 2023 14:28:44 -0700 Received: from kbuild by fb1ced2c09fb with local (Exim 4.96) (envelope-from ) id 1q46tX-0000oR-2s; Tue, 30 May 2023 21:28:43 +0000 Date: Wed, 31 May 2023 05:27:59 +0800 From: kernel test robot To: Uday Shankar Cc: oe-kbuild-all@lists.linux.dev, linux-nvme@lists.infradead.org, Keith Busch , Hannes Reinecke , Christoph Hellwig Subject: [linux-nvme:nvme-6.4-rc4-pull 5/5] drivers/nvme/host/core.c:1202:51: error: 'struct nvme_request' has no member named 'start_time' Message-ID: <202305310532.V3y3hWXI-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230530_142849_275306_9447EFC5 X-CRM114-Status: GOOD ( 12.35 ) X-BeenThere: linux-nvme@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-nvme" Errors-To: linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.org tree: git://git.infradead.org/nvme.git nvme-6.4-rc4-pull head: f041d3b83aea7e76e4dfc6591954d6dfe506dbdb commit: f041d3b83aea7e76e4dfc6591954d6dfe506dbdb [5/5] nvme: improve handling of long keep alives config: arm64-defconfig (https://download.01.org/0day-ci/archive/20230531/202305310532.V3y3hWXI-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 12.3.0 reproduce (this is a W=1 build): mkdir -p ~/bin wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git remote add linux-nvme git://git.infradead.org/nvme.git git fetch --no-tags linux-nvme nvme-6.4-rc4-pull git checkout f041d3b83aea7e76e4dfc6591954d6dfe506dbdb # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross W=1 O=build_dir ARCH=arm64 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.3.0 ~/bin/make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/nvme/host/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202305310532.V3y3hWXI-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/nvme/host/core.c: In function 'nvme_keep_alive_end_io': >> drivers/nvme/host/core.c:1202:51: error: 'struct nvme_request' has no member named 'start_time' 1202 | unsigned long rtt = jiffies - nvme_req(rq)->start_time; | ^~ vim +1202 drivers/nvme/host/core.c 1195 1196 static enum rq_end_io_ret nvme_keep_alive_end_io(struct request *rq, 1197 blk_status_t status) 1198 { 1199 struct nvme_ctrl *ctrl = rq->end_io_data; 1200 unsigned long flags; 1201 bool startka = false; > 1202 unsigned long rtt = jiffies - nvme_req(rq)->start_time; 1203 unsigned long delay = nvme_keep_alive_work_period(ctrl); 1204 1205 /* 1206 * Subtract off the keepalive RTT so nvme_keep_alive_work runs 1207 * at the desired frequency. 1208 */ 1209 if (rtt <= delay) { 1210 delay -= rtt; 1211 } else { 1212 dev_warn(ctrl->device, "long keepalive RTT (%u ms)\n", 1213 jiffies_to_msecs(rtt)); 1214 delay = 0; 1215 } 1216 1217 blk_mq_free_request(rq); 1218 1219 if (status) { 1220 dev_err(ctrl->device, 1221 "failed nvme_keep_alive_end_io error=%d\n", 1222 status); 1223 return RQ_END_IO_NONE; 1224 } 1225 1226 ctrl->ka_last_check_time = jiffies; 1227 ctrl->comp_seen = false; 1228 spin_lock_irqsave(&ctrl->lock, flags); 1229 if (ctrl->state == NVME_CTRL_LIVE || 1230 ctrl->state == NVME_CTRL_CONNECTING) 1231 startka = true; 1232 spin_unlock_irqrestore(&ctrl->lock, flags); 1233 if (startka) 1234 queue_delayed_work(nvme_wq, &ctrl->ka_work, delay); 1235 return RQ_END_IO_NONE; 1236 } 1237 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki