Page MenuHomePhabricator

Core: refactor error handling scenarios
Closed, ResolvedPublic

Description

Secure partition to partition calls are not permitted while TF-M is initializing.
Current implementation of TF-M Core doesn't enforce formal checks during runtime partition init for this particular scenario, resulting in an unexpected error scenario.
The aim of this change is to detect such condition during the partition init phase at runtime (i.e. calls to partition init functions) and to be able to mark this as an error and treat it with the appropriate error flow handling.

Event Timeline

wmnt triaged this task as Normal priority.Sep 19 2018, 2:53 PM
wmnt created this task.
wmnt added a comment.Sep 19 2018, 2:57 PM

https://review.trustedfirmware.org/#/c/191/ is a proposed resolution for this change.

wmnt claimed this task.Sep 19 2018, 8:27 PM
wmnt closed this task as Resolved.Sep 21 2018, 2:02 PM

Change submitted.