Xilinx / dma_ip_drivers

Xilinx QDMA IP Drivers
https://xilinx.github.io/dma_ip_drivers/
578 stars 420 forks source link

fix vm_flags modification for Linux v6.3 #210

Open cyyself opened 1 year ago

cyyself commented 1 year ago

The vm_flags modifier functions have been introduced to prevent racing since Linux Kernel v6.3. However, the vm_flags have become const since this version. This PR changed the modified code to adopt the new function wrapper for the newer version of the kernel.

I have tested it after cherry-picking #179 , #142 (only xvsec) and #150 in my own branch. It was successfully compiled on Linux v6.3.

alonbl commented 1 year ago

Probably not required any more

cyyself commented 1 year ago

Probably not required any more

No. The master branch still cannot successfully compile on Linux Kernel Version >= 6.3.