yes, I had used 'ioremap_nocache' to map the IO memory and I can useI try to use ioatdam to copy data from system memory to pci MMIO space:Did you map the IO memory in kernel using ioremap and friends first?
If dst points to a memory space, the operation would pass.
But if dst points to a pci MMIO space, it failed with kernel oops.
It seems the code:
BUG_ON(is_ioat_bug(chanerr));
in drivers/dma/ioat/dma_v3.c, line 365 cause the oops.
Is there anyway to access pci MMIO space using ioat?
The datasheet says that ioat supports MMIO access.