XVSEC and XDMA driver update for Linux 5.x
- Remove unused ret2 argument from call to ki_complete() on Linux Kernel version >= 5.16
- Guard
get_fs()/set_fscalls based on Linux Kernel version < 5.10 - Use
kernel_read()/kernel_write()for Linux Kernel version >= 5.10 - Add .gitignore
- Minor fix to Makefile
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/
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.