Re: [PATCH v3 3/4] dmaengine: dw-edma: Add support for native HDMA

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 13 2月 23 23:20:19, kernel test robot wrote:
> Hi Cai,
> 
> Thank you for the patch! Yet something to improve:
Will include <linux/io-64-nonatomic-lo-hi.h>
> 
> [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@xxxxxxxxx/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 <lkp@xxxxxxxxx>
> | Link: https://lore.kernel.org/oe-kbuild-all/202302132344.oOgPHjYP-lkp@xxxxxxxxx/
> 
> 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



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux