DMA map SG ignores DMA mask or don't report error

2018-02-24 Thread Aron
Hello, tl;dr: Custom PCIe FPGA board, custom driver: dma_map_sg() and dma_set_mask() do not report any error, the dma addresses are bigger than the useable address space (30 bit). I'm trying to write a direct I/O driver for a custom PCIe FPGA board (for my MSc thesis). I would like to use

DMA map SG ignores DMA mask or don't report error

2018-02-24 Thread Aron
Hello, tl;dr: Custom PCIe FPGA board, custom driver: dma_map_sg() and dma_set_mask() do not report any error, the dma addresses are bigger than the useable address space (30 bit). I'm trying to write a direct I/O driver for a custom PCIe FPGA board (for my MSc thesis). I would like to use