ikwzm / udmabuf

User space mappable dma buffer device driver for Linux.
BSD 2-Clause "Simplified" License
545 stars 165 forks source link

Force iommu configuration for DMA region #52

Closed cahz closed 4 years ago

cahz commented 4 years ago

This fix is needed to get udmabuf running on our Ultra96 without configuring it via the device tree. Otherwise insmod would fail.

Tested with Linux 4.19 on arm64, the reserved memory is configured in the device tree.

ikwzm commented 4 years ago

Thank you for the PR. u-dma-buf v3.2.1-rc.1 has been provisionally released. The modification is different, but does this still fail?

cahz commented 4 years ago

Your change does fix the problem. Thank you.