-
Notifications
You must be signed in to change notification settings - Fork 9
Import latest changes from Darjeeling #155
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
Open
rivos-eblot
wants to merge
69
commits into
lowRISC:ot-earlgrey-9.2.0
Choose a base branch
from
rivos-eblot:dev/ebl/resync_on_dj
base: ot-earlgrey-9.2.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Import latest changes from Darjeeling #155
rivos-eblot
wants to merge
69
commits into
lowRISC:ot-earlgrey-9.2.0
from
rivos-eblot:dev/ebl/resync_on_dj
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This may be useful to delay initial connection to the QEMU SPI device socket when QEMU start up / initial FW boot time is slow. Signed-off-by: Emmanuel Blot <[email protected]>
Tiny tool to convert time absolute log time into relative log time. It enables comparing different runs time-wise with log files produced with OT scripts using the --log-time option. timelog.py < pyot.log > pyot-rel.log Signed-off-by: Emmanuel Blot <[email protected]>
…e inclusion" There are header guards on both cpu.h and pmp.h which avoids any conflict on duplicated header inclusion. Signed-off-by: Rob Bradford <[email protected]>
strchrnul function has been introduced in macOS 15.4, with a warning message that shows up on almost every single C file being built as: "note: 'strchrnul' has been marked as being introduced in macOS 15.4 here, but the deployment target is macOS 15.0.0" This commit hides the presence of strchrnul on macOS, so the default QEMU implementation is used instead, as it was on previous macOS versions. This is a workaround till this issue is addressed upstream. Signed-off-by: Emmanuel Blot <[email protected]>
…pper implementation Signed-off-by: Emmanuel Blot <[email protected]>
…lementations. Merge both implementation into a single one with dynamic register definition. The code is less readable, but there is no longer two concurrent implementations of the same IP for the sake of managing different number of remapping regions. Signed-off-by: Emmanuel Blot <[email protected]>
…er implementation Instantiate and configure the virtual remapper. Signed-off-by: Emmanuel Blot <[email protected]>
LC state support on EarlGrey is not yet fully implemented, bypass its execution control line. Signed-off-by: Emmanuel Blot <[email protected]> (cherry picked from commit bd1b7acb45dda7203045669ef936c4c43f01cb56)
…ations Signed-off-by: Emmanuel Blot <[email protected]>
This changes enables providing custom address translation engine. OpenTitan does not have an MMU, but support a custom virtual remapper. Signed-off-by: Emmanuel Blot <[email protected]>
On OpenTitan devices, PMP is validating translated addresses, not physical ones. Signed-off-by: Emmanuel Blot <[email protected]>
…anslation Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
Instantiate and configure the virtual remapper. Signed-off-by: Emmanuel Blot <[email protected]>
…mentation Replace MR alias based memory mapping with ot_vmapper engine by default. Use `alias-mode=true` to revert to the legacy implementation. Signed-off-by: Emmanuel Blot <[email protected]>
…eature Signed-off-by: Emmanuel Blot <[email protected]>
…or on invalid range Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
Only RESET_INFO needs to be preserved on reset. Signed-off-by: Emmanuel Blot <[email protected]>
If the guest randomly write in the PULP debug module, this would made the QEMU machine to crash. Signed-off-by: Emmanuel Blot <[email protected]>
Each state contains word_count uint16_t entries. Signed-off-by: Emmanuel Blot <[email protected]>
Invalid CSID should not be used to index the banked configopts registers. Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
Also add an extra sanity check. Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
OTP content used to be loaded in PoR reset, the OTP implementation maintaining a synchronized copy of its buffer in the file backend. However this led to never checking the actual back end content in the current QEMU session, which is a far too strong departure from the actual HW. This new implementation reloads the OTP content from the back end file on each reset, to ensure that data committed to the back end is actually used on each OT run session. Signed-off-by: Emmanuel Blot <[email protected]>
For some reason, the flash density byte is sent first in the current HW version. Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
… API Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
…e API Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
…le API Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
…able API Signed-off-by: Emmanuel Blot <[email protected]>
…able API Signed-off-by: Emmanuel Blot <[email protected]>
…able API Signed-off-by: Emmanuel Blot <[email protected]>
…ble API Signed-off-by: Emmanuel Blot <[email protected]>
…e API Signed-off-by: Emmanuel Blot <[email protected]>
…e API Signed-off-by: Emmanuel Blot <[email protected]>
…able API Signed-off-by: Emmanuel Blot <[email protected]>
…ttable API Signed-off-by: Emmanuel Blot <[email protected]>
…table API Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
…able API Signed-off-by: Emmanuel Blot <[email protected]>
… API Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
ot_common_configure_devices_with_id already takes care of identifying devices. Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
Signed-off-by: Emmanuel Blot <[email protected]>
The parent should specify this property. Signed-off-by: Emmanuel Blot <[email protected]> (cherry picked from commit 851989e)
Signed-off-by: Emmanuel Blot <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This very large commit imports (and adapts) changes that have recently been made on the Darjeeling branch.
".*replace legacy reset API with Resettable API$
) address a QEMU API change. Simple legacy reset call has been replaced in QEMU 9.x with a more recent "Resettable" API which performs a 3-step reset (enter, hold, exit), which is really useful to manage the complex reset management in OpenTitan devices. The legacy API has been fully replaced; there is one commit for each IPot_id
debug properties have been unified and simplified; there are now mandatory, i.e. the SoC should initialize them before realizing the devices. The ibex helpers take care of this step at machine creation.