Hi, Ioannis
Sorry for late response. I am out of office these two days.
Thank you very much for sharing your problem here.
As Keven mentioned, could you please report your problem on phabricator first with more details? This will be very helpful for us to analyze the problem you mentioned.
1. Which cortex-m core? 2. TF-M changeset you are using and compiler version. 3. Please list all changes you did for TF-M while integrated to your project. 4. More information about the crash: * IPC mode, right? Which isolation level? * Detail sequences of actions between NS and S when crash. * Lzay FP enabled? Crash when FPCCR_NS.LSPACT = 1 or something else? * Which PSA calls causes the crash, or all PSA calls? * How about the occurrence of crash? Always crash or sometimes? * Which fault entered? Value of registers and stack frame in memory at crash time are very useful for analysis. * ……., Other information if possible.
The more information the better, please try to attached them in phabricator. Thank you.
Best Regards Feder
From: TF-M tf-m-bounces@lists.trustedfirmware.org On Behalf Of Glaropoulos, Ioannis via TF-M Sent: Thursday, April 22, 2021 3:24 PM To: Kevin Townsend (kevin.townsend@linaro.org) kevin.townsend@linaro.org; tf-m@lists.trustedfirmware.org Subject: Re: [TF-M] Supporting integrated Non-Secure RTOS applications that use the FPU
Hi Kevin, Thanks for the link to the presentation 😊
I guess, then, Feder Liang, as the author of the presentation, should be able to provide some feedback on the questions I raised?
Once more, I am stressing that our questions concern the usage of FPU in Non-Secure applications that integrate with TF-M today; it is not about future improvements for FPU support inside TF-M, which was (I guess) the main point of this presentation.
Best, Ioannis
From: Kevin Townsend <kevin.townsend@linaro.orgmailto:kevin.townsend@linaro.org> Sent: Wednesday, April 21, 2021 8:03 PM To: Glaropoulos, Ioannis <Ioannis.Glaropoulos@nordicsemi.nomailto:Ioannis.Glaropoulos@nordicsemi.no> Cc: tf-m@lists.trustedfirmware.orgmailto:tf-m@lists.trustedfirmware.org Subject: Re: [TF-M] Supporting integrated Non-Secure RTOS applications that use the FPU
On Wed, 21 Apr 2021 at 18:56, Glaropoulos, Ioannis via TF-M <tf-m@lists.trustedfirmware.orgmailto:tf-m@lists.trustedfirmware.org> wrote: I would like to ask the community whether these issues have been raised in the past – and if so, please, inform me what the conclusions have been. Are there current activities that attempt to address the problems raised above? Not been able to fully utilize the FP context stacking in Non-Secure Zephyr applications that integrate with TF-M removes value of our TF-M based solutions.
Thanks! I am looking forward to hearing the thoughts of the community.
Hi Ioannis,
The previous technical forum call did discuss FP usage ... I don't think you were on the call at the time, but the presentation and video can be viewed here, and should point to the people to follow up with here on the mailing list of on phabricator, etc.
Presentation: https://www.trustedfirmware.org/docs/FP-support-in-TF-M.pdfhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.trustedfirmware.org%2Fdocs%2FFP-support-in-TF-M.pdf&data=04%7C01%7CIoannis.Glaropoulos%40nordicsemi.no%7C81e9cabd5935427db16408d904efc744%7C28e5afa2bf6f419a8cf6b31c6e9e5e8d%7C0%7C0%7C637546250559599334%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=sT2OXyRh93HIyqmoc1dcvYhB%2Bzvs0hAnnkKb1ZeDEeY%3D&reserved=0
Video link(s) available here: https://www.trustedfirmware.org/meetings/tf-m-technical-forum/https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.trustedfirmware.org%2Fmeetings%2Ftf-m-technical-forum%2F&data=04%7C01%7CIoannis.Glaropoulos%40nordicsemi.no%7C81e9cabd5935427db16408d904efc744%7C28e5afa2bf6f419a8cf6b31c6e9e5e8d%7C0%7C0%7C637546250559609325%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=RgWDNXjPgTzgzT3rMvx7EUPMDUakFdTk1Tq4uTk2ZYw%3D&reserved=0
Best rehards, Kevin