Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XDMA: Some times xdma engine crashes with irq MAGIC_STOPPED #48

Open
IgorAmosov opened this issue Jan 29, 2020 · 7 comments
Open

XDMA: Some times xdma engine crashes with irq MAGIC_STOPPED #48

IgorAmosov opened this issue Jan 29, 2020 · 7 comments

Comments

@IgorAmosov
Copy link

dmesg_xdma.txt
Hello!
I'am using xdma driver with XDMA IP in Memory Mapped case.
kernel:3.10.0-1062.9.1.el7.x86_64
CentOS 7.7
Some times big transaction crashes with MAGIC_STOPPED irq in dmesg (attached).
I have no idea, what is it.

@bhathaway
Copy link
Contributor

I have also encountered this exact issue. My only clue at this point is that somehow descriptors are being corrupted.

@IgorAmosov
Copy link
Author

I downgrade to "version: 2018.3.50" (design in vivado 2019.2) and all is ok

@bhathaway
Copy link
Contributor

@IgorAmosov Did you downgrade the driver source code or Vivado?

@IgorAmosov
Copy link
Author

IgorAmosov commented Feb 5, 2020

@IgorAmosov Did you downgrade the driver source code or Vivado?

I'he downgraded driver version from this repo.

@bhathaway
Copy link
Contributor

Please see #49

I would be curious if my bug fix resolves your issue.

@IsaacJT
Copy link

IsaacJT commented May 14, 2020

Hi @bhathaway,

I encountered this exact problem and your fix resolved it for me. Thank you very much!

jrtc27 added a commit to jrtc27/connectal that referenced this issue Jun 30, 2020
This is a minimal implementation based on [1] that matches the existing
code style for handling the page crossing edge case. Previously only one
place in the code correctly handled adjacent descriptors crossing a page
boundary, but now that code is copied to the other relevant places too.

We hit this case when attempting to re-load ELF files after a few
attempts, at least with my CheriBSD image.

[1] Xilinx/dma_ip_drivers#49
jameyhicks pushed a commit to cambridgehackers/connectal that referenced this issue Jun 30, 2020
This is a minimal implementation based on [1] that matches the existing
code style for handling the page crossing edge case. Previously only one
place in the code correctly handled adjacent descriptors crossing a page
boundary, but now that code is copied to the other relevant places too.

We hit this case when attempting to re-load ELF files after a few
attempts, at least with my CheriBSD image.

[1] Xilinx/dma_ip_drivers#49
@hmaarrfk
Copy link

Hello,

My name is Mark Harfouche. I am not affiliated with Xilinx in any way. Over the
years of using QDMA, I've been wanted better community organization.

I've created a fork of dma_ip_drivers which I intend to maintain and work with the
community at large to improve.

The fork can be found https://github.com/hmaarrfk/dma_ip_drivers

For now, I am stating the main goals of the repository in
hmaarrfk#2

If you are interested in working together, feel free to open an issue or PR to
my fork.

Best,

Mark

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants