Conversation
2888929 to
23deaa4
Compare
Author
|
These commits were identified during review as being not strictly related to system emulation. |
androm3da
commented
Feb 9, 2025
Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>
The BADVA reg is referred to with the wrong identifier. The CAUSE reg field of SSR is not yet modeled, we will dump the SSR in a subsequent commit. Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>
Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>
To remove any confusion with HVX or other potential store instructions, we'll qualify this context var with "scalar". Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>
eaee221 to
b8e3210
Compare
|
It's odd to have |
As specified by the PRM, we should raise an exception when a packet contains multiple writes to the same register. Lets introduce a bitmap at the CPUArchState, looking for writes to already written registers and properly generate an exception when needed. Also add a test case to tests/tcg/system. The added test shows a scenario in which multiple writes are performed to the same register but qemu fails to detect that and throw the appropriated exception. This happens because we are not cleaning hex_slot_cancelled as frequently as we should, so an old state is used and the packet that should raise an exception is considered as cancelled by the code that would detect the multiple writes issue. Let's fix that by cleaning hex_slot_canceled on all conditional instructions instead, which should cover all cases where the variable is used to detect multiple writes. Signed-off-by: Matheus Tavares Bernardino <quic_mathbern@quicinc.com>
We should raise an exception in the event that we encounter a packet that can't be correctly decoded, not fault. Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>
Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>
b8e3210 to
23b3879
Compare
Author
squashed, thanks for the suggestion. |
quic-mathbern
approved these changes
Feb 13, 2025
This file contains hidden or 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
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.
No description provided.