Page MenuHomePhabricator

Trusted Firmware MUmbrella
ActivePublic

Recent Activity

Mon, Oct 11

SophieBartlett added a comment to T398: Initial support for IAR Embedded Workbench for Arm tool chain.

Wow, what a great post! I like it very much and cool that I recognized about 90% of them without hovering to see the Real DP-100 Exam Questions

Mon, Oct 11, 7:44 AM · Trusted Firmware M

Fri, Oct 8

KenLSoft closed T844: Code structure trivial updates tracking as Wontfix.
Fri, Oct 8, 12:57 AM · Trusted Firmware M
KenLSoft closed T190: Change the design of using tfm_sfn_req_s in veneer as Resolved.
Fri, Oct 8, 12:57 AM · Trusted Firmware M
KenLSoft closed T185: NSPE parameter checking of iovecs as Resolved.
Fri, Oct 8, 12:57 AM · Trusted Firmware M
KenLSoft closed T799: Update SPM DB assembling as Resolved.
Fri, Oct 8, 12:56 AM · Trusted Firmware M

Wed, Sep 29

KenLSoft created T968: [TF-M] Proposal to separate vendor components.
Wed, Sep 29, 1:35 AM · Trusted Firmware M

Sep 24 2021

KenLSoft triaged T967: Platform MMIO binding patches integration as Normal priority.
Sep 24 2021, 3:59 AM · Trusted Firmware M

Sep 23 2021

adeaarm closed T797: Migrate the Crypto service to use latest MbedTLS tag as Resolved.
Sep 23 2021, 11:32 AM · Trusted Firmware M
kevin-peng-hao added a comment to T966: NSC call broken on NSPE interrupt disabled.

The 1.4.x branch is only intended for security fixes.
https://developer.trustedfirmware.org/w/collaboration/tf_m_security_patch_release/

Sep 23 2021, 3:22 AM · Trusted Firmware M

Sep 22 2021

ccli8 added a comment to T966: NSC call broken on NSPE interrupt disabled.

Thanks for your check. Would you also backport the patch to TF-M 1.4?

Sep 22 2021, 12:50 AM · Trusted Firmware M

Sep 18 2021

kevin-peng-hao added a comment to T966: NSC call broken on NSPE interrupt disabled.

I think you're right.
The Secure PendSV is masked by NSPE, although it has the same priority value 0x80.
It has to have a lower value to preempt the NSPE, having an equal priority value does not work.

Sep 18 2021, 6:52 AM · Trusted Firmware M

Sep 17 2021

kevin-peng-hao claimed T966: NSC call broken on NSPE interrupt disabled.
Sep 17 2021, 9:45 AM · Trusted Firmware M
ccli8 created T966: NSC call broken on NSPE interrupt disabled.
Sep 17 2021, 1:44 AM · Trusted Firmware M

Sep 10 2021

adeaarm closed T419: Build: Review build default defines as Wontfix.
Sep 10 2021, 10:58 PM · Trusted Firmware M

Aug 6 2021

ccli8 created T957: Missing root-RSA-3072.pem in install directory.
Aug 6 2021, 9:02 AM · Trusted Firmware M
ccli8 created T956: TFM_SP_PS_TEST test broken with PS_NUM_ASSETS enlarged.
Aug 6 2021, 8:28 AM · Trusted Firmware M

Aug 3 2021

kevin-peng-hao added a comment to T910: Interactive tests fail to return to main thread after test has ran and sit in osRtxIdleThread() function.

If it's an RTX issue, then please contact RTX people. Thanks very much.

Aug 3 2021, 3:14 AM · Trusted Firmware M

Aug 1 2021

KenLSoft created T952: Image size overflow on Musca-B1 PSA Arch test suite debug build.
Aug 1 2021, 5:03 AM · Trusted Firmware M
KenLSoft added a comment to T909: 'psa-arch-tests' panic test result inconsistent between ARMCLANG and GNUARM.

This issue has been fixed by:
https://review.trustedfirmware.org/c/TF-M/trusted-firmware-m/+/10402

Aug 1 2021, 5:01 AM · Trusted Firmware M
KenLSoft closed T909: 'psa-arch-tests' panic test result inconsistent between ARMCLANG and GNUARM as Resolved.
Aug 1 2021, 5:01 AM · Trusted Firmware M

Jul 30 2021

stevew817 added a comment to T910: Interactive tests fail to return to main thread after test has ran and sit in osRtxIdleThread() function.

Ran into this as well when porting a new target and trying to get all constellations of test suites up and running. It seems to be an issue with how thread joins are handled during RtxThreadExit in RTX 5.5.0. Tracing the disassembly in the kernel makes me think there's some sort of optimisation bug in the precompiled libraries, since the idle thread is marked for running instead of the test thread (which was waiting on the join).

Jul 30 2021, 4:54 PM · Trusted Firmware M

Jul 28 2021

microbuilder closed T706: Add support for the lpcxpresso55s69-evk as Resolved.
Jul 28 2021, 10:48 AM · Trusted Firmware M

Jul 27 2021

KenLSoft closed T903: TFM IPC Regression test would fail if TEST_NS=ON and TEST_S=OFF as Resolved.
Jul 27 2021, 3:06 AM · Trusted Firmware M
KenLSoft added a comment to T903: TFM IPC Regression test would fail if TEST_NS=ON and TEST_S=OFF.

This issue has been fixed.

Jul 27 2021, 3:04 AM · Trusted Firmware M

Jul 12 2021

davidwang reassigned T910: Interactive tests fail to return to main thread after test has ran and sit in osRtxIdleThread() function from davidwang to xinyu-tfm.
Jul 12 2021, 2:58 AM · Trusted Firmware M

Jul 7 2021

adeaarm closed T929: Optimise SPM operations in Library mode as Resolved.
Jul 7 2021, 8:21 AM · Trusted Firmware M

Jun 8 2021

federliangarm closed T921: Supporting Non-Secure RTOS applications, integrated with Trusted Firmware-M, which want to use the FPU as Resolved.
Jun 8 2021, 3:24 AM · Trusted Firmware M
davidwang claimed T910: Interactive tests fail to return to main thread after test has ran and sit in osRtxIdleThread() function.
Jun 8 2021, 3:07 AM · Trusted Firmware M

Jun 7 2021

KenLSoft created an object: Development.
Jun 7 2021, 2:23 AM · Trusted Firmware M
KenLSoft deleted Design.
Jun 7 2021, 2:10 AM · Trusted Firmware M

Jun 4 2021

shebuk edited the content of TF-M Videos.
Jun 4 2021, 9:44 AM · Trusted Firmware M
KenLSoft edited the content of Design.
Jun 4 2021, 8:54 AM · Trusted Firmware M

Jun 3 2021

adeaarm added a comment to T929: Optimise SPM operations in Library mode.

Note that as part of this activity the following bug in the Qemu porting of the mps2-an521 board has been found and fixed with the following pull request:

Jun 3 2021, 6:32 PM · Trusted Firmware M
adeaarm added a comment to T929: Optimise SPM operations in Library mode.

Patches available here:

Jun 3 2021, 6:18 PM · Trusted Firmware M
adeaarm triaged T929: Optimise SPM operations in Library mode as Normal priority.
Jun 3 2021, 6:17 PM · Trusted Firmware M
ioannisg added a comment to T921: Supporting Non-Secure RTOS applications, integrated with Trusted Firmware-M, which want to use the FPU.

As you know, for secure and non-secure side are closely related in TF-M. In latest TF-M v1.3 release, FP support (in secure side either non-secure side) are not official announced, so the problem you reported is not a TF-M bug.

Jun 3 2021, 8:05 AM · Trusted Firmware M
matetothpal changed the edit policy for Non-Secure Interrupt Handling.
Jun 3 2021, 7:53 AM · Trusted Firmware M
federliangarm added a comment to T921: Supporting Non-Secure RTOS applications, integrated with Trusted Firmware-M, which want to use the FPU.

Thank you for letting us know the problem when you are using TF-M, this is helpful for all stakeholder of TF-M.

Jun 3 2021, 7:40 AM · Trusted Firmware M

Jun 1 2021

ioannisg added a comment to T921: Supporting Non-Secure RTOS applications, integrated with Trusted Firmware-M, which want to use the FPU.

Hi Feder,
Honestly, I've only faced this issue when doing some advance scheduling manipulations on the Non-Secure side (modifying LSPACT, FPCA, etc.), so not in mainline TF-M/RTOS use-cases. Please disregard it for now.

Jun 1 2021, 12:08 PM · Trusted Firmware M
federliangarm added a comment to T921: Supporting Non-Secure RTOS applications, integrated with Trusted Firmware-M, which want to use the FPU.

However, this is only a partial solution. That is because a Secure thread re-scheduling will clear the .FPCA flag, but leave the LSPACT set, meaning that a NS IRQ with FP instructions will trigger again an FP stacking. But this FP stacking will be done on the memory where FPCAR is pointing at, and FPCAR is only updated in exception entry, if .FPCA is set. As a result, it does not seem that you avoid a stack corruption.

Let me know if you've understood this argumentation, or you need more information.

Jun 1 2021, 1:35 AM · Trusted Firmware M

May 31 2021

ioannisg added a comment to T921: Supporting Non-Secure RTOS applications, integrated with Trusted Firmware-M, which want to use the FPU.

Any updates here, Feder?

May 31 2021, 9:15 AM · Trusted Firmware M

May 27 2021

ioannisg added a comment to T921: Supporting Non-Secure RTOS applications, integrated with Trusted Firmware-M, which want to use the FPU.

However, this is only a partial solution. That is because a Secure thread re-scheduling will clear the .FPCA flag, but leave the LSPACT set, meaning that a NS IRQ with FP instructions will trigger again an FP stacking. But this FP stacking will be done on the memory where FPCAR is pointing at, and FPCAR is only updated in exception entry, if .FPCA is set. As a result, it does not seem that you avoid a stack corruption.

May 27 2021, 8:06 AM · Trusted Firmware M
ioannisg added a comment to T921: Supporting Non-Secure RTOS applications, integrated with Trusted Firmware-M, which want to use the FPU.

Hi Feder, correct; setting CPACR_S solves the problem of Secure No-Coprocessor Usage Fault.

May 27 2021, 7:36 AM · Trusted Firmware M
federliangarm added a comment to T921: Supporting Non-Secure RTOS applications, integrated with Trusted Firmware-M, which want to use the FPU.

Please try to add code below just before setting NSACR in tfm_arch_config_extensions() and let me know the result. Thanks!

May 27 2021, 7:00 AM · Trusted Firmware M

May 26 2021

ioannisg added a comment to T921: Supporting Non-Secure RTOS applications, integrated with Trusted Firmware-M, which want to use the FPU.

Hi Feder,

May 26 2021, 10:42 AM · Trusted Firmware M
KenLSoft edited the content of Recyclebin.
May 26 2021, 8:36 AM · Trusted Firmware M
KenLSoft edited the content of Recyclebin.
May 26 2021, 8:36 AM · Trusted Firmware M
KenLSoft edited the content of Recyclebin.
May 26 2021, 8:35 AM · Trusted Firmware M
KenLSoft created an object: Recyclebin.
May 26 2021, 8:33 AM · Trusted Firmware M

May 24 2021

adilahbisar added a comment to T398: Initial support for IAR Embedded Workbench for Arm tool chain.

IAR Embedded Workbench for Arm is an integrated development work environment and the included IAR C/C++ Compiler generates the fastest performing, although there are tons of projects like CV Makers which are based on IAR.

May 24 2021, 9:48 AM · Trusted Firmware M