-
Notifications
You must be signed in to change notification settings - Fork 706
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
Support multiple outstanding stores #1474
Conversation
✔️ successful run, report available here. |
Hello @colluca, |
Dear @JeanRochCoulon, thank you for taking the time to have a look at the PR.
Where is this information disseminated? Is there a timeline for the integration of the HPDCache? We are using the WB cache in most PULP systems, so my PR comes from developments which are needed thereof.
Indeed I confirm the will to use it... or rather, it has been in use up to now. How should I proceed to test the WB configuration in the CI? Best regards, |
Up to now, no configuration has been defined with WB cache enable. The first is to define a new configuration (inside core/include dir), then to invoke this configuration from github actions CI (defined in cva6 repository) |
Hello @colluca This PR is not ready to be merged because tests need to be added to CI to test the regression. I propose to close the PR, do not hesitate to revive it when it will be ready |
@JeanRochCoulon since this PR does not touch the I wouldn't go that far to declare the WB cache dead (just yet). For example, there is the ace project of @suppamax which uses the WB cache. And we (as in Axelera) haven't yet concluded on the choice of cash, so it could be that we revive it. I am re-opening this PR, @colluca can we merge? |
Merging without testing is a risk to make WB die. I do not merge to keep it as it is without modification, and I hope functional. How to garanty it is functional after merging ? |
@JeanRochCoulon I've opened a PR to re-add WB regression tests to the CI: #1523. Do you think this would do? |
I meant that afaik HPDcache itself will feature a write-through (no write-back) policy. In that case, I think it would be good to keep the existing WB cache alive for now. |
In fact HPDcache gets the ability to be configured in WT or WB configurations. But @cfuguet could provide better information than me ;-) |
Hello @niwis, currently the HPDcache only supports the Write-Through policy. I will start the developments to support Write-Back, but the official release date of this new feature is May, 2024. |
5dab492
to
4a7c2b5
Compare
Tests seem to pass. There is one last outstanding question from my side. Currently, the number of outstanding transactions is hardcoded in the |
After the add of WB tests in the CI, I'm having the following issue from the CI when running WB configurations:
Someone else is experiencing the same issue ? Thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Euh... Why Github actions did not detect the error ? |
❌ failed run, report available here. |
@colluca If you think a new parameter is needed, Add this parameter to the config_pkg::cva6_cfg_t. It will become an input parameter of cva6. Of course all configuration files need to be updated. |
50f3d5e
to
a84d6bf
Compare
I created the top-level parameter. Now ready to merge in my opinion. |
❌ failed run, report available here. |
@colluca can you rebase to solve the conflicts ? |
a84d6bf
to
6cfe769
Compare
❌ failed run, report available here. |
6cfe769
to
d127f1a
Compare
Thanks for the patience and feedback @JeanRochCoulon Should be amended by the latest push |
✔️ successful run, report available here. |
This PR implements support for multiple outstanding store transactions bypassing the cache. It improves memory parallelism of write requests to non-cached memory regions, e.g. involved in configuring a peripheral.