Page MenuHomePhabricator
Feed Advanced Search

Advanced Search

Feb 15 2019

zhengwang721 added a watcher for Trusted Firmware M: zhengwang721.
Feb 15 2019, 7:02 AM

Feb 14 2019

laurencelundblade added a comment to T251: Fix alignment issues in QCBOR lib.

To be most clear, this issue only arrises if QCBORDecode_SetMemPool() is called by the user of the CBOR decoder to configure the internal string allocator.

Feb 14 2019, 6:39 PM · Trusted Firmware M
tamasban triaged T251: Fix alignment issues in QCBOR lib as Normal priority.
Feb 14 2019, 5:09 PM · Trusted Firmware M
tamasban triaged T250: Rename useful_buf to set proper namespace as Normal priority.
Feb 14 2019, 4:58 PM · Trusted Firmware M
tamasban added a comment to T182: Replace attestation token encoding to CBOR/COSE.

Fix link issue, to not drop out symbols from archive:
https://review.trustedfirmware.org/#/c/trusted-firmware-m/+/636/

Feb 14 2019, 1:48 PM · Trusted Firmware M
adeaarm triaged T249: Add support for using Mbed TLS 2.16.0 as Low priority.
Feb 14 2019, 11:11 AM · Trusted Firmware M
kevin-peng-hao added a comment to T151: Remove unused platform dependencies from TF-M.

This task is addressed by the following commits:
https://review.trustedfirmware.org/#/c/trusted-firmware-m/+/632/
https://review.trustedfirmware.org/#/c/trusted-firmware-m/+/633/
https://review.trustedfirmware.org/#/c/trusted-firmware-m/+/634/

Feb 14 2019, 2:15 AM · Trusted Firmware M

Feb 13 2019

tamasban updated the task description for T248: Investigate the creation of attestation token at build time.
Feb 13 2019, 2:09 PM · Trusted Firmware M
tamasban triaged T248: Investigate the creation of attestation token at build time as Normal priority.
Feb 13 2019, 2:07 PM · Trusted Firmware M
tamasban added a comment to T182: Replace attestation token encoding to CBOR/COSE.

Porting COSE library to psa_crypto:
https://review.trustedfirmware.org/#/c/trusted-firmware-m/+/630/

Feb 13 2019, 8:47 AM · Trusted Firmware M
tamasban added a comment to T182: Replace attestation token encoding to CBOR/COSE.

COSE library integartion with TF-M build systems:
https://review.trustedfirmware.org/#/c/trusted-firmware-m/+/629/

Feb 13 2019, 8:46 AM · Trusted Firmware M
tamasban added a comment to T247: Fix boot data handling.

Related change:
https://review.trustedfirmware.org/#/c/trusted-firmware-m/+/603/

Feb 13 2019, 8:36 AM · Trusted Firmware M
tamasban triaged T247: Fix boot data handling as Normal priority.
Feb 13 2019, 8:36 AM · Trusted Firmware M

Feb 12 2019

KenLSoft added a comment to T216: psa_set_rhandle() during PSA_IPC_CONNECT.

Thanks Alex.
That's a quick fix for removing the blocker. After T244 is solved this patch maybe not relevant, the purpose is no affecting API user behaviour (no workarounds) even the connection handle allocation mechanism is changed. Since mechanism changing may not happen soon, let's apply this one first.

Feb 12 2019, 9:51 AM · Trusted Firmware M
mikisch81 added a comment to T216: psa_set_rhandle() during PSA_IPC_CONNECT.

I can verify that https://review.trustedfirmware.org/#/c/trusted-firmware-m/+/627/ works on our code.

Feb 12 2019, 9:38 AM · Trusted Firmware M
alzix added a comment to T216: psa_set_rhandle() during PSA_IPC_CONNECT.

the changes will solve current issue, but it is only a partial solution. Full solution depends on https://developer.trustedfirmware.org/T244
It seems the way connection handle is allocated needs to be reworked, thus the changes proposed in https://review.trustedfirmware.org/#/c/trusted-firmware-m/+/627/ will no longer be relevant.

Feb 12 2019, 9:03 AM · Trusted Firmware M
mikisch81 added a comment to T216: psa_set_rhandle() during PSA_IPC_CONNECT.

We will verify it on our Musca_a1 mbed-os porting work and update the results.

Feb 12 2019, 8:42 AM · Trusted Firmware M
edison-ai added a comment to T216: psa_set_rhandle() during PSA_IPC_CONNECT.

The patch link to support this function is here: https://review.trustedfirmware.org/#/c/trusted-firmware-m/+/627/

Feb 12 2019, 8:01 AM · Trusted Firmware M

Feb 11 2019

matetothpal added a comment to T226: Configure Isolation for partitions with SPM_PART_FLAG_IPC flag.

The issue is fixed in change https://review.trustedfirmware.org/#/c/trusted-firmware-m/+/611/

Feb 11 2019, 9:12 AM · Trusted Firmware M
matetothpal added a comment to T225: In case of more than one thread of the same priority, a running thread might not get scheduled.

The issue is fixed in change https://review.trustedfirmware.org/#/c/trusted-firmware-m/+/612/

Feb 11 2019, 9:09 AM · Trusted Firmware M

Feb 10 2019

adeaarm closed T231: Platform: Fix init parameters in the armclang linker scripts as Resolved.
Feb 10 2019, 9:51 PM · Trusted Firmware M
adeaarm added a comment to T239: NSPE lock cb isn't allocated.

In the case of integration with mbedOS in the NS side, I would expect the NS binary to provide its own implementation of the functionalities described in interface/include/tfm_ns_lock.h, instead of reusing the implementation that is available in interface/src/tfm_ns_lock_rtx.c, which is aimed specifically to CMSIS.

Feb 10 2019, 9:46 PM · Trusted Firmware M
orenc17 created T244: psa connect out of handles error handling.
Feb 10 2019, 6:09 PM · Trusted Firmware M
orenc17 added a comment to T239: NSPE lock cb isn't allocated.

From what we've seen mbed-os disables the "Automatic Dynamic Allocation"

Feb 10 2019, 6:02 PM · Trusted Firmware M

Feb 7 2019

ashutoshksingh added a comment to T242: Update contribution guide and maintainer list.

fixed by :
https://review.trustedfirmware.org/#/c/trusted-firmware-m/+/601/
https://review.trustedfirmware.org/#/c/trusted-firmware-m/+/602/

Feb 7 2019, 3:47 PM · Trusted Firmware M
ashutoshksingh created T242: Update contribution guide and maintainer list.
Feb 7 2019, 3:43 PM · Trusted Firmware M
gyuri-szing added a comment to T95: Support CMake response file to enable linking many objects.

As a workaround try to make the path shorter. I refer to the directory where the tf-m, the mbedtls and the CMSIS5 working copy is as "work root" hereafter.
For this on windows:

  • you can use the subst command map the work root to a drive letter.
  • use the mklink command to link (hard link or junction point) the work root into c:\
Feb 7 2019, 10:33 AM · Trusted Firmware M

Feb 6 2019

ademars added a watcher for Trusted Firmware M: ademars.
Feb 6 2019, 11:47 PM
adeaarm added a comment to T239: NSPE lock cb isn't allocated.

The current implementation is based on the mechanism provided by the CMSIS-RTOS2 layer as default, which is the "Automatic Dynamic Allocation"

Feb 6 2019, 5:17 PM · Trusted Firmware M
orenc17 updated the task description for T224: tfm_memory_check is inaccurate.
Feb 6 2019, 2:39 PM · Trusted Firmware M
mikisch81 created T241: tfm_psa_call_veneer() has wrong argument type for out_vecs .
Feb 6 2019, 2:28 PM · Trusted Firmware M
mikisch81 created T240: Level 1: Partition stack size is fixed instead of from manifest.
Feb 6 2019, 2:23 PM · Trusted Firmware M
orenc17 created T239: NSPE lock cb isn't allocated.
Feb 6 2019, 2:03 PM · Trusted Firmware M
orenc17 updated the task description for T224: tfm_memory_check is inaccurate.
Feb 6 2019, 1:56 PM · Trusted Firmware M

Feb 5 2019

tamasban triaged T237: Updated attestation service integration guide as Normal priority.
Feb 5 2019, 3:45 PM · Trusted Firmware M
adeaarm closed T213: Build: Add a build configuration to build the NS app with PSA API compliance tests as Resolved.
Feb 5 2019, 3:19 PM · Trusted Firmware M
jf549 closed T227: Docs: Move to Mbed TLS 2.7.9 as Resolved.
Feb 5 2019, 2:47 PM · Trusted Firmware M
wmnt added a project to T228: Update build system to support latest cmake version.: Trusted Firmware M.
Feb 5 2019, 2:07 PM · Trusted Firmware M
orenc17 created T236: tfm_spm_check_client_version relaxed policy checks opposite state.
Feb 5 2019, 2:00 PM · Trusted Firmware M
alzix created T235: IPC error handling.
Feb 5 2019, 9:22 AM · Trusted Firmware M
mikisch81 added a comment to T234: GCC/Release: Compiler optimizes tfm_core_ns_ipc_request() too much.

A workaround for us which fixed this issue was setting the descriptor struct volatile:

volatile struct tfm_sfn_req_s desc;
struct tfm_sfn_req_s *desc_ptr = &desc;
Feb 5 2019, 8:16 AM · Restricted Project
mikisch81 updated subscribers of T234: GCC/Release: Compiler optimizes tfm_core_ns_ipc_request() too much.
Feb 5 2019, 7:59 AM · Restricted Project
mikisch81 created T234: GCC/Release: Compiler optimizes tfm_core_ns_ipc_request() too much.
Feb 5 2019, 7:58 AM · Restricted Project

Feb 4 2019

mmorenobarm edited the content of Design.
Feb 4 2019, 4:45 PM · Trusted Firmware M
adeaarm claimed T213: Build: Add a build configuration to build the NS app with PSA API compliance tests.
Feb 4 2019, 3:12 PM · Trusted Firmware M
adeaarm assigned T227: Docs: Move to Mbed TLS 2.7.9 to jf549.
Feb 4 2019, 3:12 PM · Trusted Firmware M
adeaarm claimed T231: Platform: Fix init parameters in the armclang linker scripts.
Feb 4 2019, 3:11 PM · Trusted Firmware M
adeaarm added a comment to T231: Platform: Fix init parameters in the armclang linker scripts.

The change which fixes this issue is available here: https://review.trustedfirmware.org/c/trusted-firmware-m/+/593

Feb 4 2019, 2:16 PM · Trusted Firmware M
adeaarm created T231: Platform: Fix init parameters in the armclang linker scripts.
Feb 4 2019, 2:11 PM · Trusted Firmware M
mikisch81 updated subscribers of T224: tfm_memory_check is inaccurate.
Feb 4 2019, 7:14 AM · Trusted Firmware M

Feb 3 2019

mikisch81 created T230: Service handles are not cleared when freed.
Feb 3 2019, 3:34 PM · Trusted Firmware M

Feb 1 2019

jf549 closed T229: Use NS alias for QSPI regs on Musca-A as Resolved.
Feb 1 2019, 5:10 PM · Trusted Firmware M
jf549 added a comment to T229: Use NS alias for QSPI regs on Musca-A.

Patch for this task: https://review.trustedfirmware.org/c/trusted-firmware-m/+/591

Feb 1 2019, 5:01 PM · Trusted Firmware M
jf549 triaged T229: Use NS alias for QSPI regs on Musca-A as High priority.
Feb 1 2019, 4:35 PM · Trusted Firmware M
spoonix changed the visibility for T113: Full IPC implementation for PSA APIs..
Feb 1 2019, 3:49 PM · Trusted Firmware M
spoonix changed the visibility for Trusted Firmware M.
Feb 1 2019, 3:47 PM
gyuri-szing added a comment to T95: Support CMake response file to enable linking many objects.

Note: cmake release CMake 3.9.0-rc1 has an important bugfix for response file handling. Fixing this issue shall be done after build-system is updated to support latest cmake version. See T228.

Feb 1 2019, 11:03 AM · Trusted Firmware M
KenLSoft closed T113: Full IPC implementation for PSA APIs. as Resolved.
Feb 1 2019, 2:33 AM · Trusted Firmware M

Jan 31 2019

adeaarm added a comment to T227: Docs: Move to Mbed TLS 2.7.9.

The change related to this task is available here: https://review.trustedfirmware.org/c/trusted-firmware-m/+/588

Jan 31 2019, 9:35 PM · Trusted Firmware M
adeaarm added a project to T227: Docs: Move to Mbed TLS 2.7.9: Trusted Firmware M.
Jan 31 2019, 9:34 PM · Trusted Firmware M
matetothpal triaged T226: Configure Isolation for partitions with SPM_PART_FLAG_IPC flag as Normal priority.
Jan 31 2019, 2:30 PM · Trusted Firmware M
matetothpal triaged T225: In case of more than one thread of the same priority, a running thread might not get scheduled as Normal priority.
Jan 31 2019, 2:10 PM · Trusted Firmware M
jf549 closed T219: Boot: Add support for newer versions of Mbed TLS as Resolved.
Jan 31 2019, 1:18 PM · Trusted Firmware M
alzix added a comment to T216: psa_set_rhandle() during PSA_IPC_CONNECT.

I think we found temporary workaround on our side.
It is no longer a blocker for us, but still HP.
tnx

Jan 31 2019, 9:25 AM · Trusted Firmware M
matetothpal added a comment to T183: Build error: TF-M build fails for gcc version 6.3 for CoreTest configuration.

If a section is empty, and '.' is aligned in the section, the gcc linker returns a warning.

Jan 31 2019, 8:34 AM · Trusted Firmware M
alzix created T224: tfm_memory_check is inaccurate.
Jan 31 2019, 7:12 AM · Trusted Firmware M
KenLSoft added a comment to T216: psa_set_rhandle() during PSA_IPC_CONNECT.

Thanks for submitting. We will investigate it and try to find out a plan.

Jan 31 2019, 2:57 AM · Trusted Firmware M
KenLSoft changed the edit policy for T223: Linker script file alignment.
Jan 31 2019, 2:15 AM · Trusted Firmware M

Jan 30 2019

jf549 added a comment to T219: Boot: Add support for newer versions of Mbed TLS.

Patch for this task https://review.trustedfirmware.org/c/trusted-firmware-m/+/574

Jan 30 2019, 5:20 PM · Trusted Firmware M
jf549 triaged T219: Boot: Add support for newer versions of Mbed TLS as Normal priority.
Jan 30 2019, 4:42 PM · Trusted Firmware M
tamasban added a comment to T182: Replace attestation token encoding to CBOR/COSE.

QCBOR implementation:
https://review.trustedfirmware.org/#/c/trusted-firmware-m/+/454/

Jan 30 2019, 11:17 AM · Trusted Firmware M
tamasban added a comment to T182: Replace attestation token encoding to CBOR/COSE.

COSE implementation:
https://review.trustedfirmware.org/#/c/trusted-firmware-m/+/456/

Jan 30 2019, 11:16 AM · Trusted Firmware M
tamasban triaged T217: Decouple attestation from TF-M SPM as Normal priority.
Jan 30 2019, 11:14 AM · Trusted Firmware M
tamasban added a comment to T169: Add missing claims to attestation token.

Related changes:
https://review.trustedfirmware.org/#/c/trusted-firmware-m/+/562/
https://review.trustedfirmware.org/#/c/trusted-firmware-m/+/534/
https://review.trustedfirmware.org/#/c/trusted-firmware-m/+/533/

Jan 30 2019, 11:12 AM · Trusted Firmware M
tamasban added a comment to T169: Add missing claims to attestation token.

Handling of "No software component" case:
https://review.trustedfirmware.org/#/c/trusted-firmware-m/+/563/

Jan 30 2019, 11:02 AM · Trusted Firmware M
tamasban updated the task description for T169: Add missing claims to attestation token.
Jan 30 2019, 11:02 AM · Trusted Firmware M
alzix created T216: psa_set_rhandle() during PSA_IPC_CONNECT.
Jan 30 2019, 10:31 AM · Trusted Firmware M
adeaarm added a project to T213: Build: Add a build configuration to build the NS app with PSA API compliance tests: Trusted Firmware M.
Jan 30 2019, 10:00 AM · Trusted Firmware M

Jan 29 2019

alzix added a comment to T194: invec/outvec checks TOCTOU.

Miklos,
As always you are 100% right. I just wanted to provide simplistic example. Perhaps i've oversimplified :).
While you assumption is true for single core systems, it breaks on asymmetrical multi-core system where SPM is running on one core and NSPE on other.
TF-M is not supporting such a targets right now, but we are now working on a port for such a target.
I suggest to take this in to consideration while implementing new functionality.

Jan 29 2019, 8:59 AM · Trusted Firmware M
wmnt added a comment to T194: invec/outvec checks TOCTOU.

Please note that secure SVC is running on highest priority. Execution of this code cannot be pre-empted by either NSPE or any external secure interrupt. This is essentially a critical section.

Jan 29 2019, 8:53 AM · Trusted Firmware M
alzix added a comment to T194: invec/outvec checks TOCTOU.

the spec specifies that caller passes a pointer array of psa_invec. The array is allocated in caller memory, thus is modifiable by a caller at any time.
SPM must first copy each individual psa_invec to SPM own memory, and only then verify accessibility of each individual range.

Jan 29 2019, 8:50 AM · Trusted Firmware M
KenLSoft changed the edit policy for T206: Adjust buiding configurations for IPC mode.
Jan 29 2019, 8:41 AM · Trusted Firmware M
KenLSoft changed the edit policy for T205: Make IPC work on MUSCA_A.
Jan 29 2019, 8:37 AM · Trusted Firmware M
KenLSoft changed the edit policy for T204: Make IPC branch work on AN519.
Jan 29 2019, 8:34 AM · Trusted Firmware M
KenLSoft changed the edit policy for T203: Veneer implementation change for IPC client APIs.
Jan 29 2019, 6:12 AM · Trusted Firmware M
KenLSoft added a comment to T194: invec/outvec checks TOCTOU.

Hi Alex,
This line is for extracting NSPE invec/outvec from invec due to parameters number limitation. The anti-TOCTOU is added in line: 177 now working for secure partitions.

Jan 29 2019, 6:06 AM · Trusted Firmware M

Jan 28 2019

ashutoshksingh edited projects for T36: Implement S/NS secure boot in twin v7M , added: Trusted Firmware M; removed Restricted Project.
Jan 28 2019, 3:59 PM · Restricted Project
alzix added a comment to T194: invec/outvec checks TOCTOU.

from what i see invecs are not copied. Perhaps i'm looking at outdated sources? https://review.trustedfirmware.org/c/trusted-firmware-m/+/468/1/secure_fw/core/ipc/tfm_svcalls.c#131

in_vec = (psa_invec *)((psa_invec *)args[1])->base;
in_num = ((psa_invec *)args[1])->len;
out_vec = ((psa_outvec *)args[2])->base;
out_num = ((psa_outvec *)args[2])->len;
Jan 28 2019, 7:54 AM · Trusted Firmware M
alzix added a comment to T195: Message allocation enhancement.

Please note that newer version of PSA FF spec introduced a change to psa_get API especially to address this issue. psa_get now return an error code (it had void return value before and was not allowed to fail).
PSA_ERR_NOMSG is a special error code that can be returned from psa_get if you encounter resource allocation issue.
SP should then ignore current signal and retry later on.

Jan 28 2019, 7:51 AM · Trusted Firmware M
KenLSoft added a comment to T194: invec/outvec checks TOCTOU.

Thanks, Alexander, currently we copy into a local buffer and then moved to the message instead of moving to message directly due to message buffer allocation limitation (https://developer.trustedfirmware.org/T195)

Jan 28 2019, 2:04 AM · Trusted Firmware M
KenLSoft triaged T195: Message allocation enhancement as High priority.
Jan 28 2019, 2:03 AM · Trusted Firmware M

Jan 27 2019

alzix created T194: invec/outvec checks TOCTOU.
Jan 27 2019, 8:56 PM · Trusted Firmware M
alzix added a comment to T189: Identify the source of a given handle to know if it is malicious.

isolation level 3 assumes mutual distrust between secure partitions.
we need to save connection "owner" client ID and not only secure domain origin.

Jan 27 2019, 8:40 PM · Trusted Firmware M

Jan 25 2019

jf549 closed T191: Avoid a spurious compiler warning that causes build to fail with GCC and MinSizeRel build as Resolved.
Jan 25 2019, 3:27 PM · Trusted Firmware M
kevin-peng-hao triaged T192: Sync TF-M platform support with internal platform repos as Normal priority.
Jan 25 2019, 6:27 AM · Trusted Firmware M
kevin-peng-hao claimed T151: Remove unused platform dependencies from TF-M.
Jan 25 2019, 2:56 AM · Trusted Firmware M

Jan 24 2019

jf549 added a comment to T191: Avoid a spurious compiler warning that causes build to fail with GCC and MinSizeRel build.

Patch for this task https://review.trustedfirmware.org/c/trusted-firmware-m/+/544

Jan 24 2019, 1:37 PM · Trusted Firmware M
jf549 triaged T191: Avoid a spurious compiler warning that causes build to fail with GCC and MinSizeRel build as Normal priority.
Jan 24 2019, 1:36 PM · Trusted Firmware M
KenLSoft triaged T190: Change the design of using tfm_sfn_req_s in veneer as Normal priority.
Jan 24 2019, 7:32 AM · Trusted Firmware M
KenLSoft triaged T189: Identify the source of a given handle to know if it is malicious as Normal priority.
Jan 24 2019, 7:17 AM · Trusted Firmware M