RE: [V2] dmaengine: fsl-qdma: add NXP Layerscape qDMA engine driver support

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

 



Hi Vinod,

This patch need applied NXP Layerscape Socs(arm/arm64). 

not supported other architecture.

> -----Original Message-----
> From: dmaengine-owner@xxxxxxxxxxxxxxx
> [mailto:dmaengine-owner@xxxxxxxxxxxxxxx] On Behalf Of kbuild test robot
> Sent: 2017年12月26日 1:40
> To: Wen He <wen.he_1@xxxxxxx>
> Cc: kbuild-all@xxxxxx; vinod.koul@xxxxxxxxx; Leo Li <leoyang.li@xxxxxxx>;
> dmaengine@xxxxxxxxxxxxxxx; Jiafei Pan <jiafei.pan@xxxxxxx>; Jiaheng Fan
> <jiaheng.fan@xxxxxxx>; Wen He <wen.he_1@xxxxxxx>
> Subject: Re: [V2] dmaengine: fsl-qdma: add NXP Layerscape qDMA engine
> driver support
> 
> Hi Wen,
> 
> Thank you for the patch! Yet something to improve:
> 
> [auto build test ERROR on linus/master]
> [also build test ERROR on v4.15-rc5 next-20171222] [if your patch is applied
> to the wrong git tree, please drop us a note to help improve the system]
> 
> url:
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgith
> ub.com%2F0day-ci%2Flinux%2Fcommits%2FWen-He%2Fdmaengine-fsl-qdma
> -add-NXP-Layerscape-qDMA-engine-driver-support%2F20171225-232227&da
> ta=02%7C01%7Cwen.he_1%40nxp.com%7C6e3d73a0cd544a167c9908d54bb
> e8477%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C6364982040
> 67744907&sdata=ZmnkPyULinFOzb74slZClNsB3z930ZiEs9XFXSbfSdA%3D&res
> erved=0
> config: blackfin-allyesconfig (attached as .config)
> compiler: bfin-uclinux-gcc (GCC) 7.2.0
> reproduce:
>         wget
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fraw.
> githubusercontent.com%2Fintel%2Flkp-tests%2Fmaster%2Fsbin%2Fmake.cro
> ss&data=02%7C01%7Cwen.he_1%40nxp.com%7C6e3d73a0cd544a167c9908
> d54bbe8477%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C63649
> 8204067744907&sdata=3mR1%2BBAfJYYXlwFSTZyNdm6F3vOWnwCPmIUGw
> 1Q3Nm4%3D&reserved=0 -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         # save the attached .config to linux build tree
>         make.cross ARCH=blackfin
> 
> All errors (new ones prefixed by >>):
> 
>    In file included from drivers/dma/fsl-qdma.c:27:0:
>    drivers/dma/fsldma.h: In function 'in_be64':
> >> drivers/dma/fsldma.h:202:15: error: implicit declaration of function
> >> 'in_be32'; did you mean 'in_be64'?
> >> [-Werror=implicit-function-declaration]
>      return ((u64)in_be32((u32 __iomem *)addr) << 32) |
>                   ^~~~~~~
>                   in_be64
>    drivers/dma/fsldma.h: In function 'out_be64':
> >> drivers/dma/fsldma.h:208:2: error: implicit declaration of function
> >> 'out_be32'; did you mean 'out_be64'?
> >> [-Werror=implicit-function-declaration]
>      out_be32((u32 __iomem *)addr, val >> 32);
>      ^~~~~~~~
>      out_be64
>    drivers/dma/fsldma.h: In function 'in_le64':
> >> drivers/dma/fsldma.h:215:15: error: implicit declaration of function
> >> 'in_le32'; did you mean 'in_le64'?
> >> [-Werror=implicit-function-declaration]
>      return ((u64)in_le32((u32 __iomem *)addr + 1) << 32) |
>                   ^~~~~~~
>                   in_le64
>    drivers/dma/fsldma.h: In function 'out_le64':
> >> drivers/dma/fsldma.h:221:2: error: implicit declaration of function
> >> 'out_le32'; did you mean 'out_le64'?
> >> [-Werror=implicit-function-declaration]
>      out_le32((u32 __iomem *)addr + 1, val >> 32);
>      ^~~~~~~~
>      out_le64
>    drivers/dma/fsl-qdma.c: In function 'qdma_readl':
> >> drivers/dma/fsl-qdma.c:275:9: error: implicit declaration of function
> >> 'FSL_DMA_IN'; did you mean 'FSL_DMA_SNEN'?
> >> [-Werror=implicit-function-declaration]
>      return FSL_DMA_IN(qdma, addr, 32);
>             ^~~~~~~~~~
>             FSL_DMA_SNEN
>    drivers/dma/fsl-qdma.c: In function 'qdma_writel':
> >> drivers/dma/fsl-qdma.c:281:2: error: implicit declaration of function
> >> 'FSL_DMA_OUT'; did you mean 'FSL_DMA_EOL'?
> >> [-Werror=implicit-function-declaration]
>      FSL_DMA_OUT(qdma, addr, val, 32);
>      ^~~~~~~~~~~
>      FSL_DMA_EOL
>    In file included from drivers/dma/fsl-qdma.c:27:0:
>    At top level:
>    drivers/dma/fsldma.h:219:13: warning: 'out_le64' defined but not used
> [-Wunused-function]
>     static void out_le64(u64 __iomem *addr, u64 val)
>                 ^~~~~~~~
>    drivers/dma/fsldma.h:213:12: warning: 'in_le64' defined but not used
> [-Wunused-function]
>     static u64 in_le64(const u64 __iomem *addr)
>                ^~~~~~~
>    drivers/dma/fsldma.h:206:13: warning: 'out_be64' defined but not used
> [-Wunused-function]
>     static void out_be64(u64 __iomem *addr, u64 val)
>                 ^~~~~~~~
>    drivers/dma/fsldma.h:200:12: warning: 'in_be64' defined but not used
> [-Wunused-function]
>     static u64 in_be64(const u64 __iomem *addr)
>                ^~~~~~~
>    cc1: some warnings being treated as errors
> 
> vim +202 drivers/dma/fsldma.h
> 
> 173acc7c Zhang Wei 2008-03-01  198
> 173acc7c Zhang Wei 2008-03-01  199  #ifndef __powerpc64__ 173acc7c
> Zhang Wei 2008-03-01  200  static u64 in_be64(const u64 __iomem *addr)
> 173acc7c Zhang Wei 2008-03-01  201  {
> a4e6d5d3 Al Viro   2008-03-29 @202  	return ((u64)in_be32((u32
> __iomem *)addr) << 32) |
> a4e6d5d3 Al Viro   2008-03-29  203  		(in_be32((u32 __iomem
> *)addr + 1));
> 173acc7c Zhang Wei 2008-03-01  204  }
> 173acc7c Zhang Wei 2008-03-01  205
> 173acc7c Zhang Wei 2008-03-01  206  static void out_be64(u64 __iomem
> *addr, u64 val) 173acc7c Zhang Wei 2008-03-01  207  {
> a4e6d5d3 Al Viro   2008-03-29 @208  	out_be32((u32 __iomem *)addr,
> val >> 32);
> a4e6d5d3 Al Viro   2008-03-29  209  	out_be32((u32 __iomem *)addr +
> 1, (u32)val);
> 173acc7c Zhang Wei 2008-03-01  210  }
> 173acc7c Zhang Wei 2008-03-01  211
> 173acc7c Zhang Wei 2008-03-01  212  /* There is no asm instructions for
> 64 bits reverse loads and stores */ 173acc7c Zhang Wei 2008-03-01  213
> static u64 in_le64(const u64 __iomem *addr) 173acc7c Zhang Wei
> 2008-03-01  214  {
> a4e6d5d3 Al Viro   2008-03-29 @215  	return ((u64)in_le32((u32
> __iomem *)addr + 1) << 32) |
> a4e6d5d3 Al Viro   2008-03-29  216  		(in_le32((u32 __iomem
> *)addr));
> 173acc7c Zhang Wei 2008-03-01  217  }
> 173acc7c Zhang Wei 2008-03-01  218
> 173acc7c Zhang Wei 2008-03-01  219  static void out_le64(u64 __iomem
> *addr, u64 val) 173acc7c Zhang Wei 2008-03-01  220  {
> a4e6d5d3 Al Viro   2008-03-29 @221  	out_le32((u32 __iomem *)addr +
> 1, val >> 32);
> a4e6d5d3 Al Viro   2008-03-29  222  	out_le32((u32 __iomem *)addr,
> (u32)val);
> 173acc7c Zhang Wei 2008-03-01  223  }
> 173acc7c Zhang Wei 2008-03-01  224  #endif 173acc7c Zhang Wei
> 2008-03-01  225
> 
> :::::: The code at line 202 was first introduced by commit
> :::::: a4e6d5d3817ebae167e78e5957cd9e624be200c7 fix the broken
> annotations in fsldma
> 
> :::::: TO: Al Viro <viro@xxxxxxxxxxxxxxxx>
> :::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
> 
> ---
> 0-DAY kernel test infrastructure                Open Source Technology
> Center
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.
> 01.org%2Fpipermail%2Fkbuild-all&data=02%7C01%7Cwen.he_1%40nxp.com
> %7C6e3d73a0cd544a167c9908d54bbe8477%7C686ea1d3bc2b4c6fa92cd99c
> 5c301635%7C0%7C0%7C636498204067744907&sdata=9xcr3GaUKb%2FLBLu
> 4fZiaNgXLgo6BD8VNehW3hbDDcUE%3D&reserved=0
> Intel Corporation
?韬{.n?????%??檩??w?{.n???Ё?撖)?骅w*jg????????G??⒏⒎?:+v????????????"??????



[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