Hi Dave, I love your patch! Yet something to improve: [auto build test ERROR on slave-dma/next] [also build test ERROR on linus/master v5.7-rc4 next-20200505] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Dave-Jiang/dmaengine-cookie-bypass-for-out-of-order-completion/20200506-115734 base: https://git.kernel.org/pub/scm/linux/kernel/git/vkoul/slave-dma.git next config: x86_64-randconfig-g003-20200505 (attached as .config) compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 24b4965ce65b14ead595dcc68add22ba37533207) reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install x86_64 cross compiling tool for clang build # apt-get install binutils-x86-64-linux-gnu # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kbuild test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): >> drivers/dma/idxd/dma.c:177:14: error: use of undeclared identifier 'DMA_NO_COMPLETION_ORDER'; did you mean 'DMA_COMPLETION_NO_ORDER'? dma_cap_set(DMA_NO_COMPLETION_ORDER, dma->cap_mask); ^~~~~~~~~~~~~~~~~~~~~~~ DMA_COMPLETION_NO_ORDER include/linux/dmaengine.h:1334:46: note: expanded from macro 'dma_cap_set' #define dma_cap_set(tx, mask) __dma_cap_set((tx), &(mask)) ^ include/linux/dmaengine.h:65:2: note: 'DMA_COMPLETION_NO_ORDER' declared here DMA_COMPLETION_NO_ORDER, ^ 1 error generated. vim +177 drivers/dma/idxd/dma.c 169 170 int idxd_register_dma_device(struct idxd_device *idxd) 171 { 172 struct dma_device *dma = &idxd->dma_dev; 173 174 INIT_LIST_HEAD(&dma->channels); 175 dma->dev = &idxd->pdev->dev; 176 > 177 dma_cap_set(DMA_NO_COMPLETION_ORDER, dma->cap_mask); 178 dma->device_release = idxd_dma_release; 179 180 if (idxd->hw.opcap.bits[0] & IDXD_OPCAP_MEMMOVE) { 181 dma_cap_set(DMA_MEMCPY, dma->cap_mask); 182 dma->device_prep_dma_memcpy = idxd_dma_submit_memcpy; 183 } 184 185 dma->device_tx_status = idxd_dma_tx_status; 186 dma->device_issue_pending = idxd_dma_issue_pending; 187 dma->device_alloc_chan_resources = idxd_dma_alloc_chan_resources; 188 dma->device_free_chan_resources = idxd_dma_free_chan_resources; 189 190 return dma_async_device_register(&idxd->dma_dev); 191 } 192 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip