ikwzm / udmabuf

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

udmabuf at fixed physical address in linux x86 #93

Open njsys opened 1 year ago

njsys commented 1 year ago

Udmabuf has been working very well for us. But it is loading at different spots every time after reboot as we use insmod command.

There is now a requirement to load the udmabuf at the same address everytime. How do we accomplish that?

Operating system: linux Kernel version: 5.3

Thanks

ikwzm commented 1 year ago

Thanks for your issue.

For arm/arm64 you can assign it to a fixed address by the device tree, but unfortunately for x86 there is no way to do that.