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

Zephyr 1.8.0 #7

Merged
merged 25 commits into from Jul 20, 2023
Merged

Zephyr 1.8.0 #7

merged 25 commits into from Jul 20, 2023

Conversation

d3zd3z
Copy link
Collaborator

@d3zd3z d3zd3z commented Jul 12, 2023

Merge the upstream 1.8.0 tests.

adeaarm and others added 25 commits November 22, 2022 12:45
Add additional tests on reference signature and conversion from and to
encoded quantities to formats supported by our implementation of PSA
Crypto for signatures and public keys.

Signed-off-by: Antonio de Angelis <antonio.deangelis@arm.com>
Change-Id: I05e8450d37e1289c9f833dc64ea0865f101f0666
TF-M uses a fixed version of the qcbor library which is rarely
modified. For that reason, it is unnecessary to execute these tests as
part of the regression test suite. It would be enough to include them
in tests that run less frequently - such as a release test.

Change-Id: Id0e5472e34486bc2cb22b6d13e0ebebb94d6e439
Signed-off-by: David Vincze <david.vincze@arm.com>
Signed-off-by: Antonio de Angelis <antonio.deangelis@arm.com>
Change-Id: I07a0b0751c04098203934b7e1e41e3d5b20f03ae
The qcbor library's CMake file has been updated in TF-M.
Therefore, some modifications are needed here as well.
TF-M change-id: If2b6c27e89c163d6358492965e92104fc4ee8eae

Change-Id: Ie3c418521a802a8b158b7fc1195d5dc5aa7f1e69
Signed-off-by: David Vincze <david.vincze@arm.com>
Add parentheses and update code format to fix build warning:
"suggest parentheses around '+' in operand of '&'".

Signed-off-by: Xinyu Zhang <xinyu.zhang@arm.com>
Change-Id: Ic19125e6b8e98ffacfb83aac6b0589182665ac6d
config_impl.cmake collects some SPM specific config flags. Those config
flags are transparent to NS developers.
Remove NS dependency on those config flags to simplify NS integration
with TF-M.

Signed-off-by: David Hu <david.hu@arm.com>
Change-Id: I39f53284dbf34a42e0ea745fdcd73f493807988d
Change-Id: I4b33600ca6ccdaff60994a498123107054eaa62e
Signed-off-by: Kevin Peng <kevin.peng@arm.com>
Those config options are changed to normal variables and by default
they are disabled.
So their cache settings should be removed.

Change-Id: I3807304acb42f7dfe7dd77cec85ad59f33ebf72c
Signed-off-by: Kevin Peng <kevin.peng@arm.com>
Signed-off-by: Sherry Zhang <sherry.zhang2@arm.com>
Change-Id: I632140e1ac33da468d1e89601803b96744070c52
This patch moves implementation of tfm_ns_interface_dispatch to TF-M
repo. This is needed to simplify TF-M integration with NS application.
For more details refer to
"Default implementation of tfm_ns_interface_dispatch()" mailing thread:
https://lists.trustedfirmware.org/archives/list/tf-m@lists.trustedfirmware.org/message/ZCBRUODVTBK26JGAZKKIJEQ62D3XIMSO/
and TF-M tech forum presentation
"Default implemeation of tsm_ns_interface_dispatch":
https://www.trustedfirmware.org/meetings/tf-m-technical-forum/

Following things are done:
 * tfm_ns_interface.c was moved from test repo to TF-M repo
   tfm_ns_interface_rtos.c file
 * required NS OS wrapper header files are moved from test to TFM repo
 * updated Cmake files and include paths to be aligned with new committed
   structure

Signed-off-by: Bohdan Hunko <Bohdan.Hunko@infineon.com>
Signed-off-by: Chris Brand <chris.brand@cypress.com>
Change-Id: I95e82bfe3ff8b485b4017c519e998620f7bcbeb2
Let regression test include config_tfm.h instead of
config_<component>.h. Aligned with TF-M changes of config header files.

Signed-off-by: David Hu <david.hu@arm.com>
Change-Id: Icfdd55d6a1d3b5d84420547a188340f9a0e19c2f
Add fetch eRPC remote library.
eRPC is integrated with tf-m tests.

Signed-off-by: Summer Qin <summer.qin@arm.com>
Change-Id: Iad79d5169e3345b52deb79ea2855c29453297db2
 - PSA Client API IDL file
 - Client and server init and API wrappers
 - Example client application

Signed-off-by: Kevin Peng <kevin.peng@arm.com>
Signed-off-by: Jamie Fox <jamie.fox@arm.com>
Signed-off-by: Summer Qin <summer.qin@arm.com>
Change-Id: If6180fd3e596c9daabd31262fb10ae0a1583bc9b
Add psa_hash_compute test case.

Signed-off-by: Summer Qin <summer.qin@arm.com>
Change-Id: I210a4799846b7a825ee994ae6e1ecce4baa04c30
Change-Id: Iaec2ccc317e1b17f5f12ceb8c7e04a8efa228d40
Signed-off-by: Kevin Peng <kevin.peng@arm.com>
Change-Id: I66a8d2a441042c40fb35a1a670aa57273133cf7b
Signed-off-by: Kevin Peng <kevin.peng@arm.com>
The connection-based APIs are now always implemented on NS client side
(eRPC Server).
It is not necessary to optionally build them because the config option
is set manually anyway.

This patch removes the optional build and makes them built always.
The grouping of the APIs are kept in case of future use.

Change-Id: I798894b3e8f97f0bff336e0db185ee744ca70f87
Signed-off-by: Kevin Peng <kevin.peng@arm.com>
This patch removes unnecessary header file inclusion of the IRQ test
suite.

Change-Id: I62e02cefac0de8ff0a17d9d4db26923595d8772f
Signed-off-by: Kevin Peng <kevin.peng@arm.com>
Change-Id: I8d7b137f319dc4b2f145de5ed9ae1eb0668579ea
Signed-off-by: Kevin Peng <kevin.peng@arm.com>
For energy efficiency, it is recommanded to use WFI for busy wait.

Signed-off-by: Xinyu Zhang <xinyu.zhang@arm.com>
Change-Id: Ia4c4c77300c7cfcb2aaba616a8b601f5e09a0b8b
This is because the Kconfig system will generate a NULL string
for PSA_API_TEST_TARGET by default, which is equal to "NOT DEFINED".

Change-Id: I3766cb4a08c9d9e9c6f262e3e2df842394e2f58b
Signed-off-by: Kevin Peng <kevin.peng@arm.com>
Change-Id: I33d8fc1ca7d91c126f17be0c7f49ddbebbbc4d93
Signed-off-by: Kevin Peng <kevin.peng@arm.com>
This fix applies for boards supporting encrypted image, and
initializing board with an encrypted image in secondary slot.

Change-Id: I2f802e22e6ed581a6cd0110e6ba5dccfc1f1092f
Signed-off-by: Michel Jaouen <michel.jaouen@st.com>
Trusted Firmware-M v1.8.0

Signed-off-by: David Brown <david.brown@linaro.org>
@joerchan
Copy link
Collaborator

This merge is against the TF-M 1.8.0 tag in the this test-repository, which makes sense.
However in the TF-M repository the TF-M 1.8.0 tag actually reference the 1.8.0 rc1 commit in the this repository.
The difference between these two tags are 2 commits.

I don't have any objections to this, but it is messy from ARMs side.
The two commits appear to be one doc update, and one BL2 test update for encrypted image, I don't think that affects nordics boards.

@d3zd3z d3zd3z merged commit a878426 into zephyrproject-rtos:master Jul 20, 2023
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.

None yet