[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202506172031.WOhp9AYg-lkp@intel.com>
Date: Tue, 17 Jun 2025 21:00:52 +0800
From: kernel test robot <lkp@...el.com>
To: Alexander Kochetkov <al.kochet@...il.com>,
Vinod Koul <vkoul@...nel.org>, dmaengine@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: oe-kbuild-all@...ts.linux.dev, Nishad Saraf <nishads@....com>,
Lizhi Hou <lizhi.hou@....com>, Jacky Huang <ychuang3@...oton.com>,
Shan-Chun Hung <schung@...oton.com>,
Florian Fainelli <florian.fainelli@...adcom.com>,
Ray Jui <rjui@...adcom.com>, Scott Branden <sbranden@...adcom.com>,
Lars-Peter Clausen <lars@...afoo.de>,
Paul Cercueil <paul@...pouillou.net>,
Eugeniy Paltsev <Eugeniy.Paltsev@...opsys.com>,
Manivannan Sadhasivam <mani@...nel.org>,
Frank Li <Frank.Li@....com>, Zhou Wang <wangzhou1@...ilicon.com>,
Longfang Liu <liulongfang@...wei.com>,
Andy Shevchenko <andy@...nel.org>, Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>,
Keguang Zhang <keguang.zhang@...il.com>,
Sean Wang <sean.wang@...iatek.com>,
Matthias Brugger <matthias.bgg@...il.com>,
AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>,
Andreas Färber <afaerber@...e.de>,
Daniel Mack <daniel@...que.org>,
Haojian Zhuang <haojian.zhuang@...il.com>,
Robert Jarzmik <robert.jarzmik@...e.fr>
Subject: Re: [PATCH v2 2/2] !!! TESTING ONLY !!! Allow compile virt-dma users
on ARM64 platform
Hi Alexander,
kernel test robot noticed the following build errors:
[auto build test ERROR on vkoul-dmaengine/next]
[also build test ERROR on shawnguo/for-next sunxi/sunxi/for-next lee-mfd/for-mfd-next linus/master v6.16-rc2 next-20250617]
[cannot apply to atorgue-stm32/stm32-next lee-mfd/for-mfd-fixes]
[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/Alexander-Kochetkov/dmaengine-virt-dma-convert-tasklet-to-BH-workqueue-for-callback-invocation/20250616-205118
base: https://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git next
patch link: https://lore.kernel.org/r/20250616124934.141782-3-al.kochet%40gmail.com
patch subject: [PATCH v2 2/2] !!! TESTING ONLY !!! Allow compile virt-dma users on ARM64 platform
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20250617/202506172031.WOhp9AYg-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250617/202506172031.WOhp9AYg-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 <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202506172031.WOhp9AYg-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/dma/fsldma.c:37:
drivers/dma/fsldma.c: In function 'set_sr':
>> drivers/dma/fsldma.h:254:25: error: implicit declaration of function 'fsl_iowrite32be'; did you mean 'iowrite32be'? [-Wimplicit-function-declaration]
254 | fsl_iowrite##width##be(val, addr) : fsl_iowrite \
| ^~~~~~~~~~~
drivers/dma/fsldma.c:52:9: note: in expansion of macro 'FSL_DMA_OUT'
52 | FSL_DMA_OUT(chan, &chan->regs->sr, val, 32);
| ^~~~~~~~~~~
>> drivers/dma/fsldma.h:254:61: error: implicit declaration of function 'fsl_iowrite32'; did you mean 'gf_iowrite32'? [-Wimplicit-function-declaration]
254 | fsl_iowrite##width##be(val, addr) : fsl_iowrite \
| ^~~~~~~~~~~
drivers/dma/fsldma.c:52:9: note: in expansion of macro 'FSL_DMA_OUT'
52 | FSL_DMA_OUT(chan, &chan->regs->sr, val, 32);
| ^~~~~~~~~~~
drivers/dma/fsldma.c: In function 'get_sr':
>> drivers/dma/fsldma.h:250:25: error: implicit declaration of function 'fsl_ioread32be'; did you mean 'ioread32be'? [-Wimplicit-function-declaration]
250 | fsl_ioread##width##be(addr) : fsl_ioread##width(addr))
| ^~~~~~~~~~
drivers/dma/fsldma.c:57:16: note: in expansion of macro 'FSL_DMA_IN'
57 | return FSL_DMA_IN(chan, &chan->regs->sr, 32);
| ^~~~~~~~~~
>> drivers/dma/fsldma.h:250:55: error: implicit declaration of function 'fsl_ioread32'; did you mean 'gf_ioread32'? [-Wimplicit-function-declaration]
250 | fsl_ioread##width##be(addr) : fsl_ioread##width(addr))
| ^~~~~~~~~~
drivers/dma/fsldma.c:57:16: note: in expansion of macro 'FSL_DMA_IN'
57 | return FSL_DMA_IN(chan, &chan->regs->sr, 32);
| ^~~~~~~~~~
drivers/dma/fsldma.c: In function 'set_cdar':
>> drivers/dma/fsldma.h:254:25: error: implicit declaration of function 'fsl_iowrite64be' [-Wimplicit-function-declaration]
254 | fsl_iowrite##width##be(val, addr) : fsl_iowrite \
| ^~~~~~~~~~~
drivers/dma/fsldma.c:72:9: note: in expansion of macro 'FSL_DMA_OUT'
72 | FSL_DMA_OUT(chan, &chan->regs->cdar, addr | FSL_DMA_SNEN, 64);
| ^~~~~~~~~~~
>> drivers/dma/fsldma.h:254:61: error: implicit declaration of function 'fsl_iowrite64' [-Wimplicit-function-declaration]
254 | fsl_iowrite##width##be(val, addr) : fsl_iowrite \
| ^~~~~~~~~~~
drivers/dma/fsldma.c:72:9: note: in expansion of macro 'FSL_DMA_OUT'
72 | FSL_DMA_OUT(chan, &chan->regs->cdar, addr | FSL_DMA_SNEN, 64);
| ^~~~~~~~~~~
drivers/dma/fsldma.c: In function 'get_cdar':
>> drivers/dma/fsldma.h:250:25: error: implicit declaration of function 'fsl_ioread64be' [-Wimplicit-function-declaration]
250 | fsl_ioread##width##be(addr) : fsl_ioread##width(addr))
| ^~~~~~~~~~
drivers/dma/fsldma.c:77:16: note: in expansion of macro 'FSL_DMA_IN'
77 | return FSL_DMA_IN(chan, &chan->regs->cdar, 64) & ~FSL_DMA_SNEN;
| ^~~~~~~~~~
>> drivers/dma/fsldma.h:250:55: error: implicit declaration of function 'fsl_ioread64' [-Wimplicit-function-declaration]
250 | fsl_ioread##width##be(addr) : fsl_ioread##width(addr))
| ^~~~~~~~~~
drivers/dma/fsldma.c:77:16: note: in expansion of macro 'FSL_DMA_IN'
77 | return FSL_DMA_IN(chan, &chan->regs->cdar, 64) & ~FSL_DMA_SNEN;
| ^~~~~~~~~~
drivers/dma/fsldma.c: In function 'fsl_chan_set_src_loop_size':
>> drivers/dma/fsldma.c:269:44: error: implicit declaration of function '__ilog2'; did you mean 'ilog2'? [-Wimplicit-function-declaration]
269 | mode |= FSL_DMA_MR_SAHE | (__ilog2(size) << 14);
| ^~~~~~~
| ilog2
vim +254 drivers/dma/fsldma.h
a1ff82a9c165ba Peng Ma 2018-10-30 247
a1ff82a9c165ba Peng Ma 2018-10-30 248 #define FSL_DMA_IN(fsl_dma, addr, width) \
a1ff82a9c165ba Peng Ma 2018-10-30 249 (((fsl_dma)->feature & FSL_DMA_BIG_ENDIAN) ? \
a1ff82a9c165ba Peng Ma 2018-10-30 @250 fsl_ioread##width##be(addr) : fsl_ioread##width(addr))
a1ff82a9c165ba Peng Ma 2018-10-30 251
a1ff82a9c165ba Peng Ma 2018-10-30 252 #define FSL_DMA_OUT(fsl_dma, addr, val, width) \
a1ff82a9c165ba Peng Ma 2018-10-30 253 (((fsl_dma)->feature & FSL_DMA_BIG_ENDIAN) ? \
a1ff82a9c165ba Peng Ma 2018-10-30 @254 fsl_iowrite##width##be(val, addr) : fsl_iowrite \
a1ff82a9c165ba Peng Ma 2018-10-30 255 ##width(val, addr))
173acc7ce8538f Zhang Wei 2008-03-01 256
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists