-
Notifications
You must be signed in to change notification settings - Fork 3k
mbed-SPM updates #9823
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
mbed-SPM updates #9823
Conversation
@orenc17, thank you for your changes. |
Test run: SUCCESSSummary: 12 of 12 test jobs passed |
CI statred |
Last 3 commits were to align the PSA SPM tests to TF-M. Tested on Musca target. |
Todo list: |
@alzix Just to make sure, this todo list completion is blocking this PR? |
@@ -438,7 +438,9 @@ utest::v1::status_t case_teardown_handler(const Case *const source, const size_t | |||
|
|||
utest::v1::status_t test_setup(const size_t number_of_cases) | |||
{ | |||
#ifndef NO_GREENTEA |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is dependency, there's another PR adding this to test framework?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then should we drop this commit?
Rebased this PR after all the merge-fest that was done.. |
usb/mbed_lib.json
Outdated
@@ -0,0 +1,3 @@ | |||
{ | |||
"name": "usb" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
???
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is from #9874
#include "TARGET_MBED_SPM/psa_defs.h" | ||
#include "TARGET_MBED_SPM/COMPONENT_SPE/spm_server.h" | ||
#include "TARGET_MBED_SPM/COMPONENT_SPE/spm_panic.h" | ||
#else | ||
#error "Compiling psa service header on non-secure target is not allowed" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note that the error is misleading.
TARGET_MBED_SPM is applied to both secure and nonsecure targets
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe #error "Compiling psa service header on a PSA emulated target is not allowed"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i would phrase it as "expected"
@orenc17 What is still to do here? |
@alzix need to review again |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
we have registered followups tasks in our backlog.
This PR is required for 5.12, all the required changes will be introduced in followup PRs.
CI started |
started CI |
Test run: SUCCESSSummary: 13 of 13 test jobs passed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 notes:
- commits are very brief , it would be better to provide more details in some. For big PR's like this (101 files in 24 commits, more description needed. These are not small fixes). For instance "Update psa_wait() and client_id" why are we updating it and how? We need to get much better in describing changes. Please spend few minutes to provide details.
- all new files should have SPDX identifier (should be fixed via new PR)
@0xc0170 all the new files in this PR have SPDX identifier: |
Description
needs to come in after #9666
This PR is required for #9908 & #9910
Reviewed internally kfnta/mbed-os#91
Pull request type
Reviewers
@ARMmbed/mbed-os-psa
Release Notes