Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2737367rda; Wed, 25 Oct 2023 10:47:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFqX10wDt8yKgl/5usGIeq2NYOHhAnjlRtVlpUsyLAVJdqYSbSG9AwnPZUKJpXz7wdU2YoZ X-Received: by 2002:a25:74c1:0:b0:d9c:1ef5:aef with SMTP id p184-20020a2574c1000000b00d9c1ef50aefmr15933204ybc.9.1698256048855; Wed, 25 Oct 2023 10:47:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698256048; cv=none; d=google.com; s=arc-20160816; b=XUUP4v7YhBk4ye4pXOzCDHLEY4A8TSSKbUHF/qK7R8JDE6lkEi7+POtv7zxykhlZNj W4PLm8y1up7OuId84hLv+kOyeUii9D9AQB9zlYkxMJY5PBRmJ/7hDNdtPpmTjj6ppigR c2AUaEtZPK9dgFnX0Rw7dm4jDcdrYWSJcjBahB2gJeWwTC04eUGyWJ+E2rQPoYhgiPFb DM3Etsh5N+io0+fsiIn3ugJmwlfCBZdLKCC2r4+lbgI6zmRuq8bB8kMHOsSrGuchcvNS QHvVKD6Dx7hvd387zFNZEQYNV+fIBrCAEDJBdlGj+6pYQYhWns3TUG1bYLP7FqBJADM0 866g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=fmdy5maZOm+TSIqjCGcPQ+Dz4SrOgudqi35DB8Uuk0k=; fh=3Sj3WVm5RMmsvSzb8wWZlt/7/nv/bE2pX8s4rpAFLmk=; b=lIQSJrIm/Q3BrAKElsfsjK9aL/OSWyuh+EKCnFkJKADsB+MMfWkFoB8UR8JwWkIBuV AjF9haTHjWw5viilwwNAZg2JkXN5fsuuDTDTs3dayeesA3nfwgkYJYhZ6SmAEUCfCboO KfY2VRL3hv3Sxt4DGQ+MCfgivfrhdlH2uP8TVxjiF+BdBZ/aJt/erLzSl5lY6eZjxoOj xZPZoRfHJCHAbG+KsGjLOQwT8VBHKqYsWx2Ary3xnrF6h85U5TKbQDF1rlsIYejpO0XD n6eVEJ49YFknoba/6HNSX+qUlsJvccZfa4rZ1T/zZ/eP/Q+gi+DTtSqtJp2RHZDw0/rO JlSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=cAf7mHYK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id e186-20020a2550c3000000b00d9ac41e2f88si10563651ybb.580.2023.10.25.10.47.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 10:47:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=cAf7mHYK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 8FC14814C69D; Wed, 25 Oct 2023 10:47:23 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231539AbjJYRrO (ORCPT + 99 others); Wed, 25 Oct 2023 13:47:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229453AbjJYRrN (ORCPT ); Wed, 25 Oct 2023 13:47:13 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2BC32CC; Wed, 25 Oct 2023 10:47:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1698256031; x=1729792031; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=y51ew40oLjwa3836YhR+S3DSxiZGQ240PtjmogMYv8s=; b=cAf7mHYKTfu+ZBqa/ipE2E48e+yFyY3ce3p3jX+zS5xSz3PaQgxmRtTT BnDgTNQTOD0bMXH8vRJXsamRqKKvnzKutcnaH479I2i0PTFJ85/jcfIk8 +m6L3PayoFKUPLhB3/hZ0+rJYTVZbEfuGgjN8ZtsR/lmKY0oTsSbb23b8 h4Gh6Or4/LUfnWfQFBvT4PsgYZzkgLfyA+Yx8V4N814K/UVbUlW8vybn4 5tRAhidR5pgGMnZqNwxPoIGgztEQCzT++i6eC7+q142wXkGswJYjZc6eE elFbeGQVTJf1rnpVoICIh/4ya5a3fzQ8HRHP/1H0edkYzB4xGPL3PBDYJ w==; X-IronPort-AV: E=McAfee;i="6600,9927,10874"; a="386247418" X-IronPort-AV: E=Sophos;i="6.03,250,1694761200"; d="scan'208";a="386247418" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Oct 2023 10:46:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10874"; a="793909382" X-IronPort-AV: E=Sophos;i="6.03,250,1694761200"; d="scan'208";a="793909382" Received: from lkp-server01.sh.intel.com (HELO 8917679a5d3e) ([10.239.97.150]) by orsmga001.jf.intel.com with ESMTP; 25 Oct 2023 10:46:21 -0700 Received: from kbuild by 8917679a5d3e with local (Exim 4.96) (envelope-from ) id 1qvhxS-00094f-2p; Wed, 25 Oct 2023 17:46:18 +0000 Date: Thu, 26 Oct 2023 01:46:03 +0800 From: kernel test robot To: Kaiwei Liu , Vinod Koul , Orson Zhai , Baolin Wang , Chunyan Zhang Cc: oe-kbuild-all@lists.linux.dev, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, kaiwei liu , Wenming Wu Subject: Re: [PATCH 1/3] dmaengine: sprd: support dma device suspend/resume Message-ID: <202310260136.yDATuOfv-lkp@intel.com> References: <20231025120500.8914-1-kaiwei.liu@unisoc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231025120500.8914-1-kaiwei.liu@unisoc.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 25 Oct 2023 10:47:23 -0700 (PDT) Hi Kaiwei, kernel test robot noticed the following build warnings: [auto build test WARNING on vkoul-dmaengine/next] [also build test WARNING on linus/master v6.6-rc7 next-20231025] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Kaiwei-Liu/dmaengine-sprd-delete-enable-opreation-in-probe/20231025-201524 base: https://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git next patch link: https://lore.kernel.org/r/20231025120500.8914-1-kaiwei.liu%40unisoc.com patch subject: [PATCH 1/3] dmaengine: sprd: support dma device suspend/resume config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20231026/202310260136.yDATuOfv-lkp@intel.com/config) compiler: m68k-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231026/202310260136.yDATuOfv-lkp@intel.com/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 | Closes: https://lore.kernel.org/oe-kbuild-all/202310260136.yDATuOfv-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/dma/sprd-dma.c: In function 'sprd_dma_suspend_noirq': drivers/dma/sprd-dma.c:1296:38: error: 'struct dev_pm_info' has no member named 'usage_count' 1296 | (atomic_read(&(dev->power.usage_count)) > 1)) | ^ drivers/dma/sprd-dma.c: In function 'sprd_dma_resume_early': drivers/dma/sprd-dma.c:1305:38: error: 'struct dev_pm_info' has no member named 'usage_count' 1305 | (atomic_read(&(dev->power.usage_count)) > 1)) | ^ drivers/dma/sprd-dma.c: At top level: >> drivers/dma/sprd-dma.c:1302:12: warning: 'sprd_dma_resume_early' defined but not used [-Wunused-function] 1302 | static int sprd_dma_resume_early(struct device *dev) | ^~~~~~~~~~~~~~~~~~~~~ >> drivers/dma/sprd-dma.c:1293:12: warning: 'sprd_dma_suspend_noirq' defined but not used [-Wunused-function] 1293 | static int sprd_dma_suspend_noirq(struct device *dev) | ^~~~~~~~~~~~~~~~~~~~~~ vim +/sprd_dma_resume_early +1302 drivers/dma/sprd-dma.c 1292 > 1293 static int sprd_dma_suspend_noirq(struct device *dev) 1294 { 1295 if ((pm_runtime_status_suspended(dev)) || 1296 (atomic_read(&(dev->power.usage_count)) > 1)) 1297 return 0; 1298 1299 return sprd_dma_runtime_suspend(dev); 1300 } 1301 > 1302 static int sprd_dma_resume_early(struct device *dev) 1303 { 1304 if ((pm_runtime_status_suspended(dev)) || 1305 (atomic_read(&(dev->power.usage_count)) > 1)) 1306 return 0; 1307 1308 return sprd_dma_runtime_resume(dev); 1309 } 1310 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki