Altera_Forum
Honored Contributor
12 years agodeadlock of chained dma based design on rmmod of Linux driver
I encountered the deadlock problem of chained dma based design when doing rmmod of Linux driver module.
SignalTap shows that tx_sel_pcnt and tx_sel_slave signals (i.e. for altpcierd_rc_slave module) are asserted during rmmod and never de-asserted again unless reboot/reset of the system performed. During rmmod usual things are performed like pci_release_regions(pdev) and pci_disable_device(pdev). The suspicion is that this is because altpcierd_rc_slave does not handle correctly some type of transaction issued by CPU during rmmod (interrupt related ?). Quartus version is 12.1sp1, Linux version is 2.6.32, FPGA is Arria V. Any info helping to understand/resolve this issue would be appreciated.