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

ML timeline buffer needs to be 12KB aligned now #8585

Merged
merged 3 commits into from
Oct 31, 2024

Conversation

IshitaGhosh
Copy link
Collaborator

Problem solved by the commit

Each record timer entry now has 32 bit ID + 64bit AIE Timer(High+Low). So, the buffer should be 12KB aligned to avoid incorrect reads when buffer is overwritten with excess record timer data.
A fix was added earlier to use 192KB as the default host buffer size. This PR now adjusts the user specified buffer size to 12KB aligned.

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

#8416 introduced the issue and it was discovered by DPU team

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

Risks (if any) associated the changes in the commit

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

Unit tests

Documentation impact (if any)

Ishita Ghosh added 3 commits October 30, 2024 10:54
… Host Buffer gets overwriiten with excess record timer data.

Signed-off-by: Ishita Ghosh <[email protected]>
…ed as data does not sync well then. Always round up to next 12KB aligned size when adjusting.

Signed-off-by: Ishita Ghosh <[email protected]>
@jvillarre jvillarre merged commit 090e3fa into Xilinx:master Oct 31, 2024
19 checks passed
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