Xilinx / dma_ip_drivers

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

RHEL 8.4 compilation failure due to kernel API mismatch #166

Closed ob74 closed 2 years ago

ob74 commented 2 years ago

https://github.com/Xilinx/dma_ip_drivers/blob/785995783c78b2cbec6458141c4395e204c5bd9b/QDMA/linux-kernel/driver/src/qdma_mod.c#L1772

PCIe AER API changed on kernel 5.7.0 (pci_aer_clear_nonfatal_status() instead of pci_cleanup_aer_uncorrect_error_status() ) (this commit: https://github.com/torvalds/linux/commit/894020fdd88c1e9a74c60b67c0f19f1c7696ba2f) but RHEL 8.3 and on seems to take this patch also, so this needs to be handled with a proper RHEL version check. A similar issue (and solution) may be found here: https://github.com/Microsemi/switchtec-kernel/issues/98

ob74 commented 2 years ago

solved in https://github.com/Xilinx/dma_ip_drivers/commit/35276a7afe222428453d05ac0995dbbb740d181b 10x