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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 338E3C636CC for ; Tue, 14 Feb 2023 02:00:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231127AbjBNCAS (ORCPT ); Mon, 13 Feb 2023 21:00:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229819AbjBNCAO (ORCPT ); Mon, 13 Feb 2023 21:00:14 -0500 Received: from out-44.mta0.migadu.com (out-44.mta0.migadu.com [IPv6:2001:41d0:1004:224b::2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58A45C144 for ; Mon, 13 Feb 2023 18:00:13 -0800 (PST) Date: Tue, 14 Feb 2023 10:00:05 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1676340010; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9BBRNOThmuII/oJg0K0CReT+0wqbnh62GSU+44RXkto=; b=cy1SXxOwYTU78nyphvzLu6qsQro8J4/28gVLEdfOjyj029FovqDM4ywnTT2S8omUa3uuAL LdkuX1yONb8pgc2DZjlEXcziHwHfgmjGNm1+Yiy3w0uKkgGXiGUEV1EyaBYjPLwkJuV7Me YIQOXO5A0aOv0Zb+M/BLHkfwmA9oSKw= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Cai Huoqing To: kernel test robot Cc: Sergey.Semin@baikalelectronics.ru, oe-kbuild-all@lists.linux.dev, Gustavo Pimentel , Vinod Koul , Jingoo Han , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, linux-pci@vger.kernel.org Subject: Re: [PATCH v3 3/4] dmaengine: dw-edma: Add support for native HDMA Message-ID: References: <20230213132411.65524-4-cai.huoqing@linux.dev> <202302132344.oOgPHjYP-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <202302132344.oOgPHjYP-lkp@intel.com> X-Migadu-Flow: FLOW_OUT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13 2月 23 23:20:19, kernel test robot wrote: > Hi Cai, > > Thank you for the patch! Yet something to improve: Will include > > [auto build test ERROR on next-20230213] > [cannot apply to vkoul-dmaengine/next linus/master v6.2-rc8 v6.2-rc7 v6.2-rc6 v6.2-rc8] > [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/Cai-Huoqing/dmaengine-dw-edma-Rename-dw_edma_core_ops-structure-to-dw_edma_plat_ops/20230213-213412 > patch link: https://lore.kernel.org/r/20230213132411.65524-4-cai.huoqing%40linux.dev > patch subject: [PATCH v3 3/4] dmaengine: dw-edma: Add support for native HDMA > config: i386-randconfig-a016-20230213 (https://download.01.org/0day-ci/archive/20230213/202302132344.oOgPHjYP-lkp@intel.com/config) > compiler: gcc-11 (Debian 11.3.0-8) 11.3.0 > reproduce (this is a W=1 build): > # https://github.com/intel-lab-lkp/linux/commit/04d89cfa187deda4fa5a7cc947dbb797ce05e72f > git remote add linux-review https://github.com/intel-lab-lkp/linux > git fetch --no-tags linux-review Cai-Huoqing/dmaengine-dw-edma-Rename-dw_edma_core_ops-structure-to-dw_edma_plat_ops/20230213-213412 > git checkout 04d89cfa187deda4fa5a7cc947dbb797ce05e72f > # save the config file > mkdir build_dir && cp config build_dir/.config > make W=1 O=build_dir ARCH=i386 olddefconfig > make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash > > If you fix the issue, kindly add following tag where applicable > | Reported-by: kernel test robot > | Link: https://lore.kernel.org/oe-kbuild-all/202302132344.oOgPHjYP-lkp@intel.com/ > > All errors (new ones prefixed by >>): > > drivers/dma/dw-edma/dw-hdma-v0-core.c: In function 'dw_hdma_v0_write_ll_data': > >> drivers/dma/dw-edma/dw-hdma-v0-core.c:195:17: error: implicit declaration of function 'writeq'; did you mean 'writel'? [-Werror=implicit-function-declaration] > 195 | writeq(sar, &lli->sar.reg); > | ^~~~~~ > | writel > cc1: some warnings being treated as errors > > > vim +195 drivers/dma/dw-edma/dw-hdma-v0-core.c > > 177 > 178 static void dw_hdma_v0_write_ll_data(struct dw_edma_chunk *chunk, int i, > 179 u32 control, u32 size, u64 sar, u64 dar) > 180 { > 181 ptrdiff_t ofs = i * sizeof(struct dw_hdma_v0_lli); > 182 > 183 if (chunk->chan->dw->chip->flags & DW_EDMA_CHIP_LOCAL) { > 184 struct dw_hdma_v0_lli *lli = chunk->ll_region.vaddr.mem + ofs; > 185 > 186 lli->control = control; > 187 lli->transfer_size = size; > 188 lli->sar.reg = sar; > 189 lli->dar.reg = dar; > 190 } else { > 191 struct dw_hdma_v0_lli __iomem *lli = chunk->ll_region.vaddr.io + ofs; > 192 > 193 writel(control, &lli->control); > 194 writel(size, &lli->transfer_size); > > 195 writeq(sar, &lli->sar.reg); > 196 writeq(dar, &lli->dar.reg); > 197 } > 198 } > 199 > > -- > 0-DAY CI Kernel Test Service > https://github.com/intel/lkp-tests