cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
colombini_luca
Explorer
Explorer
308 Views
Registered: ‎11-05-2008

VDMA region already reserved at boot ?

Hi,

   I have a design that uses VDMA and it is implemented with Vivado 2018.2.

 

   Once the system boot the VDMA region has been already requested memory as you can see by the following line from /proc/iomem:

 

  80030000-80030fff : /amba_pl@0/dma@80030000

 

  We have a custom driver that accesses this same region, so when I load the module the fisrt time it fails, complaining about this region:

[ 534.906259] fpgadev: loading out-of-tree module taints kernel.
[ 534.912724] fpgadev 80000000.fpgadev: Couldn't lock memory region at 0000000080030000
[ 534.920515] fpgadev: probe of 80000000.fpgadev failed with error -16

 

  Bus if I remove the module and insert it again, it works.

 

  Has someone had similar issues? What could be the cause?

 

Regards,

Luca

  

0 Kudos
0 Replies