dma_ip_drivers icon indicating copy to clipboard operation
dma_ip_drivers copied to clipboard

XVSEC and XDMA driver update for Linux 5.x

Open paulmnt opened this issue 3 years ago • 2 comments

  • Remove unused ret2 argument from call to ki_complete() on Linux Kernel version >= 5.16
  • Guard get_fs() / set_fs calls based on Linux Kernel version < 5.10
  • Use kernel_read() / kernel_write() for Linux Kernel version >= 5.10
  • Add .gitignore
  • Minor fix to Makefile

paulmnt avatar Jan 20 '22 20:01 paulmnt

Xilinx likely doesn't won't respond and might delete this post.

If you want to help get the compilation infrastructure and help on my fork, i will gladly review. An example is show to test qdma for different kernel versions

https://github.com/hmaarrfk/dma_ip_drivers/

hmaarrfk avatar Sep 23 '22 02:09 hmaarrfk

I have tested your xvsec patch on Linux v6.3 with firesim on Xilinx VCU118 Board, but I have some issues.

Although it was compiled successfully, the system stops responding when I use firesim infrasetup, which uses xvsecctl to replace the bitstream. If I restart the system (without power cycle FPGA) this time, it stops at BIOS. But when I switch to Kernel v5.4 or v5.15, it works normally.

cyyself avatar Jun 15 '23 15:06 cyyself