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

Workaround to limit Aperture Size Limit as part of QDMA Queues for SOFT QDMA IP. #7979

Merged
merged 8 commits into from
Mar 5, 2024
Merged

Conversation

karthdmg-xilinx
Copy link
Collaborator

Problem solved by the commit

The SOFT IP on RAVE Platform is unable to handle DMA requests if the block size exceeds 64k.
HW team is working towards the fix in IP.
Adding a temporary WA as part of XRT QDMA subdev until we have a fix in SOFT IP.

Bug / issue (if any) fixed, which PR introduced the bug, how it was discovered

The SOFT IP on RAVE Platform is unable to handle DMA requests if the block size exceeds 64k.

How problem was solved, alternative solutions (if any) and why they were rejected

Added a temporary WA as part of XRT QDMA subdev until we have a fix in SOFT IP.

Risks (if any) associated the changes in the commit

NA

What has been tested and how, request additional testing if necessary

-Tested the aperture size is being set to 32k size for SOFT IPs.

  • Tested on HARD IP Platform (V70) to verify this WA has no effect.

Documentation impact (if any)

None.

@@ -541,6 +555,11 @@ static int set_max_chan(struct xocl_qdma *qdma, u32 count)
qconf->qidx = qidx;
qconf->irq_en = (qdma->dev_conf.qdma_drv_mode == POLL_MODE) ?
0 : 1;
if (is_soft_qdma)
{
Copy link
Collaborator

@chvamshi-xilinx chvamshi-xilinx Mar 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use "{" along with if condition in next PR

@chvamshi-xilinx chvamshi-xilinx merged commit cc30690 into Xilinx:master Mar 5, 2024
19 checks passed
karthdmg-xilinx added a commit to karthdmg-xilinx/XRT that referenced this pull request May 28, 2024
…s for SOFT QDMA IP. (Xilinx#7979)"

Reverting the changes since the work around has been handled as part of QDMA driver.
This reverts commit cc30690.
chvamshi-xilinx pushed a commit that referenced this pull request May 28, 2024
* Revert "Workaround to limit Aperture Size Limit as part of QDMA Queues for SOFT QDMA IP.  (#7979)"
Reverting the changes since the work around has been handled as part of QDMA driver.
This reverts commit cc30690.

* reverting QDMA changes in XRT

Signed-off-by: Karthik DMG <[email protected]>

---------

Signed-off-by: Karthik DMG <[email protected]>
karthdmg-xilinx added a commit to karthdmg-xilinx/XRT that referenced this pull request Jun 4, 2024
* Revert "Workaround to limit Aperture Size Limit as part of QDMA Queues for SOFT QDMA IP.  (Xilinx#7979)"
Reverting the changes since the work around has been handled as part of QDMA driver.
This reverts commit cc30690.

* reverting QDMA changes in XRT

Signed-off-by: Karthik DMG <[email protected]>

---------

Signed-off-by: Karthik DMG <[email protected]>
(cherry picked from commit 4cb2c5d)
chvamshi-xilinx pushed a commit that referenced this pull request Jun 5, 2024
* Revert "Workaround to limit Aperture Size Limit as part of QDMA Queues for SOFT QDMA IP.  (#7979)"
Reverting the changes since the work around has been handled as part of QDMA driver.
This reverts commit cc30690.

* reverting QDMA changes in XRT

Signed-off-by: Karthik DMG <[email protected]>

---------

Signed-off-by: Karthik DMG <[email protected]>
(cherry picked from commit 4cb2c5d)
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

Successfully merging this pull request may close these issues.

2 participants