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

[opentitanlib] set EXEC CSR in sram_ctrl when SRAM program is loaded #25652

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

timothytrippel
Copy link
Contributor

Previously, we were relying on HW_CFG1 partition not being programmed yet for SRAM execution to be enabled in TEST_UNLOCKED* states. However, this limits the re-entrancy of the FT individualize program, where HW_CFG1 is programmed but the individualize program needs to be re-tried again.

@timothytrippel timothytrippel requested a review from a team as a code owner December 14, 2024 00:30
@timothytrippel timothytrippel requested review from cfrantz, moidx and pamaury and removed request for a team December 14, 2024 00:30
@timothytrippel timothytrippel added the CherryPick:master This PR should be cherry-picked to master label Dec 14, 2024
@timothytrippel timothytrippel force-pushed the fix-sram-load branch 2 times, most recently from 250d3dc to 635b87e Compare December 14, 2024 13:34
Previously, we were relying on HW_CFG1 partition not being programmed
yet for SRAM execution to be enabled in TEST_UNLOCKED* states. However,
this limits the re-entrancy of the FT individualize program, where
HW_CFG1 is programmed but the individualize program needs to be re-tried
again.

Signed-off-by: Tim Trippel <[email protected]>
@timothytrippel timothytrippel requested a review from a team as a code owner December 16, 2024 17:47
@timothytrippel timothytrippel requested review from alees24 and removed request for a team December 16, 2024 17:47
@timothytrippel timothytrippel merged commit b8fe0da into lowRISC:earlgrey_1.0.0 Dec 16, 2024
32 checks passed
@timothytrippel timothytrippel deleted the fix-sram-load branch December 16, 2024 23:48
Copy link

Backport failed for master, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin master
git worktree add -d .worktree/backport-25652-to-master origin/master
cd .worktree/backport-25652-to-master
git switch --create backport-25652-to-master
git cherry-pick -x 43a1fe57974aae8064173988f4d3c5b48e0e6c39

@github-actions github-actions bot added the Manually CherryPick This PR should be manually cherry picked. label Dec 16, 2024
@timothytrippel timothytrippel removed CherryPick:master This PR should be cherry-picked to master Manually CherryPick This PR should be manually cherry picked. labels Dec 17, 2024
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