Re: [PATCH V9 3/4] scsi: Align block queue to dma_get_cache_alignment()

2017-11-04 Thread kbuild test robot
Hi Huacai, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.14-rc7] [cannot apply to next-20171103] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

[PATCH V9 3/4] scsi: Align block queue to dma_get_cache_alignment()

2017-10-23 Thread Huacai Chen
In non-coherent DMA mode, kernel uses cache flushing operations to maintain I/O coherency, so scsi's block queue should be aligned to ARCH_DMA_MINALIGN. Otherwise, If a DMA buffer and a kernel structure share a same cache line, and if the kernel structure has dirty data, cache_invalidate (no