UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Explorer
Explorer
929 Views
Registered: ‎03-22-2016

Linux XDMA module from AR65444 rel20180420, ISR called continuously.

XDMA module built on Ubuntu 16.04 LTS, Kernel 4.13.0, testing with VCU118, VC709, and an Abaco Kintex Ultrascale board, all with the same results.

 

Upon inserting the module, the system becomes fairly unresponsive. The mouse lags, and unrelated running processes jump to 100% CPU utilization. Removing the module immediately returns normal functionality. This is without performing any DMA transactions.

 

Is anyone else seeing this behavior? It does not occur with the previous release of the driver from AR65444.

 

EDIT: I enabled debugging. I see this occurring continuously:

Jun 22 09:03:49 my-hostname kernel: [ 115.159063] xdma:xdma_isr: (irq=26, dev 0xffff88a28abdd000) <<<< ISR.
Jun 22 09:03:49 my-hostname kernel: [ 115.159064] xdma:xdma_isr: ch_irq = 0x00000000
Jun 22 09:03:49 my-hostname kernel: [ 115.159065] xdma:xdma_isr: user_irq = 0x00000001

The ISR is being called continuously, even with no transfer taking place. That explains the high CPU usage of whatever application is in the foreground and the general laggy behavior of the system.

 

EDIT: I just noticed that the auto-connect for the DMA bridge attached a constant IP block to the usr_irq_req input with the value set to 1. (Vivado 2018.1). That seems to be continuously generating user interrupts. When that constant is changed to a 0, the problem goes away.

0 Kudos
2 Replies
Highlighted
Moderator
Moderator
861 Views
Registered: ‎02-11-2014

Re: Linux XDMA module from AR65444 rel20180420, ISR called continuously.

Hello @jeffsimpson,

 

I have been able to reproduce the issue using our Windows 7 driver as well. I am glad you have come up with a workaround of turning the constant value for usr_irq_req to a 0. I have communicated this behavior to the development team and we are investigating the issue.

 

Thanks,

Cory

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
Contributor
Contributor
416 Views
Registered: ‎12-12-2018

Re: Linux XDMA module from AR65444 rel20180420, ISR called continuously.

Hi Cory,

Can you comment if this has been fixed in recent issues of Vivado?

There seem to be a few bugs with the XDMA PCIe sames and I'm trying to figure out if this is a potential cause.

 

Mark

0 Kudos