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

Revert "Use DUCT-TAPE to fix irq test" #354

Merged
merged 1 commit into from
Jul 19, 2024
Merged

Conversation

L0czek
Copy link
Collaborator

@L0czek L0czek commented Jul 18, 2024

This reverts commit 2e0f9ff.

It appears that some (maybe Islet) is not handling some IRQ properly. As a result this patch broke reading the attestation token even though the cca-rmm-acs tests were passing. It it most likely due to the fact that the test suite was a simple bare metal binary that doesn't utilize much of the emulated hardware. Reverting this patch doesn't remove any functionality. In the future, the IRQ handling should be investigated.

This reverts commit 2e0f9ff.

Signed-off-by: Michał Szaknis <[email protected]>
@L0czek L0czek force-pushed the dev/m.szaknis/revert_irq branch from 2d1be7a to 4eb14ff Compare July 18, 2024 16:42
@Havner
Copy link
Collaborator

Havner commented Jul 19, 2024

I've verified that the #350 is fixed with that commit. From my understanding reverting 2e0f9ff means that one of ACS tests will start to fail again, but it's of a less importance that being able to fetch the token and perform attestation.

@L0czek please make a note here what github issues is tracking this stuff.

@Havner Havner merged commit 7845c71 into main Jul 19, 2024
8 checks passed
@Havner Havner deleted the dev/m.szaknis/revert_irq branch July 19, 2024 10:33
@L0czek
Copy link
Collaborator Author

L0czek commented Jul 19, 2024

@L0czek please make a note here what github issues is tracking this stuff.

This issue is tracked in #352 at

The attestation irq exit test

The attestation_rec_exit_irq attempts to test whether reading the attestation token from rmm can be interrupted by an IRQ. Since, the IRQ is a lower level exception, it cannot interrupt the control flow of Islet. As a result, it needs to be actively checked during RSI handling. [...]

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