Skip to content

Conversation

@rbramand-xilinx
Copy link
Collaborator

Problem solved by the commit

Added correct flag when creating control scratchpad memory to create cacheable buffer instead of host buffer

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

PR - #9373 introduced the bug when trying to add separate flags for scratchpad and ctrl scratchpad as one requires host buffer and other requires cacheable buffer.

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

Using correct flag when creating ctrl scratchpad so that cacheable memory is created.

Risks (if any) associated the changes in the commit

Low

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

TODO : Need to test the bug reported, this PR is added so that it can be used for compilation and testing

Documentation impact (if any)

Low

Signed-off-by: Rahul Bramandlapalli <rbramand@amd.com>
@github-actions
Copy link
Contributor

github-actions bot commented Jan 7, 2026

clang-tidy review says "All clean, LGTM! 👍"

@larry9523
Copy link
Collaborator

While @rbramand-xilinx is working on verification on silicon, I did managed to verify the fix on Simnow. Without the fix, the ctrl scratchpad memory is allocated from the host only buffer. But with the fix, it is allocated from the device SRAM.

So I merge this PR now

@larry9523 larry9523 merged commit f456d57 into Xilinx:master Jan 9, 2026
65 of 93 checks passed
rbramand-xilinx added a commit to rbramand-xilinx/XRT that referenced this pull request Jan 9, 2026
Signed-off-by: Rahul Bramandlapalli <rbramand@amd.com>
(cherry picked from commit f456d57)
chvamshi-xilinx pushed a commit that referenced this pull request Jan 9, 2026
(cherry picked from commit f456d57)

Signed-off-by: Rahul Bramandlapalli <rbramand@amd.com>
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.

3 participants